Source stringclasses 1
value | Date int32 2.01k 2.01k | Text stringlengths 3 15.9M | Token_count int32 1 2.44M |
|---|---|---|---|
github-java-corpus | 2,012 | /*
* Copyright 2012 Friedrich Große, Paul Seiferth,
* Sebastian Starroske, Yannik Stein
*
* This file is part of MetaHeuristics4Java.
*
* MetaHeuristics4Java is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Fr... | 223 |
github-java-corpus | 2,012 | package de.mh4j.solver.termination;
import de.mh4j.solver.Solution;
import de.mh4j.solver.Solver;
public class StagnationTermination implements TerminationCondition {
private final Solver<? extends Solution<?>> solver;
private final int maxNrOfStagnatingSteps;
private int nrOfStagnatingSteps;
privat... | 269 |
github-java-corpus | 2,012 | /*
* Copyright 2012 Friedrich Große, Paul Seiferth,
* Sebastian Starroske, Yannik Stein
*
* This file is part of MetaHeuristics4Java.
*
* MetaHeuristics4Java is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Fr... | 226 |
github-java-corpus | 2,012 | /*
* Copyright 2012 Friedrich Große, Paul Seiferth,
* Sebastian Starroske, Yannik Stein
*
* This file is part of MetaHeuristics4Java.
*
* MetaHeuristics4Java is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Fr... | 305 |
github-java-corpus | 2,012 | /*
* Copyright 2012 Friedrich Große, Paul Seiferth,
* Sebastian Starroske, Yannik Stein
*
* This file is part of MetaHeuristics4Java.
*
* MetaHeuristics4Java is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Fr... | 477 |
github-java-corpus | 2,012 | /*
* Copyright 2012 Friedrich Große, Paul Seiferth,
* Sebastian Starroske, Yannik Stein
*
* This file is part of MetaHeuristics4Java.
*
* MetaHeuristics4Java is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Fr... | 352 |
github-java-corpus | 2,012 | /*
* Copyright 2012 Friedrich Große, Paul Seiferth,
* Sebastian Starroske, Yannik Stein
*
* This file is part of MetaHeuristics4Java.
*
* MetaHeuristics4Java is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Fr... | 231 |
github-java-corpus | 2,012 | /*
* Copyright 2012 Friedrich Große, Paul Seiferth,
* Sebastian Starroske, Yannik Stein
*
* This file is part of MetaHeuristics4Java.
*
* MetaHeuristics4Java is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Fr... | 297 |
github-java-corpus | 2,012 | /*
* Copyright 2012 Friedrich Große, Paul Seiferth,
* Sebastian Starroske, Yannik Stein
*
* This file is part of MetaHeuristics4Java.
*
* MetaHeuristics4Java is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Fr... | 362 |
github-java-corpus | 2,012 | /*
* Copyright 2012 Friedrich Große, Paul Seiferth,
* Sebastian Starroske, Yannik Stein
*
* This file is part of MetaHeuristics4Java.
*
* MetaHeuristics4Java is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Fr... | 405 |
github-java-corpus | 2,012 | /*
* Copyright 2012 Friedrich Große, Paul Seiferth,
* Sebastian Starroske, Yannik Stein
*
* This file is part of MetaHeuristics4Java.
*
* MetaHeuristics4Java is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Fr... | 458 |
github-java-corpus | 2,012 | /*
* Copyright 2012 Friedrich Große, Paul Seiferth,
* Sebastian Starroske, Yannik Stein
*
* This file is part of MetaHeuristics4Java.
*
* MetaHeuristics4Java is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Fr... | 425 |
github-java-corpus | 2,012 | /*
* Copyright 2012 Friedrich Große, Paul Seiferth,
* Sebastian Starroske, Yannik Stein
*
* This file is part of MetaHeuristics4Java.
*
* MetaHeuristics4Java is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Fr... | 627 |
github-java-corpus | 2,012 | /*
* Copyright 2012 Friedrich Große, Paul Seiferth,
* Sebastian Starroske, Yannik Stein
*
* This file is part of MetaHeuristics4Java.
*
* MetaHeuristics4Java is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Fr... | 362 |
github-java-corpus | 2,012 | /*
* Copyright 2012 Friedrich Große, Paul Seiferth,
* Sebastian Starroske, Yannik Stein
*
* This file is part of MetaHeuristics4Java.
*
* MetaHeuristics4Java is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Fr... | 540 |
github-java-corpus | 2,012 | /*
* Copyright 2012 Friedrich Große, Paul Seiferth,
* Sebastian Starroske, Yannik Stein
*
* This file is part of MetaHeuristics4Java.
*
* MetaHeuristics4Java is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Fr... | 587 |
github-java-corpus | 2,012 | /*
* Copyright 2012 Friedrich Große, Paul Seiferth,
* Sebastian Starroske, Yannik Stein
*
* This file is part of MetaHeuristics4Java.
*
* MetaHeuristics4Java is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Fr... | 662 |
github-java-corpus | 2,012 | /*
* Copyright 2012 Friedrich Große, Paul Seiferth,
* Sebastian Starroske, Yannik Stein
*
* This file is part of MetaHeuristics4Java.
*
* MetaHeuristics4Java is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Fr... | 293 |
github-java-corpus | 2,012 | /*
* Copyright 2012 Friedrich Große, Paul Seiferth,
* Sebastian Starroske, Yannik Stein
*
* This file is part of MetaHeuristics4Java.
*
* MetaHeuristics4Java is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Fr... | 459 |
github-java-corpus | 2,012 | /*
* Copyright 2012 Friedrich Große, Paul Seiferth,
* Sebastian Starroske, Yannik Stein
*
* This file is part of MetaHeuristics4Java.
*
* MetaHeuristics4Java is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Fr... | 310 |
github-java-corpus | 2,012 | /*
* Copyright 2012 Friedrich Große, Paul Seiferth,
* Sebastian Starroske, Yannik Stein
*
* This file is part of MetaHeuristics4Java.
*
* MetaHeuristics4Java is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Fr... | 1,706 |
github-java-corpus | 2,012 | /*
* Copyright 2012 Friedrich Große, Paul Seiferth,
* Sebastian Starroske, Yannik Stein
*
* This file is part of MetaHeuristics4Java.
*
* MetaHeuristics4Java is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Fr... | 539 |
github-java-corpus | 2,012 | /*
* Copyright 2012 Friedrich Große, Paul Seiferth,
* Sebastian Starroske, Yannik Stein
*
* This file is part of MetaHeuristics4Java.
*
* MetaHeuristics4Java is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Fr... | 298 |
github-java-corpus | 2,012 | /*
* Copyright 2012 Friedrich Große, Paul Seiferth,
* Sebastian Starroske, Yannik Stein
*
* This file is part of MetaHeuristics4Java.
*
* MetaHeuristics4Java is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Fr... | 427 |
github-java-corpus | 2,012 | /*
* Copyright 2012 Friedrich Große, Paul Seiferth,
* Sebastian Starroske, Yannik Stein
*
* This file is part of MetaHeuristics4Java.
*
* MetaHeuristics4Java is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Fr... | 863 |
github-java-corpus | 2,012 | /*
* Copyright 2012 Friedrich Große, Paul Seiferth,
* Sebastian Starroske, Yannik Stein
*
* This file is part of MetaHeuristics4Java.
*
* MetaHeuristics4Java is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Fr... | 1,164 |
github-java-corpus | 2,012 | /*
* Copyright 2012 Friedrich Große, Paul Seiferth,
* Sebastian Starroske, Yannik Stein
*
* This file is part of MetaHeuristics4Java.
*
* MetaHeuristics4Java is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Fr... | 286 |
github-java-corpus | 2,012 | package de.mh4j.util;
import java.util.Random;
import org.testng.annotations.Test;
public class RNGGeneratorTest {
@Test
public void testCreateRandomNumberGenerator() {
Random randomizer1 = RNGGenerator.createRandomNumberGenerator();
Random randomizer2 = RNGGenerator.createRandomNumberGenera... | 209 |
github-java-corpus | 2,012 | package de.mh4j.solver;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.spy;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;
import org.testng.annotations.Test;
import de.mh4j.solver.termination.TerminationCondition;
public class AbstractSolverTest {
... | 323 |
github-java-corpus | 2,012 | package de.mh4j.solver;
import static org.mockito.Mockito.mock;
import org.testng.annotations.Test;
import de.mh4j.solver.termination.StagnationTermination;
import de.mh4j.solver.termination.TerminationCondition;
public class StagnationTerminationTest {
@Test
@SuppressWarnings("unchecked")
public void ... | 220 |
github-java-corpus | 2,012 | package de.mh4j.solver.genetic.darwin;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.when;
import java.util.ArrayList;
import java.util.List;
import org.testng.annotations.Test;
import de.mh4j.solver.genetic.AbstractGenomeTest;
import de.mh4j.solver.genetic.Genome;
import de.... | 959 |
github-java-corpus | 2,012 | package de.mh4j.solver.genetic.darwin;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.when;
import java.util.ArrayList;
import java.util.List;
import org.testng.annotations.Test;
import de.mh4j.solver.genetic.AbstractGenomeTest;
import de.mh4j.solver.genetic.Genome;
import de.... | 724 |
github-java-corpus | 2,012 | package de.mh4j.solver.genetic.matingselection;
import java.util.Collection;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.Test;
import de.mh4j.solver.genetic.Couple;
import de.mh4j.solver.genetic.Genome;
public class TournamentSelectorTest extends MatingSelectorTestCase {
... | 162 |
github-java-corpus | 2,012 | package de.mh4j.solver.genetic.matingselection;
import java.util.Collection;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.Test;
import de.mh4j.solver.genetic.Couple;
import de.mh4j.solver.genetic.Genome;
public class RankingSelectorTest extends MatingSelectorTestCase {
... | 159 |
github-java-corpus | 2,012 | package de.mh4j.solver.genetic.matingselection;
import java.util.Collection;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.Test;
import de.mh4j.solver.genetic.Couple;
import de.mh4j.solver.genetic.Genome;
import de.mh4j.solver.genetic.genepool.GenePool;
public class RouletteMatingSelecto... | 286 |
github-java-corpus | 2,012 | package de.mh4j.solver.genetic.matingselection;
import java.util.Collection;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.Test;
import de.mh4j.solver.genetic.Couple;
import de.mh4j.solver.genetic.Genome;
public class StochasticUniversalSamplingSelectorTest extends MatingSelect... | 167 |
github-java-corpus | 2,012 | package de.mh4j.solver.genetic.matingselection;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.when;
import java.util.Collection;
import de.mh4j.solver.genetic.Couple;
import de.mh4j.solver.genetic.Genome;
import de.mh4j.solver.genetic.genepool.GenePool;
abstract class MatingSe... | 573 |
github-java-corpus | 2,012 | package de.mh4j.solver.genetic;
public class GenomeMock extends Genome {
private final int fitness;
public GenomeMock() {
this(0);
}
public GenomeMock(int fitness) {
this.fitness = fitness;
}
@Override
public int getFitness() {
return fitness;
}
@Overrid... | 102 |
github-java-corpus | 2,012 | package de.mh4j.solver.genetic.genepool;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;
import static org.testng.AssertJUnit.assertEquals;
import java.util.Arrays;
import java.util.Iterator;
import org.testng.annotations.BeforeMethod;
import ... | 1,942 |
github-java-corpus | 2,012 | package de.mh4j.solver.genetic.genepool;
import static org.mockito.Mockito.inOrder;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.when;
import java.util.Iterator;
import org.mockito.InOrder;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.Test;
import de.mh4j.so... | 373 |
github-java-corpus | 2,012 | package de.mh4j.solver.genetic;
import org.testng.annotations.Test;
import de.mh4j.util.Comparable;
public class GenomeTest {
@Test
public void testGetBirthGeneration_WhenInitialized_BirthGenerationIsUnset() throws Exception {
Genome genome = new GenomeMock();
assert genome.getBirthGeneratio... | 259 |
github-java-corpus | 2,012 | package de.mh4j.solver.genetic;
import static org.mockito.Mockito.when;
public abstract class AbstractGenomeTest {
protected void makeGenomeMockComparable(Genome genome, Genome otherGenome) {
if (genome.getFitness() == otherGenome.getFitness()) {
when(genome.compareTo(otherGenome)).thenReturn... | 190 |
github-java-corpus | 2,012 | package de.mh4j.solver;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.when;
import org.testng.annotations.Test;
import de.mh4j.solver.termination.StepCountTermination;
import de.mh4j.solver.termination.TerminationCondition;
public class StepCountTerminationTest {
@Test
@Suppress... | 211 |
github-java-corpus | 2,012 | package de.mh4j.testAPI;
import org.hamcrest.Matcher;
public abstract class Assert {
/**
* Asserts that actual satisfies the condition specified by matcher.
*
* @param reason
* - additional information about the error
* @param actual
* - the computed value bei... | 126 |
github-java-corpus | 2,012 | package de.mh4j.examples;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Random;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import de.mh4j.solver.Solution;
/**
* A Sorting represents a not necessarily ordered array of the numbers from 0 to
* 99. This is the {@link Solution} cl... | 1,234 |
github-java-corpus | 2,012 | package de.mh4j.examples.solver;
import org.slf4j.LoggerFactory;
import ch.qos.logback.classic.Level;
import ch.qos.logback.classic.Logger;
import de.mh4j.examples.ExampleSolverStateListener;
import de.mh4j.examples.Sorting;
import de.mh4j.solver.Solver;
import de.mh4j.solver.simulatedAnnealing.AbstractLocalSearchSol... | 542 |
github-java-corpus | 2,012 | package de.mh4j.examples.solver;
import de.mh4j.examples.Sorting;
import de.mh4j.solver.simulatedAnnealing.AbstractCoolingScheme;
public class ExampleCoolingScheme extends AbstractCoolingScheme<Sorting> {
@Override
protected double getInitialTemperature() {
return 1000;
}
@Override
prote... | 118 |
github-java-corpus | 2,012 | package de.mh4j.examples.solver;
import org.slf4j.LoggerFactory;
import ch.qos.logback.classic.Level;
import ch.qos.logback.classic.Logger;
import de.mh4j.examples.ExampleSolverStateListener;
import de.mh4j.examples.Sorting;
import de.mh4j.solver.Solver;
import de.mh4j.solver.simulatedAnnealing.AbstractSimulatedAnnea... | 539 |
github-java-corpus | 2,012 | package de.mh4j.examples;
import de.mh4j.solver.Solution;
import de.mh4j.solver.Solver;
import de.mh4j.solver.SolverStateAdapter;
public class ExampleSolverStateListener<GenericSolutionType extends Solution<GenericSolutionType>> extends
SolverStateAdapter<GenericSolutionType> {
GenericSolutionType lastSo... | 219 |
github-java-corpus | 2,012 | package de.mh4j.examples.solver;
import org.testng.annotations.Test;
import de.mh4j.examples.Sorting;
public class LocalSearchSorterTest {
@Test
public void testCreateInitialSolution() {
LocalSearchSorter sorter = new LocalSearchSorter(10);
sorter.createInitialSolution();
/*
... | 176 |
github-java-corpus | 2,012 | package de.mh4j.examples;
import static org.testng.AssertJUnit.assertEquals;
import static org.testng.AssertJUnit.assertNotSame;
import static org.testng.AssertJUnit.fail;
import java.util.Arrays;
import org.testng.annotations.Test;
public class SortingTest {
@Test
public void testCreateWithArray() {
... | 1,380 |
github-java-corpus | 2,012 |
package com.patumvan.atit.ooconcept.fasttrack;
public class SumEvenNumbers {
public static void main(String[] args) {
int sum = 0;
for(int i =1; i<=100;i++){
if (i%2 == 0){
sum += i;
}
}
System.out.println("Sum = "+ sum);
System.out.println... | 164 |
github-java-corpus | 2,012 | package com.patumvan.atit.ooconcept.factory;
public class MainApp {
public MainApp() {
Factory factory = new Factory();
Car c = factory.create("Yaris", 800000);
System.out.println(c.name);
System.out.println(c.price);
}
public static void main(String[] args) {
Main... | 83 |
github-java-corpus | 2,012 | package com.patumvan.atit.ooconcept.factory;
public class Factory {
public Car create(String name, int price) {
Car car = new Car();
car.name = name;
car.price = price;
return car;
}
}
| 54 |
github-java-corpus | 2,012 | package com.patumvan.atit.ooconcept.factory;
public class Car {
public String name;
public int price;
} | 27 |
github-java-corpus | 2,012 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.patumvan.atit.demo.statistic;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Arrays;
public class Histogram {
public static void main(String[] args) {
int[] data = {3, 10... | 256 |
github-java-corpus | 2,012 | package com.patumvan.atit.courses.util;
import java.awt.Toolkit;
import java.awt.datatransfer.Clipboard;
import java.awt.datatransfer.DataFlavor;
import java.awt.datatransfer.Transferable;
import java.awt.datatransfer.UnsupportedFlavorException;
import java.io.BufferedReader;
import java.io.IOException;
import java.i... | 411 |
github-java-corpus | 2,012 | package com.patumvan.atit.courses.compro.ch01.hello;
public class HelloPrinter {
public static void main(String[] args) {
System.out.println("Hello, World!");
}
}
| 43 |
github-java-corpus | 2,012 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* HelloPrinter.java
*
* Created on Jun 12, 2012, 9:19:29 AM
*/
package com.patumvan.atit.courses.compro.ch01.hellogui;
/**
*
* @author atitp
*/
public class HelloPrinter extends javax.swing.JFrame {
/** ... | 724 |
github-java-corpus | 2,012 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.patumvan.atit.courses.compro.ch01;
/**
*
* @author atitp
*/
public class HelloWorld {
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
//... | 94 |
github-java-corpus | 2,012 | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.patumvan.atit.courses.compro.ch02;
/**
*
* @author atitp
*/
class DynamicInit {
public static void main(String[] args) {
int num1 = Integer.parseInt(args[0]);
int num2 = Integer.parseInt(args[1]);
... | 94 |
github-java-corpus | 2,012 | /*
** DecoderDemo.java
**
** Copyright (c) 2011 Peter McQuillan
**
** All Rights Reserved.
**
** Distributed under the BSD Software License (see license.txt)
**
*/
import com.beatofthedrum.alacdecoder.*;
class DecoderDemo
{
static java.io.FileOutputStream output_stream;
stat... | 1,487 |
github-java-corpus | 2,012 | /*
** StreamUtils.java
**
** Copyright (c) 2011 Peter McQuillan
**
** All Rights Reserved.
**
** Distributed under the BSD Software License (see license.txt)
**
*/
package com.beatofthedrum.alacdecoder;
class StreamUtils
{
public static void stream_read(MyStream mystream, i... | 999 |
github-java-corpus | 2,012 | /*
** LeadingZeros.java
**
** Copyright (c) 2011 Peter McQuillan
**
** All Rights Reserved.
**
** Distributed under the BSD Software License (see license.txt)
**
*/
package com.beatofthedrum.alacdecoder;
class LeadingZeros
{
public int curbyte = 0;
public int output = 0;
} | 79 |
github-java-corpus | 2,012 | /*
** QTMovieT.java
**
** Copyright (c) 2011 Peter McQuillan
**
** All Rights Reserved.
**
** Distributed under the BSD Software License (see license.txt)
**
*/
package com.beatofthedrum.alacdecoder;
class QTMovieT
{
public MyStream qtstream;
public DemuxResT res;
public i... | 112 |
github-java-corpus | 2,012 | package com.beatofthedrum.alacdecoder;
/**
* Author: Denis Tulskiy
* Date: 4/9/11
*/
public class ChunkInfo {
int first_chunk;
int samples_per_chunk;
int sample_desc_index;
}
| 54 |
github-java-corpus | 2,012 | package com.beatofthedrum.alacdecoder;
/**
* Author: Denis Tulskiy
* Date: 4/9/11
*/
public class DecodeResult {
public int bytesUnpacked;
public int offset;
}
| 49 |
github-java-corpus | 2,012 | /*
** Defines.java
**
** Copyright (c) 2011 Peter McQuillan
**
** All Rights Reserved.
**
** Distributed under the BSD Software License (see license.txt)
**
*/
package com.beatofthedrum.alacdecoder;
class Defines
{
static int RICE_THRESHOLD = 8;
} | 70 |
github-java-corpus | 2,012 | /*
** AlacContext.java
**
** Copyright (c) 2011 Peter McQuillan
**
** All Rights Reserved.
**
** Distributed under the BSD Software License (see license.txt)
**
*/
package com.beatofthedrum.alacdecoder;
public class AlacContext
{
DemuxResT demux_res = new DemuxResT();
AlacFi... | 150 |
github-java-corpus | 2,012 | package com.beatofthedrum.alacdecoder;
import java.io.DataInputStream;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
/**
* Author: Denis Tulskiy
* Date: 4/7/11
*/
public class AlacInputStream extends DataInputStream {
/**
* Creates a DataInputStream that uses the ... | 159 |
github-java-corpus | 2,012 | /*
** AlacUtils.java
**
** Copyright (c) 2011 Peter McQuillan
**
** All Rights Reserved.
**
** Distributed under the BSD Software License (see license.txt)
**
*/
package com.beatofthedrum.alacdecoder;
public class AlacUtils
{
public static AlacContext AlacOpenFileInput(String... | 2,266 |
github-java-corpus | 2,012 | /*
** AlacFile.java
**
** Copyright (c) 2011 Peter McQuillan
**
** All Rights Reserved.
**
** Distributed under the BSD Software License (see license.txt)
**
*/
package com.beatofthedrum.alacdecoder;
class AlacFile
{
byte input_buffer[];
int ibIdx = 0;
int input_buffer_bit... | 501 |
github-java-corpus | 2,012 | /*
** SampleInfo.java
**
** Copyright (c) 2011 Peter McQuillan
**
** All Rights Reserved.
**
** Distributed under the BSD Software License (see license.txt)
**
*/
package com.beatofthedrum.alacdecoder;
class SampleInfo
{
public int sample_count = 0;
public int sample_duratio... | 78 |
github-java-corpus | 2,012 | /*
** AlacDecodeUtils.java
**
** Copyright (c) 2011 Peter McQuillan
**
** All Rights Reserved.
**
** Distributed under the BSD Software License (see license.txt)
**
*/
package com.beatofthedrum.alacdecoder;
class AlacDecodeUtils
{
public static void alac_set_info(AlacFile alac... | 8,573 |
github-java-corpus | 2,012 | /*
** DemuxUtils.java
**
** Copyright (c) 2011 Peter McQuillan
**
** All Rights Reserved.
**
** Distributed under the BSD Software License (see license.txt)
**
*/
package com.beatofthedrum.alacdecoder;
class DemuxUtils
{
public static int MakeFourCC(int ch0, int ch1, int ch2... | 7,288 |
github-java-corpus | 2,012 | /*
** DemuxResT.java
**
** Copyright (c) 2011 Peter McQuillan
**
** All Rights Reserved.
**
** Distributed under the BSD Software License (see license.txt)
**
*/
package com.beatofthedrum.alacdecoder;
class DemuxResT
{
public int format_read;
public int num_channels;
publi... | 231 |
github-java-corpus | 2,012 | /*
** WavWriter.java
**
** Copyright (c) 2011 Peter McQuillan
**
** All Rights Reserved.
**
** Distributed under the BSD Software License (see license.txt)
**
*/
package com.beatofthedrum.alacdecoder;
public class WavWriter
{
static void write_uint32(java.io.FileOutputStream f, ... | 789 |
github-java-corpus | 2,012 | /*
** SampleDuration.java
**
** Copyright (c) 2011 Peter McQuillan
**
** All Rights Reserved.
**
** Distributed under the BSD Software License (see license.txt)
**
*/
package com.beatofthedrum.alacdecoder;
class SampleDuration
{
int sample_byte_size = 0;
int sample_duration ... | 77 |
github-java-corpus | 2,012 | /*
** MyStream.java
**
** Copyright (c) 2011 Peter McQuillan
**
** All Rights Reserved.
**
** Distributed under the BSD Software License (see license.txt)
**
*/
package com.beatofthedrum.alacdecoder;
class MyStream
{
public java.io.DataInputStream stream;
public int currentP... | 89 |
github-java-corpus | 2,012 | /*
* JBoss, Home of Professional Open Source
* Copyright 2011, Red Hat, Inc., and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this fi... | 1,207 |
github-java-corpus | 2,012 | /**
* This file is part of OCPsoft SocialPM: Agile Project Management Tools (SocialPM)
*
* Copyright (c)2011 Lincoln Baxter, III <lincoln@ocpsoft.com> (OCPsoft)
* Copyright (c)2011 OCPsoft.com (http://ocpsoft.com)
*
* If you are developing and distributing open source applications under
* the GNU General Publ... | 549 |
github-java-corpus | 2,012 | /**
* This file is part of OCPsoft SocialPM: Agile Project Management Tools (SocialPM)
*
* Copyright (c)2011 Lincoln Baxter, III <lincoln@ocpsoft.com> (OCPsoft)
* Copyright (c)2011 OCPsoft.com (http://ocpsoft.com)
*
* If you are developing and distributing open source applications under
* the GNU General Publ... | 451 |
github-java-corpus | 2,012 | /**
* This file is part of OCPsoft SocialPM: Agile Project Management Tools (SocialPM)
*
* Copyright (c)2011 Lincoln Baxter, III <lincoln@ocpsoft.com> (OCPsoft)
* Copyright (c)2011 OCPsoft.com (http://ocpsoft.com)
*
* If you are developing and distributing open source applications under
* the GNU General Publ... | 430 |
github-java-corpus | 2,012 | /**
* This file is part of OCPsoft SocialPM: Agile Project Management Tools (SocialPM)
*
* Copyright (c)2011 Lincoln Baxter, III <lincoln@ocpsoft.com> (OCPsoft)
* Copyright (c)2011 OCPsoft.com (http://ocpsoft.com)
*
* If you are developing and distributing open source applications under
* the GNU General Publ... | 563 |
github-java-corpus | 2,012 | /**
* This file is part of OCPsoft SocialPM: Agile Project Management Tools (SocialPM)
*
* Copyright (c)2011 Lincoln Baxter, III <lincoln@ocpsoft.com> (OCPsoft)
* Copyright (c)2011 OCPsoft.com (http://ocpsoft.com)
*
* If you are developing and distributing open source applications under
* the GNU General Public... | 650 |
github-java-corpus | 2,012 | /**
* This file is part of OCPsoft SocialPM: Agile Project Management Tools (SocialPM)
*
* Copyright (c)2011 Lincoln Baxter, III <lincoln@ocpsoft.com> (OCPsoft)
* Copyright (c)2011 OCPsoft.com (http://ocpsoft.com)
*
* If you are developing and distributing open source applications under
* the GNU General Publ... | 626 |
github-java-corpus | 2,012 | /**
* This file is part of OCPsoft SocialPM: Agile Project Management Tools (SocialPM)
*
* Copyright (c)2011 Lincoln Baxter, III <lincoln@ocpsoft.com> (OCPsoft)
* Copyright (c)2011 OCPsoft.com (http://ocpsoft.com)
*
* If you are developing and distributing open source applications under
* the GNU General Publ... | 462 |
github-java-corpus | 2,012 | /**
* This file is part of OCPsoft SocialPM: Agile Project Management Tools (SocialPM)
*
* Copyright (c)2011 Lincoln Baxter, III <lincoln@ocpsoft.com> (OCPsoft)
* Copyright (c)2011 OCPsoft.com (http://ocpsoft.com)
*
* If you are developing and distributing open source applications under
* the GNU General Publ... | 633 |
github-java-corpus | 2,012 | /**
* This file is part of OCPsoft SocialPM: Agile Project Management Tools (SocialPM)
*
* Copyright (c)2011 Lincoln Baxter, III <lincoln@ocpsoft.com> (OCPsoft)
* Copyright (c)2011 OCPsoft.com (http://ocpsoft.com)
*
* If you are developing and distributing open source applications under
* the GNU General Publ... | 646 |
github-java-corpus | 2,012 | /**
* This file is part of OCPsoft SocialPM: Agile Project Management Tools (SocialPM)
*
* Copyright (c)2011 Lincoln Baxter, III <lincoln@ocpsoft.com> (OCPsoft)
* Copyright (c)2011 OCPsoft.com (http://ocpsoft.com)
*
* If you are developing and distributing open source applications under
* the GNU General Publ... | 1,448 |
github-java-corpus | 2,012 | /**
* This file is part of OCPsoft SocialPM: Agile Project Management Tools (SocialPM)
*
* Copyright (c)2011 Lincoln Baxter, III <lincoln@ocpsoft.com> (OCPsoft)
* Copyright (c)2011 OCPsoft.com (http://ocpsoft.com)
*
* If you are developing and distributing open source applications under
* the GNU General Publ... | 509 |
github-java-corpus | 2,012 | /**
* This file is part of OCPsoft SocialPM: Agile Project Management Tools (SocialPM)
*
* Copyright (c)2011 Lincoln Baxter, III <lincoln@ocpsoft.com> (OCPsoft)
* Copyright (c)2011 OCPsoft.com (http://ocpsoft.com)
*
* If you are developing and distributing open source applications under
* the GNU General Publ... | 1,290 |
github-java-corpus | 2,012 | /**
* This file is part of OCPsoft SocialPM: Agile Project Management Tools (SocialPM)
*
* Copyright (c)2011 Lincoln Baxter, III <lincoln@ocpsoft.com> (OCPsoft)
* Copyright (c)2011 OCPsoft.com (http://ocpsoft.com)
*
* If you are developing and distributing open source applications under
* the GNU General Publ... | 1,237 |
github-java-corpus | 2,012 | /**
* This file is part of OCPsoft SocialPM: Agile Project Management Tools (SocialPM)
*
* Copyright (c)2011 Lincoln Baxter, III <lincoln@ocpsoft.com> (OCPsoft)
* Copyright (c)2011 OCPsoft.com (http://ocpsoft.com)
*
* If you are developing and distributing open source applications under
* the GNU General Publ... | 713 |
github-java-corpus | 2,012 | /**
* This file is part of OCPsoft SocialPM: Agile Project Management Tools (SocialPM)
*
* Copyright (c)2011 Lincoln Baxter, III <lincoln@ocpsoft.com> (OCPsoft)
* Copyright (c)2011 OCPsoft.com (http://ocpsoft.com)
*
* If you are developing and distributing open source applications under
* the GNU General Public... | 1,735 |
github-java-corpus | 2,012 | /**
* This file is part of OCPsoft SocialPM: Agile Project Management Tools (SocialPM)
*
* Copyright (c)2011 Lincoln Baxter, III <lincoln@ocpsoft.com> (OCPsoft)
* Copyright (c)2011 OCPsoft.com (http://ocpsoft.com)
*
* If you are developing and distributing open source applications under
* the GNU General Publ... | 641 |
github-java-corpus | 2,012 | /**
* This file is part of OCPsoft SocialPM: Agile Project Management Tools (SocialPM)
*
* Copyright (c)2011 Lincoln Baxter, III <lincoln@ocpsoft.com> (OCPsoft)
* Copyright (c)2011 OCPsoft.com (http://ocpsoft.com)
*
* If you are developing and distributing open source applications under
* the GNU General Publ... | 641 |
github-java-corpus | 2,012 | /**
* This file is part of OCPsoft SocialPM: Agile Project Management Tools (SocialPM)
*
* Copyright (c)2011 Lincoln Baxter, III <lincoln@ocpsoft.com> (OCPsoft)
* Copyright (c)2011 OCPsoft.com (http://ocpsoft.com)
*
* If you are developing and distributing open source applications under
* the GNU General Publ... | 605 |
github-java-corpus | 2,012 | /**
* This file is part of OCPsoft SocialPM: Agile Project Management Tools (SocialPM)
*
* Copyright (c)2011 Lincoln Baxter, III <lincoln@ocpsoft.com> (OCPsoft)
* Copyright (c)2011 OCPsoft.com (http://ocpsoft.com)
*
* If you are developing and distributing open source applications under
* the GNU General Publ... | 593 |
github-java-corpus | 2,012 | /**
* This file is part of OCPsoft SocialPM: Agile Project Management Tools (SocialPM)
*
* Copyright (c)2011 Lincoln Baxter, III <lincoln@ocpsoft.com> (OCPsoft)
* Copyright (c)2011 OCPsoft.com (http://ocpsoft.com)
*
* If you are developing and distributing open source applications under
* the GNU General Publ... | 607 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.