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
public class HundredIntegers { public static void main (String[] args) { for (int i = 1; i<=100; i++) { System.out.println(i); } } }
100integers
HundredIntegers.java
Java
epl
147
public class HundredIntegers { public static void main (String[] args) { for (int i = 1; i<=100; i++) { System.out.println(i); } } }
100integers
trunk/HundredIntegers.java
Java
epl
147
package Entity; public interface IOperatoerDTO { int getoprId(); void setoprId(int Id); String getoprNavn(); void setoprNavn(String Navn); String getini(); void setini(String In); String getcpr(); void setcpr(String cp); String getpassword(); void setpassword(String passwd); } ...
02324cdio-del1
https:/gezienajose@code.google.com/p/02324cdio-del1/COPY/Copy of Gruppe11CDIO1/src/Entity/IOperatoerDTO.java
Java
epl
325
package Entity; public class OperatoerDTO implements IOperatoerDTO { int oprId; String oprNavn; String ini; String cpr; String password; public OperatoerDTO() //Default Constructor { this.oprId = 0; this.oprNavn = ""; this.ini = ""; this.cpr = ""; this.password = ""; } ...
02324cdio-del1
https:/gezienajose@code.google.com/p/02324cdio-del1/COPY/Copy of Gruppe11CDIO1/src/Entity/OperatoerDTO.java
Java
epl
1,149
package Controller; import Entity.OperatoerDTO; /* public class ChangePassword implements IOperatoerDAO { OperatoerDTO opr = new OperatoerDTO(); public String passwordGenerator(String passwd){ return passwd; } public String opChangePasswd(int Id) { return null; } */
02324cdio-del1
https:/gezienajose@code.google.com/p/02324cdio-del1/COPY/Copy of Gruppe11CDIO1/src/Controller/ChangePassword.java
Java
epl
300
package Controller; import java.util.ArrayList; import Entity.OperatoerDTO; public class OperatoerDAO implements IOperatoerDAO{ OperatoerDTO opr = new OperatoerDTO(); private ArrayList<OperatoerDTO> oDTO = new ArrayList<OperatoerDTO>();; //added an arraylist of type OperatoerDTO public OperatoerDA...
02324cdio-del1
https:/gezienajose@code.google.com/p/02324cdio-del1/COPY/Copy of Gruppe11CDIO1/src/Controller/OperatoerDAO.java
Java
epl
682
package Controller; import java.util.regex.Matcher; import java.util.regex.Pattern; public class PasswordValidator{ private Pattern pattern; private Matcher matcher; private static String PASSWORD_PATTERN = "((?=.*\\d)(?=.*[a-z])(?=.*[A-Z])(?=.*[@#$%]).{6,20})"; public P...
02324cdio-del1
https:/gezienajose@code.google.com/p/02324cdio-del1/COPY/Copy of Gruppe11CDIO1/src/Controller/PasswordValidator.java
Java
epl
702
package Controller; import Entity.OperatoerDTO; /* public class LoginTjeck implements IOperatoerDAO { OperatoerDTO opr = new OperatoerDTO(); public int loginUser(String passwd, int id) { return 0; } }*/
02324cdio-del1
https:/gezienajose@code.google.com/p/02324cdio-del1/COPY/Copy of Gruppe11CDIO1/src/Controller/LoginTjeck.java
Java
epl
229
package Controller; import Entity.OperatoerDTO; /* public class Afvejning implements IOperatoerDAO { OperatoerDTO opr = new OperatoerDTO(); public double beregningNetto(double Tara, double Brutto) { return 0.0; } }*/
02324cdio-del1
https:/gezienajose@code.google.com/p/02324cdio-del1/COPY/Copy of Gruppe11CDIO1/src/Controller/Afvejning.java
Java
epl
243
package Controller; import Entity.OperatoerDTO; import java.util.ArrayList; public interface IOperatoerDAO { //int loginUser(String passwd, int id); OperatoerDTO getOperatoer(int oprId) throws DALException; ArrayList<OperatoerDTO> getOperatoerList() throws DALException; void createOperatoer(Operat...
02324cdio-del1
https:/gezienajose@code.google.com/p/02324cdio-del1/COPY/Copy of Gruppe11CDIO1/src/Controller/IOperatoerDAO.java
Java
epl
706
package Boundary; import Entity.OperatoerDTO; import Controller.IOperatoerDAO.DALException; import Controller.OperatoerDAO; import Controller.PasswordValidator; import java.util.Scanner; public class Graenseflade { OperatoerDTO opr = new OperatoerDTO(); OperatoerDAO dao = new OperatoerDAO(); Pass...
02324cdio-del1
https:/gezienajose@code.google.com/p/02324cdio-del1/COPY/Copy of Gruppe11CDIO1/src/Boundary/Graenseflade.java
Java
epl
3,119
import Boundary.Graenseflade; public class Main { public static void main(String[] args) { Graenseflade g = new Graenseflade(); } }
02324cdio-del1
https:/gezienajose@code.google.com/p/02324cdio-del1/COPY/Copy of Gruppe11CDIO1/src/Main.java
Java
epl
140
// Copyright 2012 Google Inc. All Rights Reserved. // // 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...
010pepe010-moog
low_pass_filter.js
JavaScript
asf20
5,777
// Copyright 2012 Google Inc. All Rights Reserved. // // 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...
010pepe010-moog
deps.js
JavaScript
asf20
2,201
// Copyright 2012 Google Inc. All Rights Reserved. // // 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...
010pepe010-moog
oscillator_interface.js
JavaScript
asf20
4,979
<!doctype html> <!-- // Copyright 2012 Google Inc. All Rights Reserved. // // 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 r...
010pepe010-moog
demo.html
HTML
asf20
2,825
// Copyright 2012 Google Inc. All Rights Reserved. // // 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...
010pepe010-moog
synthesizer.js
JavaScript
asf20
6,169
// Copyright 2012 Google Inc. All Rights Reserved. // // 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...
010pepe010-moog
envelope_generator.js
JavaScript
asf20
7,743
// Copyright 2012 Google Inc. All Rights Reserved. // // 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...
010pepe010-moog
compound_audio_node.js
JavaScript
asf20
1,421
// Copyright 2012 Google Inc. All Rights Reserved. // // 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...
010pepe010-moog
synthesizer_interface.js
JavaScript
asf20
3,037
// Copyright 2012 Google Inc. All Rights Reserved. // // 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...
010pepe010-moog
oscillator.js
JavaScript
asf20
15,905
// Copyright 2012 Google Inc. All Rights Reserved. // // 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...
010pepe010-moog
wide_band_pass_filter.js
JavaScript
asf20
2,965
// Copyright 2012 Google Inc. All Rights Reserved. // // 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...
010pepe010-moog
master_mixer_interface.js
JavaScript
asf20
1,129
// Copyright 2012 Google Inc. All Rights Reserved. // // 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...
010pepe010-moog
moog.js
JavaScript
asf20
3,633
// Copyright 2012 Google Inc. All Rights Reserved. // // 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...
010pepe010-moog
master_mixer.js
JavaScript
asf20
2,462
#include <iostream> using namespace std; int main() { int height; float eyesight; height = 175; eyesight = 0.8f; bool ok; ok = height >= 160 && height <=180 && eyesight >= 1.0f && eyesight <= 2.0f; cout << boolalpha; cout << ok << endl; return 0; }
103956-kirak-cpp
helloWorld/helloWorld/HelloWorld.cpp
C++
asf20
285
int main() { int a = 100; int b = 200; int c = 300; return 0; }
103956-kirak-cpp
test/test/test.cpp
C++
asf20
81
#include<iostream> using namespace std; void main() { int a[10], i; for(i=0; i<10; i++) a[i]=i+1; for(i=0; i<10; i++) cout << a[i] << " "; cout <<"\n"; }
103956-kirak-cpp
CLASS6_1/CLASS6_1/CLASS6.cpp
C++
asf20
210
if False: # set to True to insert test data store(store.product.id > 0).delete() store(store.category.id > 0).delete() if len(store(store.product.id > 0).select()) == 0: fantasy_id = store.category.insert(name='Fantasy', description='Fantasy books', small_image='testdata/hp1.jpg') hp1 = ...
0707tim-web2pestore
models/testdata.py
Python
gpl2
1,693
UNDEFINED = -1 if request.env.web2py_runtime_gae: # if running on Google App Engine store = DAL('gae') # connect to Google BigTable session.connect(request, response, db=store) # and store sessions and tickets there else: store = DAL("sqlite://store.db") store.define...
0707tim-web2pestore
models/store.py
Python
gpl2
6,730
# import re # delimiter to use between words in URL URL_DELIMITER = '-' def pretty_url(id, name): """Create pretty URL from record name and ID """ return '%s%s%d' % (' '.join(re.sub('[^\w ]+', '', name).split()).replace(' ', URL_DELIMITER), URL_DELIMITER, id) def pretty_id(url): """Extract id fr...
0707tim-web2pestore
models/globals.py
Python
gpl2
779
########################################################### ### make sure administrator is on localhost ############################################################ import os, socket, datetime,copy import gluon.contenttype import gluon.fileutils ### crytical --- make a copy of the environment global_env=copy.copy(glo...
0707tim-web2pestore
controllers/appadmin.py
Python
gpl2
7,872
if not session.cart: # instantiate new cart session.cart, session.balance = [], 0 session.google_merchant_id = mystore.google_merchant_id response.menu = [ ['Store Front', request.function == 'index', URL(r=request, f='index')], ['About Us', request.function == 'aboutus', URL(r=request, f='aboutus')]...
0707tim-web2pestore
controllers/default.py
Python
gpl2
5,948
########################################################### ### make sure administrator is on localhost ############################################################ import os from gluon.contenttype import contenttype from gluon.fileutils import check_credentials, listdir if not session.authorized and not request.func...
0707tim-web2pestore
controllers/manage.py
Python
gpl2
6,428
{{ def show(products, width=4, function='product'): }} <table> {{ for i, product in enumerate(products): }} {{ if i == 0: }} <tr> {{ elif i % width == 0: }} </tr> <tr> {{ pass }} <td style="text-align: center"> <a href="{{= URL(r=request, f=function, args=pret...
0707tim-web2pestore
views/catalog.html
HTML
gpl2
585
{{ extend 'layout.html' }} <h2>Login to the Administrative Interface</h2><br/> <form action="" method="post"> <table> <tr><td>Administrator Password:</td><td><input type="password" name="password"/></td></tr> <tr><td></td><td><input type="submit" value="login"/></td></tr> </table> </form>
0707tim-web2pestore
views/manage/login.html
HTML
gpl2
299
{{ extend 'layout.html' }} <h1>web2py Store Setup</h1> <h2>Instructions</h2> <ul> <li>Register with <a href="http://checkout.google.com">Google Checkout</a></li> <li>Google will assign you a "merchant id", insert it below</li> <li>web2py/store comes with some example products in the database. Access the <a href="/{{=re...
0707tim-web2pestore
views/manage/setup.html
HTML
gpl2
1,200
{{ extend 'layout.html' }} {{ import cgi }} <h1>Contact Us</h1> <h2>Address</h2> <p>{{= XML(cgi.escape(mystore.address).replace(', ','<br/>').replace('\n','</p><p>')) }}<br/> {{= A('directions',_href='http://maps.google.com/maps?f=q&hl=en&geocode=&time=&date=&ttype=&q=%s' % cgi.escape(mystore.address)) }}</p> <h2>F...
0707tim-web2pestore
views/default/contactus.html
HTML
gpl2
497
{{ extend 'layout.html' }} <h1>web2py Store Setup</h1> <h2>Instructions</h2> <ul> <li>Register with <a href="http://checkout.google.com">Google Checkout</a></li> <li>Google will assign you a "merchant id", insert it below</li> <li>web2py/store comes with some example products in the database. Access the <a...
0707tim-web2pestore
views/default/setup.html
HTML
gpl2
1,224
{{ extend 'layout.html' }} {{ include 'catalog.html' }} <h1>Checkout</h1> {{ if not order: }} <h2>No products in your shopping cart</h2> {{ else: }} <h2>Products in your shopping cart</h2> <table> <tr> <th>Product</th> <th>Total</th> </tr> {{ for i, (product_id, qty, total_price, product,...
0707tim-web2pestore
views/default/checkout.html
HTML
gpl2
2,421
{{ extend 'layout.html' }} {{ include 'catalog.html' }} <h1>{{= product.name }}</h1> <img src="{{= URL(r=request, f='show', args=(product.large_image if product.large_image else product.small_image)) }}" height="200px"/> {{= product_form }} <p>{{= XML(product.description) }}</p> {{ if product.allow_rating and pro...
0707tim-web2pestore
views/default/product.html
HTML
gpl2
1,378
{{ extend 'layout.html' }} {{ include 'catalog.html' }} <h2>Product Categories:</h2> {{ show(categories, function='category') }} <br/><br/> {{ if featured: }} <h1>Featured Products</h1> {{ show(featured) }} {{ pass }}
0707tim-web2pestore
views/default/index.html
HTML
gpl2
223
{{ extend 'layout.html' }} {{ include 'catalog.html' }} <h1>Products in {{= category_name }}</h1> {{ if featured or favourites: }} {{ show(featured) }} {{ show(favourites) }} {{ else: }} <h2>No products in category {{= category_name }}</h2> {{ pass }}
0707tim-web2pestore
views/default/category.html
HTML
gpl2
262
{{ extend 'layout.html' }} {{ import cgi }} <h1>About Us</h1> <h2>Our Store</h2> <p>{{= XML(cgi.escape(mystore.description).replace('\n', '</p><p>')) }}</p> <h2>Why Buy From Us?</h2> <p>{{= XML(cgi.escape(mystore.why_buy).replace('\n', '</p><p>')) }}</p> <h2>Return Policy</h2> <p>{{= XML(cgi.escape(mystore.retur...
0707tim-web2pestore
views/default/aboutus.html
HTML
gpl2
363
<html> <head> <title>Product Image</title> <script language='javascript'> var arrTemp=self.location.href.split("?"); var picUrl = (arrTemp.length>0)?arrTemp[1]:""; var NS = (navigator.appName=="Netscape")?true:false; function FitPic() { iWidth = (NS)?window.innerWidth:document.body.clien...
0707tim-web2pestore
views/default/popup.html
HTML
gpl2
829
<!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" xml:lang="en" lang="en"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <meta name="keywords" content="{{=response.keywords}}" /> <meta n...
0707tim-web2pestore
views/layout.html
HTML
gpl2
6,077
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js" type="text/javascript"></script> {{import os if os.path.exists(os.path.join(request.folder,'static','calendar.js')):}} <link rel="stylesheet" href="/{{=request.application}}/static/calendar.css" type="text/css" media="screen" title="core css fi...
0707tim-web2pestore
views/web2py_ajax.html
HTML
gpl2
2,230
{{extend 'layout.html'}} <script><!-- $(document).ready(function(){ $("table.sortable tbody tr").mouseover( function() { $(this).addClass("highlight"); }).mouseout( function() { $(this).removeClass("highlight"); }); $('table.sortable tbody tr:odd').addClass('odd'); $('table.sortable tbody tr:even').add...
0707tim-web2pestore
views/appadmin.html
HTML
gpl2
3,738
{{extend 'layout.html' }} <script src="/{{= request.application }}/static/sorttable.js"></script> <style> table.sortable thead { background-color:#eee; color:#666666; font-weight: bold; cursor: default; } </style> {{ try: }}{{= uplink }}{{ except: }}{{ pass }} <h1> {{ if request.function == 'state': }} ...
0707tim-web2pestore
views/manage.html
HTML
gpl2
4,184
{{ extend 'layout.html' }} {{= BEAUTIFY(response._vars) }}
0707tim-web2pestore
views/generic.html
HTML
gpl2
58
/* * Copyright (C) 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 law or agreed to ...
1006373c-hello
tesseract-android-tools/src/com/googlecode/tesseract/android/TessBaseAPI.java
Java
asf20
12,348
/* * Copyright (C) 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 law or agreed ...
1006373c-hello
tesseract-android-tools/src/com/googlecode/leptonica/android/Pix.java
Java
asf20
9,231
/* * Copyright (C) 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 law or agreed to ...
1006373c-hello
tesseract-android-tools/src/com/googlecode/leptonica/android/ReadFile.java
Java
asf20
6,967
/* * Copyright (C) 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 law or agreed ...
1006373c-hello
tesseract-android-tools/src/com/googlecode/leptonica/android/Box.java
Java
asf20
4,880
/* * Copyright (C) 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 law or agreed ...
1006373c-hello
tesseract-android-tools/src/com/googlecode/leptonica/android/Convert.java
Java
asf20
1,506
/* * Copyright (C) 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 law or agreed to ...
1006373c-hello
tesseract-android-tools/src/com/googlecode/leptonica/android/Pixa.java
Java
asf20
13,432
/* * Copyright (C) 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 law or agreed to ...
1006373c-hello
tesseract-android-tools/src/com/googlecode/leptonica/android/WriteFile.java
Java
asf20
7,145
/* * Copyright (C) 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 law or agreed ...
1006373c-hello
tesseract-android-tools/src/com/googlecode/leptonica/android/Binarize.java
Java
asf20
5,515
/* * Copyright (C) 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 law or agreed to ...
1006373c-hello
tesseract-android-tools/src/com/googlecode/leptonica/android/Rotate.java
Java
asf20
2,768
/* * Copyright (C) 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 law or agreed ...
1006373c-hello
tesseract-android-tools/src/com/googlecode/leptonica/android/Skew.java
Java
asf20
3,562
/* * Copyright (C) 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 law or agreed ...
1006373c-hello
tesseract-android-tools/src/com/googlecode/leptonica/android/AdaptiveMap.java
Java
asf20
4,135
/* * Copyright (C) 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 law or agreed ...
1006373c-hello
tesseract-android-tools/src/com/googlecode/leptonica/android/Enhance.java
Java
asf20
2,068
/* * Copyright (C) 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 law or agreed to ...
1006373c-hello
tesseract-android-tools/src/com/googlecode/leptonica/android/JpegIO.java
Java
asf20
2,862
/* * Copyright (C) 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 law or agreed ...
1006373c-hello
tesseract-android-tools/src/com/googlecode/leptonica/android/Constants.java
Java
asf20
5,352
/* * Copyright (C) 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 law or agreed ...
1006373c-hello
tesseract-android-tools/src/com/googlecode/leptonica/android/Scale.java
Java
asf20
4,131
/* * 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...
1006373c-hello
tesseract-android-tools/jni/com_googlecode_tesseract_android/common.h
C
asf20
1,263
/* * 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 law or agreed to...
1006373c-hello
tesseract-android-tools/jni/com_googlecode_tesseract_android/tessbaseapi.cpp
C++
asf20
9,909
LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) LOCAL_MODULE := libtess # tesseract (minus executable) BLACKLIST_SRC_FILES := \ %api/tesseractmain.cpp \ %viewer/svpaint.cpp TESSERACT_SRC_FILES := \ $(wildcard $(TESSERACT_PATH)/api/*.cpp) \ $(wildcard $(TESSERACT_PATH)/ccmain/*.cpp) \ $(wildcard $(TESS...
1006373c-hello
tesseract-android-tools/jni/com_googlecode_tesseract_android/Android.mk
Makefile
asf20
1,750
/* Copyright (C) 2007 Eric Blake * Permission to use, copy, modify, and distribute this software * is freely granted, provided that this notice is preserved. * * Modifications for Android written Jul 2009 by Alan Viverette */ /* FUNCTION <<fmemopen>>---open a stream around a fixed-length string INDEX fmemopen ...
1006373c-hello
tesseract-android-tools/jni/com_googlecode_leptonica_android/stdio/fmemopen.c
C
asf20
8,195
/* Copyright (C) 2007 Eric Blake * Permission to use, copy, modify, and distribute this software * is freely granted, provided that this notice is preserved. * * Modifications for Android written Jul 2009 by Alan Viverette */ /* FUNCTION <<open_memstream>>---open a write stream around an arbitrary-length string ...
1006373c-hello
tesseract-android-tools/jni/com_googlecode_leptonica_android/stdio/open_memstream.c
C
asf20
6,619
#ifndef LEPTONICA__STDIO_H #define LEPTONICA__STDIO_H #ifndef BUILD_HOST #include <stdio.h> #include <stdint.h> typedef struct cookie_io_functions_t { ssize_t (*read)(void *cookie, char *buf, size_t n); ssize_t (*write)(void *cookie, const char *buf, size_t n); int (*seek)(void *cookie, off_t *pos, int when...
1006373c-hello
tesseract-android-tools/jni/com_googlecode_leptonica_android/stdio/extrastdio.h
C
asf20
615
/* Copyright (C) 2007 Eric Blake * Permission to use, copy, modify, and distribute this software * is freely granted, provided that this notice is preserved. * * Modifications for Android written Jul 2009 by Alan Viverette */ /* FUNCTION <<fopencookie>>---open a stream with custom callbacks INDEX fopencookie A...
1006373c-hello
tesseract-android-tools/jni/com_googlecode_leptonica_android/stdio/fopencookie.c
C
asf20
5,247
/* * 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 law or agreed to...
1006373c-hello
tesseract-android-tools/jni/com_googlecode_leptonica_android/writefile.cpp
C++
asf20
6,498
/* * 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 law or agreed to...
1006373c-hello
tesseract-android-tools/jni/com_googlecode_leptonica_android/utilities.cpp
C++
asf20
6,787
/* * 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 law or agreed to...
1006373c-hello
tesseract-android-tools/jni/com_googlecode_leptonica_android/pixa.cpp
C++
asf20
7,478
/* * 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...
1006373c-hello
tesseract-android-tools/jni/com_googlecode_leptonica_android/config_auto.h
C
asf20
836
/* * 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...
1006373c-hello
tesseract-android-tools/jni/com_googlecode_leptonica_android/common.h
C
asf20
1,571
/* * 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 law or agreed to...
1006373c-hello
tesseract-android-tools/jni/com_googlecode_leptonica_android/readfile.cpp
C++
asf20
5,975
/* * 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 law or agreed to...
1006373c-hello
tesseract-android-tools/jni/com_googlecode_leptonica_android/box.cpp
C++
asf20
2,672
/* * 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 law or agreed to...
1006373c-hello
tesseract-android-tools/jni/com_googlecode_leptonica_android/pix.cpp
C++
asf20
7,886
LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) LOCAL_MODULE := liblept # leptonica (minus freetype) BLACKLIST_SRC_FILES := \ %endiantest.c \ %freetype.c \ %xtractprotos.c LEPTONICA_SRC_FILES := \ $(subst $(LOCAL_PATH)/,,$(wildcard $(LEPTONICA_PATH)/src/*.c)) LOCAL_SRC_FILES := \ $(filter-out $(BLACK...
1006373c-hello
tesseract-android-tools/jni/com_googlecode_leptonica_android/Android.mk
Makefile
asf20
924
/* * 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 law or agreed to...
1006373c-hello
tesseract-android-tools/jni/com_googlecode_leptonica_android/jni.cpp
C++
asf20
853
APP_STL := gnustl_static APP_ABI := armeabi armeabi-v7a x86 # mips has problems with gnustl_static APP_OPTIM := release APP_PLATFORM := android-8 APP_CPPFLAGS += -fexceptions -frtti
1006373c-hello
tesseract-android-tools/jni/Application.mk
Makefile
asf20
182
LOCAL_PATH := $(call my-dir) TESSERACT_PATH := $(LOCAL_PATH)/com_googlecode_tesseract_android/src LEPTONICA_PATH := $(LOCAL_PATH)/com_googlecode_leptonica_android/src # Just build the Android.mk files in the subdirs include $(call all-subdir-makefiles)
1006373c-hello
tesseract-android-tools/jni/Android.mk
Makefile
asf20
254
// Copyright (c) 2013 , Yang Bo All rights reserved. // // Author: Yang Bo (pop.atry@gmail.com) // // Use, modification and distribution are subject to the "New BSD License" // as listed at <url: http://www.opensource.org/licenses/bsd-license.php >. package com.dongxiguo.protobuf; import com.dongxiguo.utils.HaxelibRu...
118194141-test
hx/com/dongxiguo/protobuf/Run.hx
Haxe
bsd
1,655
// vim: fileencoding=utf-8 tabstop=4 shiftwidth=4 // Copyright (c) 2010 , NetEase.com,Inc. All rights reserved. // // Author: Yang Bo (pop.atry@gmail.com) // // Use, modification and distribution are subject to the "New BSD License" // as listed at <url: http://www.opensource.org/licenses/bsd-license.php >. package c...
118194141-test
compiler/com/netease/protocGenAs3/Main.java
Java
bsd
48,128
// Copyright (c) 2010 , NetEase.com,Inc. All rights reserved. // // Author: Yang Bo (pop.atry@gmail.com) // // Use, modification and distribution are subject to the "New BSD License" // as listed at <url: http://www.opensource.org/licenses/bsd-license.php >. package com.netease.protobuf.test { import google.protobuf....
118194141-test
test/com/netease/protobuf/test/TestAll.as
AngelScript
bsd
12,126
// Copyright (c) 2011 , Yang Bo All rights reserved. // // Author: Yang Bo (pop.atry@gmail.com) // // Use, modification and distribution are subject to the "New BSD License" // as listed at <url: http://www.opensource.org/licenses/bsd-license.php >. package com.netease.protobuf.test; class HaxeTest { static function...
118194141-test
test/com/netease/protobuf/test/HaxeTest.hx
Haxe
bsd
366
# Copyright (c) 2010 , NetEase.com,Inc. All rights reserved. # # Author: Yang Bo (pop.atry@gmail.com) # # Use, modification and distribution are subject to the "New BSD License" # as listed at <url: http://www.opensource.org/licenses/bsd-license.php >. include config.mk ifeq ($(OS), Windows_NT) PROTOC_GEN_AS3=dist\\pr...
118194141-test
Makefile
Makefile
bsd
6,458
// vim: tabstop=4 shiftwidth=4 // Copyright (c) 2011 , Yang Bo All rights reserved. // // Author: Yang Bo (pop.atry@gmail.com) // // Use, modification and distribution are subject to the "New BSD License" // as listed at <url: http://www.opensource.org/licenses/bsd-license.php >. package com.netease.protobuf { publi...
118194141-test
as3/com/netease/protobuf/Int64.as
ActionScript
bsd
2,950
// vim: tabstop=4 shiftwidth=4 // Copyright (c) 2010 , NetEase.com,Inc. All rights reserved. // // Author: Yang Bo (pop.atry@gmail.com) // // Use, modification and distribution are subject to the "New BSD License" // as listed at <url: http://www.opensource.org/licenses/bsd-license.php >. package com.netease.protobuf...
118194141-test
as3/com/netease/protobuf/WireType.as
ActionScript
bsd
537
// vim: tabstop=4 shiftwidth=4 // Copyright (c) 2011 , Yang Bo All rights reserved. // // Author: Yang Bo (pop.atry@gmail.com) // // Use, modification and distribution are subject to the "New BSD License" // as listed at <url: http://www.opensource.org/licenses/bsd-license.php >. package com.netease.protobuf { impo...
118194141-test
as3/com/netease/protobuf/TextFormat.as
ActionScript
bsd
22,609
// vim: tabstop=4 shiftwidth=4 // Copyright (c) 2010 , NetEase.com,Inc. All rights reserved. // // Author: Yang Bo (pop.atry@gmail.com) // // Use, modification and distribution are subject to the "New BSD License" // as listed at <url: http://www.opensource.org/licenses/bsd-license.php >. package com.netease.protobuf...
118194141-test
as3/com/netease/protobuf/SimpleWebRPC.as
ActionScript
bsd
1,855
// vim: tabstop=4 shiftwidth=4 // Copyright (c) 2011 , Yang Bo All rights reserved. // // Author: Yang Bo (pop.atry@gmail.com) // // Use, modification and distribution are subject to the "New BSD License" // as listed at <url: http://www.opensource.org/licenses/bsd-license.php >. package com.netease.protobuf { publi...
118194141-test
as3/com/netease/protobuf/UInt64.as
ActionScript
bsd
2,276
// vim: tabstop=4 shiftwidth=4 // Copyright (c) 2011 , Yang Bo All rights reserved. // // Author: Yang Bo (pop.atry@gmail.com) // // Use, modification and distribution are subject to the "New BSD License" // as listed at <url: http://www.opensource.org/licenses/bsd-license.php >. package com.netease.protobuf { publi...
118194141-test
as3/com/netease/protobuf/Binary64.as
AngelScript
bsd
1,765
// vim: tabstop=4 shiftwidth=4 // Copyright (c) 2011 , Yang Bo All rights reserved. // // Author: Yang Bo (pop.atry@gmail.com) // // Use, modification and distribution are subject to the "New BSD License" // as listed at <url: http://www.opensource.org/licenses/bsd-license.php >. package com.netease.protobuf.fieldDes...
118194141-test
as3/com/netease/protobuf/fieldDescriptors/FieldDescriptor$TYPE_FIXED64.as
ActionScript
bsd
973
// vim: tabstop=4 shiftwidth=4 // Copyright (c) 2011 , Yang Bo All rights reserved. // // Author: Yang Bo (pop.atry@gmail.com) // // Use, modification and distribution are subject to the "New BSD License" // as listed at <url: http://www.opensource.org/licenses/bsd-license.php >. package com.netease.protobuf.fieldDes...
118194141-test
as3/com/netease/protobuf/fieldDescriptors/RepeatedFieldDescriptor$TYPE_FIXED64.as
ActionScript
bsd
1,163
// vim: tabstop=4 shiftwidth=4 // Copyright (c) 2011 , Yang Bo All rights reserved. // // Author: Yang Bo (pop.atry@gmail.com) // // Use, modification and distribution are subject to the "New BSD License" // as listed at <url: http://www.opensource.org/licenses/bsd-license.php >. package com.netease.protobuf.fieldDes...
118194141-test
as3/com/netease/protobuf/fieldDescriptors/FieldDescriptor$TYPE_SFIXED64.as
ActionScript
bsd
977
// vim: tabstop=4 shiftwidth=4 // Copyright (c) 2011 , Yang Bo All rights reserved. // // Author: Yang Bo (pop.atry@gmail.com) // // Use, modification and distribution are subject to the "New BSD License" // as listed at <url: http://www.opensource.org/licenses/bsd-license.php >. package com.netease.protobuf.fieldDes...
118194141-test
as3/com/netease/protobuf/fieldDescriptors/FieldDescriptor$TYPE_STRING.as
ActionScript
bsd
970
// vim: tabstop=4 shiftwidth=4 // Copyright (c) 2011 , Yang Bo All rights reserved. // // Author: Yang Bo (pop.atry@gmail.com) // // Use, modification and distribution are subject to the "New BSD License" // as listed at <url: http://www.opensource.org/licenses/bsd-license.php >. package com.netease.protobuf.fieldDes...
118194141-test
as3/com/netease/protobuf/fieldDescriptors/RepeatedFieldDescriptor$TYPE_FLOAT.as
ActionScript
bsd
1,156