I hereby claim:
- I am atharvavaidya on github.
- I am turingmachines (https://keybase.io/turingmachines) on keybase.
- I have a public key ASCABkBUMLdcE2UoKzkVcV-jIcuXIKrrOc1pOS_tzvn4YAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| class RingBuffer<T> | |
| { | |
| private(set) var array: [T?] | |
| private var readIndex = 0 | |
| private var writeIndex = 0 | |
| public var isFull: Bool | |
| { | |
| return array.compactMap({ $0 }).count == array.count |
| 1. While emitting SIL for 'getAllEventsUserIsAttending(firstTime:)' at /Users/atharvavaidya/Developer/Eventmate/Eventmate/View Controllers/Main Tabs/My Events/EMMyEventsTableVC.swift:129:5 | |
| 2. While silgen closureexpr SIL function "@_T09Eventmate17EMMyEventsTableVCC06getAllC15UserIsAttendingySb9firstTime_tFySo12DataSnapshotCcfU_". | |
| for expression at [/Users/atharvavaidya/Developer/Eventmate/Eventmate/View Controllers/Main Tabs/My Events/EMMyEventsTableVC.swift:134:117 - line:174:13] RangeText="{ (snapshot) in | |
| var eventObject = EMEvent(snapshot: snapshot) | |
| EMEvent.downloadImage(for: eventObject, completion: { (image) in | |
| eventObject.image = image ?? UIImage() | |
| if let index = self.model?.events?.index(of: eventObject) | |
| { | |
| self.model?.events?.remove(object: eventObject) |
| struct Fraction | |
| { | |
| var numerator: Int | |
| var denominator: Int | |
| init?(numerator: Int, denominator: Int) | |
| { | |
| if denominator == 0 { return nil } | |
| self.numerator = numerator | |
| self.denominator = denominator |
| import Foundation | |
| extension String | |
| { | |
| init(DescribingObject: Any) | |
| { | |
| self = String(describing: DescribingObject).replacingOccurrences(of: "<", with: "").replacingOccurrences(of: "<", with: "").components(separatedBy: ".").last!.components(separatedBy: ":").first! | |
| } | |
| } |
| https://drive.google.com/open?id=0B5gkX3e8uIqFV3FSVXkycnNkSlU |
| import java.util.*; | |
| import java.util.ArrayList; | |
| import java.util.Scanner; | |
| public class lb | |
| { | |
| public static void main(String[] args) { | |
| Scanner input = new Scanner(System.in); | |
| System.out.print("Enter input string: "); |
| // | |
| // lab5.cpp | |
| // CS171 | |
| // | |
| // Created by Atharva Vaidya on 2016-04-27. | |
| // Copyright © 2016 Atharva Vaidya. All rights reserved. | |
| // | |
| //Initial runtime: 1e-06 |
| // | |
| // main.cpp | |
| // Problem | |
| // | |
| // Created by Tarun Sudhams on 2016-03-10. | |
| // Copyright © 2016 Tarun Sudhams. All rights reserved. | |
| // | |
| #include <iostream> | |
| #include <cmath> |
| // Lab #8 | |
| // Created by Atharva Vaidya on 02/29/16. | |
| // Copyright © 2015 Atharva Vaidya. All rights reserved. | |
| #include <iostream> | |
| #include <iomanip> | |
| #include <cstdlib> | |
| #include <time.h> | |
| #include <cmath> |