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
package groupManagement; import java.util.HashMap; import java.util.HashSet; import java.util.Map; import java.util.Timer; import javax.jms.JMSException; import javax.jms.TopicSubscriber; import chat.LingvoChat; import topicHandlers.Control; import topicHandlers.Translate; public class ChatGroup { private Has...
046001-hw
trunk/HW2V3/src/groupManagement/ChatGroup.java
Java
gpl3
2,269
package groupManagement; import java.util.TimerTask; import chat.LingvoChat; public class AliveSender extends TimerTask{ private String userName; private String topicName; private String lang; public AliveSender(String group,String userName,String lang) { this.topicName = group+"-control"; this.userName=us...
046001-hw
trunk/HW2V3/src/groupManagement/AliveSender.java
Java
gpl3
512
package groupManagement; import java.util.HashMap; import java.util.HashSet; import java.util.Set; import java.util.Timer; public class User { private static HashMap<String, User> users=new HashMap<String, User>(); private String lang; private String name; private Set<ChatGroup> groups; private Timer timer; ...
046001-hw
trunk/HW2V3/src/groupManagement/User.java
Java
gpl3
2,446
package groupManagement; import java.util.TimerTask; //remove user if an I'm alive message was not received in 30 seconds. public class UserTimer extends TimerTask { private String userName; public UserTimer(String userName){ this.userName=userName; } @Override public void run() { User.removeUser(userName); ...
046001-hw
trunk/HW2V3/src/groupManagement/UserTimer.java
Java
gpl3
325
package Logging; import java.io.FileWriter; import java.io.IOException; import java.io.PrintWriter; import java.util.Arrays; import java.util.Date; import java.util.Map; /** * Monitor class which allows logging server information into * a file. This class is a singleton, the instance can be received by * calling t...
046001-hw
trunk/HW2V3/src/Logging/Monitor.java
Java
gpl3
3,659
package chat; import groupManagement.ChatGroup; import groupManagement.User; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.Arrays; import java.util.HashMap; import java.util.LinkedList; import java.util.Map; import javax.jms.JMSException; ...
046001-hw
trunk/HW2V3/src/chat/LingvoChat.java
Java
gpl3
9,914
package topicHandlers; import groupManagement.ChatGroup; import groupManagement.User; import java.util.TimerTask; import javax.jms.JMSException; import javax.jms.Message; import javax.jms.MessageListener; import javax.jms.TextMessage; import chat.LingvoChat; /** * This class is responsible for: *...
046001-hw
trunk/HW2V3/src/topicHandlers/Control.java
Java
gpl3
2,852
package topicHandlers; import javax.jms.JMSException; import javax.jms.Message; import javax.jms.MessageListener; import javax.jms.TextMessage; //WS is the translation web service import Logging.Monitor; import WS.GetResponse; import WS.Otms; import WS.OtmsSoap; import WS.Query; public class Translate im...
046001-hw
trunk/HW2V3/src/topicHandlers/Translate.java
Java
gpl3
2,688
/* * * Copyright 2002 Sun Microsystems, Inc. All Rights Reserved. * * Redistribution and use in source and binary forms, with or * without modification, are permitted provided that the following * conditions are met: * * - Redistributions of source code must retain the above copyright * notice, th...
046001-hw
trunk/https:/046001-hw.googlecode.com/svn/trunk/hw2/src/jms/pubsub/topic/SimpleTopicSubscriber.java
Java
gpl3
5,495
/* * * Copyright 2002 Sun Microsystems, Inc. All Rights Reserved. * * Redistribution and use in source and binary forms, with or * without modification, are permitted provided that the following * conditions are met: * * - Redistributions of source code must retain the above copyright * notice, th...
046001-hw
trunk/https:/046001-hw.googlecode.com/svn/trunk/hw2/src/jms/pubsub/topic/TextListener.java
Java
gpl3
2,919
/* * * Copyright 2002 Sun Microsystems, Inc. All Rights Reserved. * * Redistribution and use in source and binary forms, with or * without modification, are permitted provided that the following * conditions are met: * * - Redistributions of source code must retain the above copyright * notice, th...
046001-hw
trunk/https:/046001-hw.googlecode.com/svn/trunk/hw2/src/jms/pubsub/topic/SimpleTopicPublisher.java
Java
gpl3
5,664
package listeners; import java.util.TimerTask; import javax.jms.Message; import javax.jms.MessageListener; /** * This class is responsible for: * <ol> * <li>adding the user to a group: * <ol> * <li>If we are in the margin of 30 seconds we try to add if not exists * to personsInGroup and u...
046001-hw
trunk/HW2/src/listeners/Control.java
Java
gpl3
845
package listeners; import javax.jms.JMSException; import javax.jms.Message; import javax.jms.MessageListener; import javax.jms.TextMessage; //WS is the translation web service import WS.GetResponse; import WS.Otms; import WS.OtmsSoap; import WS.Query; // TODO get the message from onMessage and not from th...
046001-hw
trunk/HW2/src/listeners/Translate.java
Java
gpl3
2,715
package Logging; import java.io.FileWriter; import java.io.IOException; import java.io.PrintWriter; import java.util.Arrays; import java.util.Date; import java.util.Map; /** * Monitor class which allows logging server information into * a file. This class is a singleton, the instance can be received by * calling t...
046001-hw
trunk/HW2/src/Logging/Monitor.java
Java
gpl3
3,659
package chat; import java.util.Timer; public class chatUser { private String userName; // according to the exercise the username is unique private String lang; private Timer removeUser; chatUser(String name,String lang) { userName = name; this.lang = lang; } public String getName() { ...
046001-hw
trunk/HW2/src/chat/chatUser.java
Java
gpl3
562
package chat; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.Arrays; import java.util.Collection; import java.util.HashMap; import java.util.LinkedList; import java.util.Map; import java.util.Timer; import java.util.TimerTask; import javax.jm...
046001-hw
trunk/HW2/src/chat/LingvoChat.java
Java
gpl3
12,216
del *.obj del *.res del *.exe
12pol34-zxczxczxcz
audioextract/clean.bat
Batchfile
bsd
30
;----------------------------------------- ; ; Audio Extract Program, MBoo Project ; ;----------------------------------------- .386 .model flat, stdcall option casemap:none include windows.inc include masm32.inc includelib masm32.lib include kernel32.inc includelib kernel32.lib .data HelloWord BYTE 'hello, world!'...
12pol34-zxczxczxcz
audioextract/main.asm
Assembly
bsd
400
#ifndef RANDOM_H #define RANDOM_H #include <stdint.h> #define NUM_MAX 624 /* class Random { public: void getSeed(uint32_t); // virtual void getState(uint32_t *); // virtual uint32_t saveState(uint32_t *, uint32_t *); virtual uint32_t rand(); protected: uint32_t SEED; }; */ class Mersenne_Twister //: publi...
007drl
random.h
C++
gpl3
681
#include <fstream> #include <iostream> #include <sstream> #include <cstdlib> #include "bsp-generator.h" #include "map.h" Map::Map(Mersenne_Twister *mt, std::string filename) { RNG = mt; loadMap(filename); } Map::~Map() { MAP.clear(); } /* bool Map::isBlocked(Object *viewer, Object *viewed) { int dx, dy, absx, ab...
007drl
map.cpp
C++
gpl3
4,854
#include <iostream> #include <cstdlib> #include <cstring> #include <curses.h> #include "window.h" Curses_Window::Curses_Window(Map *map) { MAP = map; QUIT = false; // Initialize ncurses windows initscr(); keypad(stdscr, true); nonl(); cbreak(); noecho(); // Create the windows // GAME = newwin(50, 50, 1...
007drl
window.cpp
C++
gpl3
4,261
#ifndef MAP_H #define MAP_H #include <string> #include <vector> #include "double-linked-list.h" #include "object.h" #include "random.h" class Map { public: Map(Mersenne_Twister *, /*Double_Linked_List *,*/ std::string); ~Map(); // bool isBlocked(Object *, Object *); bool isBlocked(int, int); bool isEmpty(int, in...
007drl
map.h
C++
gpl3
672
#ifndef DOUBLE_LINKED_LIST #define DOUBLE_LINKED_LIST #include "object.h" class Node { public: Node(Object *, Node *, Node *); ~Node(); // Object *OBJECT; // Node *PREVIOUS; // Node *NEXT; Node *next(); Node *previous(); Object *object(); void setNext(Node *); private: Node *NEXT; Node *PREVIOUS; Object *OB...
007drl
double-linked-list.h
C++
gpl3
678
#include <iostream> #include <cstdlib> #include "bsp-generator.h" Room::Room(int xx1, int xx2, int yy1, int yy2) { x1 = xx1; x2 = xx2; y1 = yy1; y2 = yy2; // std::cout << x1 << " " << x2 << " " << y1 << " " << y2 << std::endl; } Tree_Node::Tree_Node(Tree_Node *myparent, int x1, int x2, int y1, int y2) { room =...
007drl
bsp-generator.cpp
C++
gpl3
9,609
#ifndef WINDOW_H #define WINDOW_H #include <string> #include "object.h" #include "map.h" /* class Window { public: // Window(); // ~Window(); virtual void display(Creature *); // virtual void print(std::string); virtual void processInput(Creature *); protected: Map *MAP; }; */ class Curses_Window //: public Windo...
007drl
window.h
C++
gpl3
572
#include "double-linked-list.h" Node::Node(Object *object, Node *previous, Node *next) { OBJECT = object; PREVIOUS = previous; NEXT = next; } Node::~Node() { if (PREVIOUS != NULL) PREVIOUS->NEXT = NEXT; if (NEXT != NULL) NEXT->PREVIOUS = PREVIOUS; // delete OBJECT; } Node *Node::next() { return NEXT; } N...
007drl
double-linked-list.cpp
C++
gpl3
2,454
#ifndef ASTAR_PATHFINDER_H #define ASTAR_PATHFINDER_H #include "double-linked-list.h" #include "map.h" class Astar_Pathfinder { public: Astar_Pathfinder(Map *, int, int, int, int); Double_Linked_List *getPath(); private: Map *MAP; Double_Linked_List *CAMEFROM; // the map of navigated nodes Double_Linked_List *...
007drl
astar-pathfinder.h
C++
gpl3
538
#ifndef OBJECT_H #define OBJECT_H #include <string> class Object { public: // Object(); // ~Object(); virtual bool isCreature();// {return false;} virtual bool isItem();// {return false;} virtual bool isTerrain();// {return false;} std::string name(); char symbol(); int x(); int y(); int z(); protected: ...
007drl
object.h
C++
gpl3
2,058
#ifndef BSP_GENERATOR_H #define BSP_GENERATOR_H #include <vector> #include "random.h" struct Room { Room(int, int, int, int); int x1; int x2; int y1; int y2; }; struct Tree_Node { Tree_Node(Tree_Node *, int, int, int, int); ~Tree_Node(); bool isLeaf(); bool vertical; bool hasldoor; bool hasrdoor; bool ha...
007drl
bsp-generator.h
C++
gpl3
1,132
#include <iostream> #include <curses.h> #include <ctime> #include "map.h" #include "object.h" #include "double-linked-list.h" #include "random.h" #include "window.h" using namespace std; #define STARTX 5 #define STARTY 11 #define STARTZ 0 /* void display(Creature *p, Map *m) { m->refresh(); m->set(p->x(),p->y(),p->...
007drl
main.cpp
C++
gpl3
4,336
#include "object.h" /* Object::Object() { 5+1; } Object::~Object() { 5+2; } */ bool Object::isCreature() { return false; } bool Object::isItem() { return false; } bool Object::isTerrain() { return false; } std::string Object::name() { return NAME; } char Object::symbol() { return SYM; } int Object::x() { ...
007drl
object.cpp
C++
gpl3
3,965
#include "random.h" /* void Random::getSeed(uint32_t seed) { SEED = seed; } */ Mersenne_Twister::Mersenne_Twister(uint32_t seed) { W = 32; N = 624; M = 397; R = 31; A = 0x9908b0df; U = 1;; S = 7; B = 0x9d2c5680; T = 15; C = 0xefc60000; L = 18; INDEX = 0; SEED = seed; initializeGenerator(); } // Initia...
007drl
random.cpp
C++
gpl3
1,200
#include <iostream> #include "astar-pathfinder.h" Astar_Pathfinder::Astar_Pathfinder(Map *map, int x1, int y1, int x2, int y2) { MAP = map; X1 = x1; X2 = x2; Y1 = y1; Y2 = y2; CAMEFROM = new Double_Linked_List(); CLOSED = new Double_Linked_List(); OPEN = new Double_Linked_List(); if (!generatePath()) CAM...
007drl
astar-pathfinder.cpp
C++
gpl3
4,360
import java.io.Serializable; //Stuff, that is common with server code class MessagesDescription { public final static int PLAYERS_NICKNAME = 1; public final static int LOGIN_SUCCESSFUL = 2; public final static int LOGIN_FAIL = 3; public final static int PLAYER_LEFT = 4; public final static int OUT_OF_GAME = 5; ...
12345client
src/TWebMessage.java
Java
asf20
1,872
public class Main { public static void main(String[] args) { new TInterface(); } }
12345client
src/Main.java
Java
asf20
92
import java.net.InetAddress; import java.net.UnknownHostException; import java.awt.event.*; import javax.swing.*; class TPlayer{ public JLabel nickname; public JLabel[] cards; TPlayer(TInterface p, int pos){ nickname = new JLabel(); p.add(nickname); nickname.setLocation(15, 40 + 110 * pos); nickname.setSi...
12345client
src/TInterface.java
Java
asf20
6,106
import java.io.IOException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.io.Serializable; import java.net.*; import java.util.concurrent.BlockingQueue; import java.util.concurrent.LinkedBlockingQueue; import java.util.concurrent.atomic.*; class TQuery{ public TWebMessage primary; ...
12345client
src/TClient.java
Java
asf20
3,011
<!doctype html> <!-- The DOCTYPE declaration above will set the --> <!-- browser's rendering engine into --> <!-- "Standards Mode". Replacing this declaration --> <!-- with a "Quirks Mode" doctype may lead to some --> <!-- differences in layout. --> <html> <head> ...
12345gfgh-123
src/main/resources/com/dpdearing/sandbox/gpsemulator/public/index.html
HTML
asf20
1,340
try { var pageTracker = _gat._getTracker("UA-18761191-1"); pageTracker._trackPageview(); } catch(err) {}
12345gfgh-123
src/main/resources/com/dpdearing/sandbox/gpsemulator/public/js/pagetracker.js
JavaScript
asf20
111
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
12345gfgh-123
src/main/resources/com/dpdearing/sandbox/gpsemulator/public/js/loadga.js
JavaScript
asf20
223
/** * Copyright (c) 2010 David Dearing */ package com.dpdearing.sandbox.gpsemulator.client; import com.dpdearing.sandbox.gpsemulator.common.LocationServiceAsync; import com.google.gwt.core.client.EntryPoint; import com.google.gwt.dom.client.Style.Unit; import com.google.gwt.event.dom.client.ChangeEvent; i...
12345gfgh-123
src/main/java/com/dpdearing/sandbox/gpsemulator/client/GpsEmulator.java
Java
asf20
7,952
/** * Copyright (c) 2010 David Dearing */ package com.dpdearing.sandbox.gpsemulator.server; import java.io.IOException; import com.dpdearing.sandbox.gpsemulator.common.LocationService; import com.google.gwt.user.server.rpc.RemoteServiceServlet; import de.mud.telnet.TelnetWrapper; /** * The server ...
12345gfgh-123
src/main/java/com/dpdearing/sandbox/gpsemulator/server/LocationServiceImpl.java
Java
asf20
1,231
/** * Copyright (c) 2010 David Dearing */ package com.dpdearing.sandbox.gpsemulator.common; import java.io.IOException; import com.google.gwt.user.client.rpc.RemoteService; import com.google.gwt.user.client.rpc.RemoteServiceRelativePath; /** * The client side stub for the RPC service. */ @RemoteSe...
12345gfgh-123
src/main/java/com/dpdearing/sandbox/gpsemulator/common/LocationService.java
Java
asf20
853
/* * 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 w...
115hhj-111
MyTracksTest/src/com/google/android/apps/mytracks/services/DefaultTrackNameFactoryTest.java
Java
asf20
2,045
/* * 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 i...
115hhj-111
MyTracksTest/src/com/google/android/apps/mytracks/services/StatusAnnouncerTaskTest.java
Java
asf20
16,613
/* * 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 w...
115hhj-111
MyTracksTest/src/com/google/android/apps/mytracks/services/StatusAnnouncerFactoryTest.java
Java
asf20
2,560
/* * 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 w...
115hhj-111
MyTracksTest/src/com/google/android/apps/mytracks/services/TrackRecordingServiceTest.java
Java
asf20
29,010
package com.google.android.apps.mytracks.services.sensors; import com.google.android.apps.mytracks.MyTracksSettings; import com.google.android.maps.mytracks.R; import android.content.SharedPreferences; import android.test.AndroidTestCase; import android.test.suitebuilder.annotation.SmallTest; public class SensorMana...
115hhj-111
MyTracksTest/src/com/google/android/apps/mytracks/services/sensors/SensorManagerFactoryTest.java
Java
asf20
1,631
/* * 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 in w...
115hhj-111
MyTracksTest/src/com/google/android/apps/mytracks/services/sensors/ant/AntStartupMessageTest.java
Java
asf20
949
/* * 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 in w...
115hhj-111
MyTracksTest/src/com/google/android/apps/mytracks/services/sensors/ant/AntChannelResponseMessageTest.java
Java
asf20
1,249
/* * 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 in w...
115hhj-111
MyTracksTest/src/com/google/android/apps/mytracks/services/sensors/ant/AntChannelIdMessageTest.java
Java
asf20
1,268
/* * 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 in w...
115hhj-111
MyTracksTest/src/com/google/android/apps/mytracks/services/sensors/ant/AntMessageTest.java
Java
asf20
1,039
package com.google.android.apps.mytracks.services.sensors; import com.google.android.apps.mytracks.content.Sensor; import junit.framework.TestCase; public class ZephyrMessageParserTest extends TestCase { ZephyrMessageParser parser = new ZephyrMessageParser(); public void testIsValid() { byte[] buf = new by...
115hhj-111
MyTracksTest/src/com/google/android/apps/mytracks/services/sensors/ZephyrMessageParserTest.java
Java
asf20
1,018
/* * 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 in w...
115hhj-111
MyTracksTest/src/com/google/android/apps/mytracks/services/sensors/AntSensorManagerTest.java
Java
asf20
2,391
/* * Copyright 2009 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 w...
115hhj-111
MyTracksTest/src/com/google/android/apps/mytracks/services/sensors/AntDirectSensorManagerTest.java
Java
asf20
3,058
/* * 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 i...
115hhj-111
MyTracksTest/src/com/google/android/apps/mytracks/content/WaypointCreationRequestTest.java
Java
asf20
2,005
/* * 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 i...
115hhj-111
MyTracksTest/src/com/google/android/apps/mytracks/content/MyTracksProviderUtilsImplTest.java
Java
asf20
6,171
// Copyright 2009 Google Inc. All Rights Reserved. package com.google.android.apps.mytracks.stats; import com.google.android.apps.mytracks.MyTracksConstants; import android.location.Location; import junit.framework.TestCase; /** * Test the the function of the TripStatisticsBuilder class. * * @author Sandor Dorn...
115hhj-111
MyTracksTest/src/com/google/android/apps/mytracks/stats/TripStatisticsBuilderTest.java
Java
asf20
6,901
/* * Copyright 2009 Google Inc. All Rights Reserved. */ package com.google.android.apps.mytracks.stats; import junit.framework.TestCase; /** * Test for the DoubleBuffer class. * * @author Sandor Dornbush */ public class DoubleBufferTest extends TestCase { /** * Tests that the constructor leaves the buffe...
115hhj-111
MyTracksTest/src/com/google/android/apps/mytracks/stats/DoubleBufferTest.java
Java
asf20
3,378
/** * Copyright 2009 Google Inc. All Rights Reserved. */ package com.google.android.apps.mytracks.stats; import junit.framework.TestCase; import java.util.Random; /** * This class test the ExtremityMonitor class. * * @author Sandor Dornbush */ public class ExtremityMonitorTest extends TestCase { public Extre...
115hhj-111
MyTracksTest/src/com/google/android/apps/mytracks/stats/ExtremityMonitorTest.java
Java
asf20
1,813
/* * 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 i...
115hhj-111
MyTracksTest/src/com/google/android/apps/mytracks/stats/TripStatisticsTest.java
Java
asf20
3,920
/* * 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 i...
115hhj-111
MyTracksTest/src/com/google/android/apps/mytracks/DialogManagerTest.java
Java
asf20
2,570
/* * 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 i...
115hhj-111
MyTracksTest/src/com/google/android/apps/mytracks/MyTracksTest.java
Java
asf20
9,188
/* * 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 w...
115hhj-111
MyTracksTest/src/com/google/android/apps/mytracks/MyTracksOverlayTest.java
Java
asf20
7,988
// Copyright 2010 Google Inc. All Rights Reserved. package com.google.android.apps.mytracks.testing; import com.google.android.apps.mytracks.content.MyTracksProviderUtils; import com.google.android.apps.mytracks.content.MyTracksProviderUtils.Factory; import android.content.Context; /** * A fake factory for {@link ...
115hhj-111
MyTracksTest/src/com/google/android/apps/mytracks/testing/TestingProviderUtilsFactory.java
Java
asf20
1,142
/* * 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 i...
115hhj-111
MyTracksTest/src/com/google/android/apps/mytracks/ChartValueSeriesTest.java
Java
asf20
4,553
/* * Copyright 2009 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 i...
115hhj-111
MyTracksTest/src/com/google/android/apps/mytracks/util/ChartURLGeneratorTest.java
Java
asf20
2,218
/* * 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 w...
115hhj-111
MyTracksTest/src/com/google/android/apps/mytracks/util/ApiFeaturesTest.java
Java
asf20
1,832
/* * 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 w...
115hhj-111
MyTracksTest/src/com/google/android/apps/mytracks/util/FileUtilsTest.java
Java
asf20
2,887
/* * 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 i...
115hhj-111
MyTracksTest/src/com/google/android/apps/mytracks/util/StringUtilsTest.java
Java
asf20
2,980
/* * 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 i...
115hhj-111
MyTracksTest/src/com/google/android/apps/mytracks/util/ChartsExtendedEncoderTest.java
Java
asf20
1,675
/* * 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 w...
115hhj-111
MyTracksTest/src/com/google/android/apps/mytracks/io/GpxImporterTest.java
Java
asf20
10,793
/* * 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 w...
115hhj-111
MyTracksTest/src/com/google/android/apps/mytracks/io/docs/DocsTagBuilderTest.java
Java
asf20
2,008
/* * 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 w...
115hhj-111
MyTracksTest/src/com/google/android/apps/mytracks/io/docs/DocsHelperTest.java
Java
asf20
3,613
/* * 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 w...
115hhj-111
MyTracksTest/src/com/google/android/apps/mytracks/io/docs/DocsHelper_AddTrackRowTest.java
Java
asf20
6,248
// Copyright 2010 Google Inc. All Rights Reserved. package com.google.android.apps.mytracks.io; import com.google.android.apps.mytracks.content.Track; import com.google.android.apps.mytracks.util.StringUtils; import android.location.Location; import org.w3c.dom.Document; import org.w3c.dom.Element; import java.util...
115hhj-111
MyTracksTest/src/com/google/android/apps/mytracks/io/KmlTrackWriterTest.java
Java
asf20
4,324
/* * 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 w...
115hhj-111
MyTracksTest/src/com/google/android/apps/mytracks/io/backup/DatabaseImporterTest.java
Java
asf20
9,493
/* * 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 w...
115hhj-111
MyTracksTest/src/com/google/android/apps/mytracks/io/backup/PreferenceBackupHelperTest.java
Java
asf20
5,643
/* * 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 w...
115hhj-111
MyTracksTest/src/com/google/android/apps/mytracks/io/backup/DatabaseDumperTest.java
Java
asf20
9,654
// Copyright 2010 Google Inc. All Rights Reserved. package com.google.android.apps.mytracks.io; import com.google.android.apps.mytracks.content.MyTracksLocation; import com.google.android.apps.mytracks.content.Sensor; import com.google.android.apps.mytracks.content.Track; import com.google.android.apps.mytracks.conten...
115hhj-111
MyTracksTest/src/com/google/android/apps/mytracks/io/TrackFormatWriterTest.java
Java
asf20
7,290
// Copyright 2010 Google Inc. All Rights Reserved. package com.google.android.apps.mytracks.io; import com.google.android.apps.mytracks.content.MyTracksLocation; import com.google.android.apps.mytracks.content.Sensor; import org.w3c.dom.Document; import org.w3c.dom.Element; import java.util.Date; import java.util.Li...
115hhj-111
MyTracksTest/src/com/google/android/apps/mytracks/io/TcxTrackWriterTest.java
Java
asf20
2,953
// Copyright 2010 Google Inc. All Rights Reserved. package com.google.android.apps.mytracks.io; import org.w3c.dom.Document; import org.w3c.dom.Element; import java.util.List; /** * Tests for the GPX track exporter. * * @author Rodrigo Damazio */ public class GpxTrackWriterTest extends TrackFormatWriterTest { ...
115hhj-111
MyTracksTest/src/com/google/android/apps/mytracks/io/GpxTrackWriterTest.java
Java
asf20
2,551
// Copyright 2010 Google Inc. All Rights Reserved. package com.google.android.apps.mytracks.io; /** * Tests for the CSV track exporter. * * @author Rodrigo Damazio */ public class CsvTrackWriterTest extends TrackFormatWriterTest { }
115hhj-111
MyTracksTest/src/com/google/android/apps/mytracks/io/CsvTrackWriterTest.java
Java
asf20
240
/* * 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 i...
115hhj-111
MyTracksTest/src/com/google/android/apps/mytracks/io/TempFileCleanerTest.java
Java
asf20
2,850
// Copyright 2010 Google Inc. All Rights Reserved. package com.google.android.apps.mytracks.io; import static org.easymock.EasyMock.expect; import com.google.android.apps.mytracks.content.MyTracksProvider; import com.google.android.apps.mytracks.content.MyTracksProviderUtils; import com.google.android.apps.mytracks....
115hhj-111
MyTracksTest/src/com/google/android/apps/mytracks/io/TrackWriterTest.java
Java
asf20
11,181
package com.dsi.ant.exception; public class AntInterfaceException extends Exception { /** * */ private static final long serialVersionUID = -7278855366167722274L; public AntInterfaceException() { this("Unknown ANT Interface error"); } public AntInterfaceException(String s...
115hhj-111
MyTracks/src/com/dsi/ant/exception/AntInterfaceException.java
Java
asf20
364
package com.dsi.ant.exception; import android.os.RemoteException; public class AntRemoteException extends AntInterfaceException { /** * */ private static final long serialVersionUID = 8950974759973459561L; public AntRemoteException(RemoteException e) { this("ANT Interface error, A...
115hhj-111
MyTracks/src/com/dsi/ant/exception/AntRemoteException.java
Java
asf20
519
package com.dsi.ant.exception; public class AntServiceNotConnectedException extends AntInterfaceException { /** * */ private static final long serialVersionUID = -2085081032170129309L; public AntServiceNotConnectedException() { this("ANT Interface error, ANT Radio Service not conne...
115hhj-111
MyTracks/src/com/dsi/ant/exception/AntServiceNotConnectedException.java
Java
asf20
435
/* * Copyright 2011 Dynastream Innovations 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 applicab...
115hhj-111
MyTracks/src/com/dsi/ant/Version.java
Java
asf20
1,193
/* * Copyright 2011 Dynastream Innovations 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 applicab...
115hhj-111
MyTracks/src/com/dsi/ant/IAnt_6.aidl
AIDL
asf20
3,249
/* * Copyright 2010 Dynastream Innovations 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 applicab...
115hhj-111
MyTracks/src/com/dsi/ant/AntDefine.java
Java
asf20
17,797
/* * Copyright 2010 Dynastream Innovations 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 applicab...
115hhj-111
MyTracks/src/com/dsi/ant/AntInterface.java
Java
asf20
37,012
/* * Copyright 2010 Dynastream Innovations 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 applicab...
115hhj-111
MyTracks/src/com/dsi/ant/IAnt.aidl
AIDL
asf20
3,017
/* * Copyright 2010 Dynastream Innovations 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 applica...
115hhj-111
MyTracks/src/com/dsi/ant/AntMesg.java
Java
asf20
16,889
/* * Copyright 2010 Dynastream Innovations 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 applicab...
115hhj-111
MyTracks/src/com/dsi/ant/AntInterfaceIntent.java
Java
asf20
1,521
/* * Copyright 2010 Dynastream Innovations 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 applicab...
115hhj-111
MyTracks/src/com/dsi/ant/IServiceSettings.aidl
AIDL
asf20
902
/* * Copyright 2009 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 i...
115hhj-111
MyTracks/src/com/google/android/apps/mytracks/MyTracksWaypointsList.java
Java
asf20
10,277
/* * Copyright 2008 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 w...
115hhj-111
MyTracks/src/com/google/android/apps/mytracks/MyTracksOverlay.java
Java
asf20
14,930
/* * Copyright 2009 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 w...
115hhj-111
MyTracks/src/com/google/android/apps/mytracks/ChartActivity.java
Java
asf20
21,280
/* * 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 i...
115hhj-111
MyTracks/src/com/google/android/apps/mytracks/MenuManager.java
Java
asf20
3,116