code
stringlengths
1
2.01M
repo_name
stringlengths
3
62
path
stringlengths
1
267
language
stringclasses
231 values
license
stringclasses
13 values
size
int64
1
2.01M
// Base32 implementation // // Copyright 2010 Google Inc. // Author: Markus Gutschke // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 ...
zy19820306-google-authenticator
libpam/base32.h
C
asf20
1,387
// Base32 implementation // // Copyright 2010 Google Inc. // Author: Markus Gutschke // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 ...
zy19820306-google-authenticator
libpam/base32.c
C
asf20
2,471
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <!-- TOTP Debugger -- -- Copyright 2011 Google Inc. -- Author: Markus Gutschke -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not us...
zy19820306-google-authenticator
libpam/totp.html
HTML
asf20
9,422
# Copyright 2010 Google Inc. # Author: Markus Gutschke # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable l...
zy19820306-google-authenticator
libpam/Makefile
Makefile
asf20
4,915
// HMAC_SHA1 implementation // // Copyright 2010 Google Inc. // Author: Markus Gutschke // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2...
zy19820306-google-authenticator
libpam/hmac.h
C
asf20
919
#!/usr/bin/env python import time t = time.time() u = time.gmtime(t) s = time.strftime('%a, %e %b %Y %T GMT', u) print 'Content-Type: text/javascript' print 'Cache-Control: no-cache' print 'Date: ' + s print 'Expires: ' + s print '' print 'var timeskew = new Date().getTime() - ' + str(t*1000) + ';'
zy19820306-google-authenticator
libpam/utc-time/utc-time.py
Python
asf20
300
// SHA1 header file // // Copyright 2010 Google Inc. // Author: Markus Gutschke // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // //...
zy19820306-google-authenticator
libpam/sha1.h
C
asf20
1,189
// HMAC_SHA1 implementation // // Copyright 2010 Google Inc. // Author: Markus Gutschke // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2...
zy19820306-google-authenticator
libpam/hmac.c
C
asf20
2,495
// Demo wrapper for the PAM module. This is part of the Google Authenticator // project. // // Copyright 2011 Google Inc. // Author: Markus Gutschke // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the L...
zy19820306-google-authenticator
libpam/demo.c
C
asf20
4,737
// PAM module for two-factor authentication. // // Copyright 2010 Google Inc. // Author: Markus Gutschke // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/l...
zy19820306-google-authenticator
libpam/pam_google_authenticator.c
C
asf20
48,385
// // OTPAuthAppDelegate.m // // Copyright 2011 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); you may not // use this file except in compliance with the License. You may obtain a copy // of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required ...
zy19820306-google-authenticator
mobile/ios/Classes/OTPAuthAppDelegate.m
Objective-C
asf20
14,280
// // OTPScannerOverlayView.m // // Copyright 2011 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); you may not // use this file except in compliance with the License. You may obtain a copy // of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requir...
zy19820306-google-authenticator
mobile/ios/Classes/OTPScannerOverlayView.m
Objective-C
asf20
4,248
// // OTPWelcomeViewController.h // // Copyright 2011 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); you may not // use this file except in compliance with the License. You may obtain a copy // of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless req...
zy19820306-google-authenticator
mobile/ios/Classes/OTPWelcomeViewController.h
Objective-C
asf20
801
// // OTPAuthURL.h // // Copyright 2011 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); you may not // use this file except in compliance with the License. You may obtain a copy // of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by appli...
zy19820306-google-authenticator
mobile/ios/Classes/OTPAuthURL.h
Objective-C
asf20
3,292
// // OTPTableView.m // // Copyright 2011 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); you may not // use this file except in compliance with the License. You may obtain a copy // of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by app...
zy19820306-google-authenticator
mobile/ios/Classes/OTPTableView.m
Objective-C
asf20
1,283
// // RootViewController.m // // Copyright 2011 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); you may not // use this file except in compliance with the License. You may obtain a copy // of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required ...
zy19820306-google-authenticator
mobile/ios/Classes/RootViewController.m
Objective-C
asf20
5,147
// // HOTPGenerator.m // // Copyright 2011 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); you may not // use this file except in compliance with the License. You may obtain a copy // of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by ap...
zy19820306-google-authenticator
mobile/ios/Classes/HOTPGenerator.m
Objective-C
asf20
1,304
// // OTPAuthBarClock.h // // Copyright 2011 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); you may not // use this file except in compliance with the License. You may obtain a copy // of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by ...
zy19820306-google-authenticator
mobile/ios/Classes/OTPAuthBarClock.h
Objective-C
asf20
780
// // OTPAuthApplication.m // // Copyright 2011 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); you may not // use this file except in compliance with the License. You may obtain a copy // of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required ...
zy19820306-google-authenticator
mobile/ios/Classes/OTPAuthApplication.m
Objective-C
asf20
872
// // OTPAuthURLEntryController.h // // Copyright 2011 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); you may not // use this file except in compliance with the License. You may obtain a copy // of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless re...
zy19820306-google-authenticator
mobile/ios/Classes/OTPAuthURLEntryController.h
Objective-C
asf20
2,068
// // OTPAuthAboutController.h // // Copyright 2011 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); you may not // use this file except in compliance with the License. You may obtain a copy // of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requi...
zy19820306-google-authenticator
mobile/ios/Classes/OTPAuthAboutController.h
Objective-C
asf20
781
// // TOTPGenerator.h // // Copyright 2011 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); you may not // use this file except in compliance with the License. You may obtain a copy // of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by ap...
zy19820306-google-authenticator
mobile/ios/Classes/TOTPGenerator.h
Objective-C
asf20
2,109
// // TOTPGenerator.m // // Copyright 2011 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); you may not // use this file except in compliance with the License. You may obtain a copy // of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by ap...
zy19820306-google-authenticator
mobile/ios/Classes/TOTPGenerator.m
Objective-C
asf20
1,783
// // OTPTableViewCell.m // // Copyright 2011 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); you may not // use this file except in compliance with the License. You may obtain a copy // of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by...
zy19820306-google-authenticator
mobile/ios/Classes/OTPTableViewCell.m
Objective-C
asf20
12,344
// // HOTPGenerator.h // // Copyright 2011 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); you may not // use this file except in compliance with the License. You may obtain a copy // of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by ap...
zy19820306-google-authenticator
mobile/ios/Classes/HOTPGenerator.h
Objective-C
asf20
994
// // OTPScannerOverlayView.h // // Copyright 2011 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); you may not // use this file except in compliance with the License. You may obtain a copy // of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requir...
zy19820306-google-authenticator
mobile/ios/Classes/OTPScannerOverlayView.h
Objective-C
asf20
707
// // OTPAuthBarClock.m // // Copyright 2011 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); you may not // use this file except in compliance with the License. You may obtain a copy // of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by ...
zy19820306-google-authenticator
mobile/ios/Classes/OTPAuthBarClock.m
Objective-C
asf20
4,887
// // OTPAuthURLEntryController.m // // Copyright 2011 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); you may not // use this file except in compliance with the License. You may obtain a copy // of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless re...
zy19820306-google-authenticator
mobile/ios/Classes/OTPAuthURLEntryController.m
Objective-C
asf20
17,957
// // OTPTableViewCell.h // // Copyright 2011 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); you may not // use this file except in compliance with the License. You may obtain a copy // of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by...
zy19820306-google-authenticator
mobile/ios/Classes/OTPTableViewCell.h
Objective-C
asf20
1,884
// // OTPTableView.h // // Copyright 2011 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); you may not // use this file except in compliance with the License. You may obtain a copy // of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by app...
zy19820306-google-authenticator
mobile/ios/Classes/OTPTableView.h
Objective-C
asf20
936
// // OTPAuthApplication.h // // Copyright 2011 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); you may not // use this file except in compliance with the License. You may obtain a copy // of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required ...
zy19820306-google-authenticator
mobile/ios/Classes/OTPAuthApplication.h
Objective-C
asf20
744
// // RootViewController.h // // Copyright 2011 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); you may not // use this file except in compliance with the License. You may obtain a copy // of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required ...
zy19820306-google-authenticator
mobile/ios/Classes/RootViewController.h
Objective-C
asf20
1,054
// // HOTPGeneratorTest.m // // Copyright 2011 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); you may not // use this file except in compliance with the License. You may obtain a copy // of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required b...
zy19820306-google-authenticator
mobile/ios/Classes/HOTPGeneratorTest.m
Objective-C
asf20
1,937
// // OTPAuthURL.m // // Copyright 2011 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); you may not // use this file except in compliance with the License. You may obtain a copy // of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by appli...
zy19820306-google-authenticator
mobile/ios/Classes/OTPAuthURL.m
Objective-C
asf20
20,247
// // OTPAuthAboutController.m // // Copyright 2011 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); you may not // use this file except in compliance with the License. You may obtain a copy // of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requi...
zy19820306-google-authenticator
mobile/ios/Classes/OTPAuthAboutController.m
Objective-C
asf20
7,712
// // OTPAuthURLTest.m // // Copyright 2011 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); you may not // use this file except in compliance with the License. You may obtain a copy // of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by a...
zy19820306-google-authenticator
mobile/ios/Classes/OTPAuthURLTest.m
Objective-C
asf20
8,408
// // OTPGenerator.h // // Copyright 2011 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); you may not // use this file except in compliance with the License. You may obtain a copy // of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by app...
zy19820306-google-authenticator
mobile/ios/Classes/OTPGenerator.h
Objective-C
asf20
2,794
// // HOTPGenerator.m // // Copyright 2011 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); you may not // use this file except in compliance with the License. You may obtain a copy // of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by ap...
zy19820306-google-authenticator
mobile/ios/Classes/OTPGenerator.m
Objective-C
asf20
4,302
// // OTPWelcomeViewController.m // // Copyright 2011 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); you may not // use this file except in compliance with the License. You may obtain a copy // of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless req...
zy19820306-google-authenticator
mobile/ios/Classes/OTPWelcomeViewController.m
Objective-C
asf20
1,722
// // UIColor+MobileColors.h // // Copyright 2011 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); you may not // use this file except in compliance with the License. You may obtain a copy // of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless require...
zy19820306-google-authenticator
mobile/ios/Classes/UIColor+MobileColors.h
Objective-C
asf20
1,219
// // OTPAuthAppDelegate.h // // Copyright 2011 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); you may not // use this file except in compliance with the License. You may obtain a copy // of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required ...
zy19820306-google-authenticator
mobile/ios/Classes/OTPAuthAppDelegate.h
Objective-C
asf20
1,546
// // TOTPGeneratorTest.m // // Copyright 2011 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); you may not // use this file except in compliance with the License. You may obtain a copy // of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required b...
zy19820306-google-authenticator
mobile/ios/Classes/TOTPGeneratorTest.m
Objective-C
asf20
2,480
// // UIColor+MobileColors.m // // Copyright 2011 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); you may not // use this file except in compliance with the License. You may obtain a copy // of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless require...
zy19820306-google-authenticator
mobile/ios/Classes/UIColor+MobileColors.m
Objective-C
asf20
4,313
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html><head> <meta content="text/html; charset=UTF-8" http-equiv="content-type"><title>Barcode Hints</title> <style type="text/css"> </style> <meta name="viewport" content="width=device-width; initial-scale=1.0"> </head> <body...
zy19820306-google-authenticator
mobile/ios/Resources/Hints.html
HTML
asf20
845
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Legal Notices</title> </head> <body> <p>Authenticator &copy; 2010 Google Inc.</p> <hr /> <p><a href="http://code.google.com/p/zxing/">ZXing</a...
zy19820306-google-authenticator
mobile/ios/Resources/English.lproj/LegalNotices.html
HTML
asf20
1,663
// // main.m // // Copyright 2011 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); you may not // use this file except in compliance with the License. You may obtain a copy // of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable ...
zy19820306-google-authenticator
mobile/ios/main.m
Objective-C
asf20
839
/*- * Copyright (c) 2000 - 2009 The Legion Of The Bouncy Castle (http://www.bouncycastle.org) * * Permission is hereby granted, free of charge, to any person obtaining a copy of this * software and associated documentation files (the "Software"), to deal in the Software * without restriction, including without li...
zy19820306-google-authenticator
mobile/blackberry/src/org/bouncycastle/crypto/params/KeyParameter.java
Java
asf20
1,704
/*- * Copyright (c) 2000 - 2009 The Legion Of The Bouncy Castle (http://www.bouncycastle.org) * * Permission is hereby granted, free of charge, to any person obtaining a copy of this * software and associated documentation files (the "Software"), to deal in the Software * without restriction, including without li...
zy19820306-google-authenticator
mobile/blackberry/src/org/bouncycastle/crypto/macs/HMac.java
Java
asf20
5,852
/*- * Copyright (c) 2000 - 2009 The Legion Of The Bouncy Castle (http://www.bouncycastle.org) * * Permission is hereby granted, free of charge, to any person obtaining a copy of this * software and associated documentation files (the "Software"), to deal in the Software * without restriction, including without li...
zy19820306-google-authenticator
mobile/blackberry/src/org/bouncycastle/crypto/digests/SHA1Digest.java
Java
asf20
8,093
/*- * Copyright (c) 2000 - 2009 The Legion Of The Bouncy Castle (http://www.bouncycastle.org) * * Permission is hereby granted, free of charge, to any person obtaining a copy of this * software and associated documentation files (the "Software"), to deal in the Software * without restriction, including without li...
zy19820306-google-authenticator
mobile/blackberry/src/org/bouncycastle/crypto/digests/GeneralDigest.java
Java
asf20
3,779
/*- * Copyright (c) 2000 - 2009 The Legion Of The Bouncy Castle (http://www.bouncycastle.org) * * Permission is hereby granted, free of charge, to any person obtaining a copy of this * software and associated documentation files (the "Software"), to deal in the Software * without restriction, including without li...
zy19820306-google-authenticator
mobile/blackberry/src/org/bouncycastle/crypto/util/Pack.java
Java
asf20
2,125
/*- * Copyright (c) 2000 - 2009 The Legion Of The Bouncy Castle (http://www.bouncycastle.org) * * Permission is hereby granted, free of charge, to any person obtaining a copy of this * software and associated documentation files (the "Software"), to deal in the Software * without restriction, including without li...
zy19820306-google-authenticator
mobile/blackberry/src/org/bouncycastle/crypto/CipherParameters.java
Java
asf20
1,289
/*- * Copyright (c) 2000 - 2009 The Legion Of The Bouncy Castle (http://www.bouncycastle.org) * * Permission is hereby granted, free of charge, to any person obtaining a copy of this * software and associated documentation files (the "Software"), to deal in the Software * without restriction, including without li...
zy19820306-google-authenticator
mobile/blackberry/src/org/bouncycastle/crypto/DataLengthException.java
Java
asf20
1,863
/*- * Copyright (c) 2000 - 2009 The Legion Of The Bouncy Castle (http://www.bouncycastle.org) * * Permission is hereby granted, free of charge, to any person obtaining a copy of this * software and associated documentation files (the "Software"), to deal in the Software * without restriction, including without li...
zy19820306-google-authenticator
mobile/blackberry/src/org/bouncycastle/crypto/ExtendedDigest.java
Java
asf20
1,484
/*- * Copyright (c) 2000 - 2009 The Legion Of The Bouncy Castle (http://www.bouncycastle.org) * * Permission is hereby granted, free of charge, to any person obtaining a copy of this * software and associated documentation files (the "Software"), to deal in the Software * without restriction, including without li...
zy19820306-google-authenticator
mobile/blackberry/src/org/bouncycastle/crypto/Digest.java
Java
asf20
2,507
/*- * Copyright (c) 2000 - 2009 The Legion Of The Bouncy Castle (http://www.bouncycastle.org) * * Permission is hereby granted, free of charge, to any person obtaining a copy of this * software and associated documentation files (the "Software"), to deal in the Software * without restriction, including without li...
zy19820306-google-authenticator
mobile/blackberry/src/org/bouncycastle/crypto/Mac.java
Java
asf20
3,432
/*- * Copyright (c) 2000 - 2009 The Legion Of The Bouncy Castle (http://www.bouncycastle.org) * * Permission is hereby granted, free of charge, to any person obtaining a copy of this * software and associated documentation files (the "Software"), to deal in the Software * without restriction, including without li...
zy19820306-google-authenticator
mobile/blackberry/src/org/bouncycastle/crypto/RuntimeCryptoException.java
Java
asf20
1,694
/*- * Copyright (C) 2007 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
zy19820306-google-authenticator
mobile/blackberry/src/com/google/authenticator/blackberry/Uri.java
Java
asf20
65,026
/*- * Copyright 2010 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in ...
zy19820306-google-authenticator
mobile/blackberry/src/com/google/authenticator/blackberry/EnterKeyScreen.java
Java
asf20
6,242
/*- * Copyright 2010 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in ...
zy19820306-google-authenticator
mobile/blackberry/src/com/google/authenticator/blackberry/Base32String.java
Java
asf20
5,286
/*- * Copyright 2010 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in ...
zy19820306-google-authenticator
mobile/blackberry/src/com/google/authenticator/blackberry/PinListFieldCallback.java
Java
asf20
3,531
/*- * Copyright 2010 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in ...
zy19820306-google-authenticator
mobile/blackberry/src/com/google/authenticator/blackberry/UriMenuItem.java
Java
asf20
1,862
/*- * Copyright 2010 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in ...
zy19820306-google-authenticator
mobile/blackberry/src/com/google/authenticator/blackberry/CheckCodeScreen.java
Java
asf20
4,683
/*- * Copyright 2010 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in ...
zy19820306-google-authenticator
mobile/blackberry/src/com/google/authenticator/blackberry/UpdateTask.java
Java
asf20
6,326
/*- * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); yo...
zy19820306-google-authenticator
mobile/blackberry/src/com/google/authenticator/blackberry/BufferedReader.java
Java
asf20
16,856
/*- * Copyright 2010 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in ...
zy19820306-google-authenticator
mobile/blackberry/src/com/google/authenticator/blackberry/FieldUtils.java
Java
asf20
2,080
/*- * Copyright 2010 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in ...
zy19820306-google-authenticator
mobile/blackberry/src/com/google/authenticator/blackberry/Base32Legacy.java
Java
asf20
1,332
/*- * Copyright 2010 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in ...
zy19820306-google-authenticator
mobile/blackberry/src/com/google/authenticator/blackberry/PinListField.java
Java
asf20
3,649
/*- * Copyright 2010 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in ...
zy19820306-google-authenticator
mobile/blackberry/src/com/google/authenticator/blackberry/UpdateCallback.java
Java
asf20
762
/*- * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); yo...
zy19820306-google-authenticator
mobile/blackberry/src/com/google/authenticator/blackberry/URLEncoder.java
Java
asf20
5,056
/*- * Copyright 2010 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in ...
zy19820306-google-authenticator
mobile/blackberry/src/com/google/authenticator/blackberry/AuthenticatorScreen.java
Java
asf20
13,776
/*- * Copyright 2010 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in ...
zy19820306-google-authenticator
mobile/blackberry/src/com/google/authenticator/blackberry/UriStringPattern.java
Java
asf20
2,389
/*- * Copyright 2010 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in ...
zy19820306-google-authenticator
mobile/blackberry/src/com/google/authenticator/blackberry/UriActiveFieldCookieFactory.java
Java
asf20
1,193
/*- * Copyright 2010 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in ...
zy19820306-google-authenticator
mobile/blackberry/src/com/google/authenticator/blackberry/AuthenticatorApplication.java
Java
asf20
2,498
/*- * Copyright 2010 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in ...
zy19820306-google-authenticator
mobile/blackberry/src/com/google/authenticator/blackberry/AccountDb.java
Java
asf20
7,490
/*- * Copyright 2010 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in ...
zy19820306-google-authenticator
mobile/blackberry/src/com/google/authenticator/blackberry/PasscodeGenerator.java
Java
asf20
7,549
/*- * Copyright 2010 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in ...
zy19820306-google-authenticator
mobile/blackberry/src/com/google/authenticator/blackberry/UriActiveFieldCookie.java
Java
asf20
1,351
using namespace System; enum class NType { GATE, PI, FB, PO, PPI, PPO }; enum class GType { IPT, BRCH, INVX1, INVX2, INVX4, INVX8, AND2X1, AND2X2, NAND2X1, NAND3X1, OR2X1, OR2X2, NOR2X1, NOR3X1, XOR2X1, XNOR2X1, AOI21X1, AOI22X1, OAI21X1, OAI22X1, DFFNEGX1, DFFPOSX1, DFFSR };...
zzspring2012logicsim
trunk/type.h
C++
gpl3
322
#include "Node.h" using namespace System; using namespace System::Collections; ref class Global { public: static array<Node^>^ nodeAll; static array<Node^>^ nodeInput; static array<Node^>^ nodeOutput; static Hashtable^ nodeFF; };
zzspring2012logicsim
trunk/global.h
C++
gpl3
249
#include "global.h" using namespace std; Node** nodeAll; Node** nodeInput; Node** nodeOutput; int allCount; int inputCount; int outputCount; int wireCount; int maxLevel; map<GType, string> gMap; map<NType, string> nMap; map<LType, string> lMap; map<KWord, string> kMap; thrust::host_vector<devNode>* gMatrix; thrust:...
zzspring2012logicsim
trunk/native/global.cpp
C++
gpl3
477
#include "cuda_runtime.h" #include "device_launch_parameters.h" #include <stdio.h> cudaError_t addWithCuda(int *c, const int *a, const int *b, size_t size); __global__ void addKernel(int *c, const int *a, const int *b) { int i = threadIdx.x; c[i] = a[i] + b[i]; } int main() { const int arr...
zzspring2012logicsim
trunk/native/kernel.cu
Cuda
gpl3
3,553
/* * File: devNode.cpp * Author: zhouzhao * * Created on December 25, 2011, 1:25 PM */ #include "devNode.h"
zzspring2012logicsim
trunk/native/devNode.cpp
C++
gpl3
119
#include "cuda.h" #include <thrust/host_vector.h> #include <thrust/device_vector.h> #include <thrust/copy.h> #include <fstream> #include <time.h> #include <iomanip> #include <queue> #include <assert.h> #include <stdlib.h> using namespace std; __global__ void initKernel(devNode** dev_ptr, int* matrix_d, int cycle, in...
zzspring2012logicsim
trunk/native/cuda.cu
Cuda
gpl3
17,857
#include <string> #include "node.h" Node::Node(int modIndex, int index, string name, NType type, int busIndex){ this->modIndex = modIndex; this->index = index; this->busIndex = busIndex; this->name = name; this->type = type; this->gate = NA; this->fanin = 0; this->fanout = 0; ...
zzspring2012logicsim
trunk/native/node.cpp
C++
gpl3
439
#include "vertex.h" vertex::vertex(void) { this->topLevel = -1; this->bottomLevel = -1; this->subckt = NULL; this->subptr = NULL; this->vptr = NULL; } vertex::~vertex(void) { }
zzspring2012logicsim
trunk/native/vertex.cpp
C++
gpl3
198
/* * File: type.h * Author: zhouzhao * * Created on December 21, 2011, 1:38 PM */ #ifndef TYPE_H #define TYPE_H enum NType { GATE, PI, FB, PO, PPI, PPO, DUMMY }; enum GType { IPT, BRCH, INVX1, INVX2, INVX4, INVX8, AND2X1, AND2X2, NAND2X1, NAND3X1, OR2X1, OR2X2, ...
zzspring2012logicsim
trunk/native/type.h
C
gpl3
816
#pragma once #include <thrust/host_vector.h> #include "node.h" #include "devNode.h" class vertex { public: vertex(void); ~vertex(void); thrust::host_vector<devNode>* subckt; vector<Node*>* subptr; int topLevel; int bottomLevel; Node* vptr; };
zzspring2012logicsim
trunk/native/vertex.h
C++
gpl3
273
#include "partition.h" using namespace std; //reset touch of nodes in partition void resetTouch(int topLevel, int bottomLevel){ for(int i = topLevel; i <= bottomLevel; i++){ for(unsigned int j = 0; j < ptrMatrix[i].size(); j++){ ptrMatrix[i][j]->touch = false; } } } vector<Node*>* ptrTransform(...
zzspring2012logicsim
trunk/native/partition.cpp
C++
gpl3
6,529
/* * File: global.h * Author: zhouzhao * * Created on December 21, 2011, 3:04 PM */ #ifndef GLOBAL_H #define GLOBAL_H #include <string> #include <vector> #include <map> #include <thrust/host_vector.h> #include <thrust/device_vector.h> #include "node.h" #include "devNode.h" #include "module.h" #include "vert...
zzspring2012logicsim
trunk/native/global.h
C++
gpl3
1,298
/* * File: devNode.cpp * Author: zhouzhao * * Created on December 25, 2011, 1:25 PM */ #include "devNode.h"
zzspring2012logicsim
trunk/native/devNode.cu
Cuda
gpl3
118
#include "global.h" using namespace std; Node** nodeAll; Node** nodeInput; Node** nodeOutput; int allCount; int inputCount; int outputCount; int wireCount; int maxLevel; map<GType, string> gMap; map<NType, string> nMap; map<LType, string> lMap; map<KWord, string> kMap; thrust::host_vector<devNode>* gMatrix; thrust:...
zzspring2012logicsim
trunk/native/global.cu
Cuda
gpl3
542
/* * File: module.h * Author: zhouzhao * * Created on December 28, 2011, 8:03 PM */ #ifndef MODULE_H #define MODULE_H #include <string> #include <vector> #include <map> #include "node.h" using namespace std; class module { public: module(); module(string name); module(const module& orig); v...
zzspring2012logicsim
trunk/native/module.h
C++
gpl3
754
/* * File: module.cpp * Author: zhouzhao * * Created on December 28, 2011, 8:03 PM */ #include "module.h" module::module() { } module::module(string name){ this->name = name; } module::module(const module& orig) { } module::~module() { }
zzspring2012logicsim
trunk/native/module.cpp
C++
gpl3
257
/* * File: node.h * Author: zhouzhao * * Created on December 21, 2011, 1:26 PM */ #ifndef NODE_H #define NODE_H #include <string> #include <vector> #include "type.h" using namespace std; class Node{ public: int modIndex; int index; int busIndex; NType type; string name; GType gate; ...
zzspring2012logicsim
trunk/native/node.h
C++
gpl3
605
/* * Copyright 1993-2010 NVIDIA Corporation. All rights reserved. * * NOTICE TO USER: * * This source code is subject to NVIDIA ownership rights under U.S. and * international Copyright laws. Users and possessors of this source code * are hereby granted a nonexclusive, royalty-free license to use this code * ...
zzspring2012logicsim
trunk/native/check.h
C
gpl3
2,327
#include "global.h" #include <queue> #include <vector> #include <iostream> #include <fstream> #include <assert.h> void partitionBuild(int level); void printPartition(); void printPartitionPtr();
zzspring2012logicsim
trunk/native/partition.h
C++
gpl3
208
/* * File: devNode.h * Author: zhouzhao * * Created on December 25, 2011, 1:25 PM */ #ifndef DEVNODE_H #define DEVNODE_H #include "type.h" class devNode { public: __device__ __host__ devNode(int modIndex, int index, NType type, GType gate, int faninNum){ this->modIndex = modIndex; this->index = index; ...
zzspring2012logicsim
trunk/native/devNode.h
C++
gpl3
2,265
#include "cuda.h" #include <thrust/host_vector.h> #include <thrust/device_vector.h> #include <thrust/copy.h> #include <fstream> #include <time.h> #include <iomanip> #include <queue> #include <assert.h> #include <stdlib.h> using namespace std; __global__ void initKernel(devNode** dev_ptr, int* matrix_d, int cycle, in...
zzspring2012logicsim
trunk/native/cuda.cpp
C++
gpl3
17,646
/* * File: cuda.h * Author: zhouzhao * * Created on December 25, 2011, 4:49 PM */ #ifndef CUDA_H #define CUDA_H #include "global.h" void transform(); void updateFanin(); void cudaLogicSim(); void cudaSimTest(int a, int b); void cudaVerify(); #endif /* CUDA_H */
zzspring2012logicsim
trunk/native/cuda.h
C
gpl3
275
/* * File: main.cpp * Author: zhouzhao * * Created on December 21, 2011, 10:48 AM */ #include <cstdlib> #include <stdio.h> #include <iostream> #include <vector> #include <queue> #include <fstream> #include <time.h> #include <iomanip> #include <algorithm> #include <boost/regex.hpp> #include <...
zzspring2012logicsim
trunk/native/main.cpp
C++
gpl3
81,164