- Sort Score
- Result 10 results
- Languages All
Results 1981 - 1990 of 3,790 for news (0.04 sec)
-
guava-tests/test/com/google/common/net/InetAddressesTest.java
assertEquals( InetAddresses.fromLittleEndianByteArray(new byte[] {1, 2, 3, 4}), InetAddress.getByAddress(new byte[] {4, 3, 2, 1})); assertEquals( InetAddresses.fromLittleEndianByteArray( new byte[] {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16}), InetAddress.getByAddress( new byte[] {16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1}));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri May 24 16:44:05 UTC 2024 - 35.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionIteratorTester.java
public void testIterator() { List<E> iteratorElements = new ArrayList<>(); for (E element : collection) { // uses iterator() iteratorElements.add(element); } assertEqualIgnoringOrder(asList(createSamplesArray()), iteratorElements); } @CollectionFeature.Require(KNOWN_ORDER) public void testIterationOrdering() { List<E> iteratorElements = new ArrayList<>(); for (E element : collection) { // uses iterator()
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/EnumMultisetTest.java
new ClassSanityTester() .setDistinctValues(Class.class, Color.class, Gender.class) .setDistinctValues(Enum.class, Color.BLUE, Color.RED) .forAllPublicStaticMethods(EnumMultisetFactory.class) .testEquals(); } @J2ktIncompatible @GwtIncompatible // reflection public void testNulls() throws Exception { new NullPointerTester()
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 15 17:36:06 UTC 2024 - 5.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ReflectionFreeAssertThrows.java
return caught; } throw new AssertionError( "expected to throw " + expectedThrowable.getSimpleName() + " but threw " + t, t); } if (userPassedSupplier) { throw new AssertionError( "expected to throw " + expectedThrowable.getSimpleName() + " but returned result: " + result); } else {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 19:43:49 UTC 2024 - 7K bytes - Viewed (0) -
utils/utils_test.go
func TestAssertEqual(t *testing.T) { now := time.Now() assertEqualTests := []struct { name string src, dst interface{} out bool }{ {"error equal", errors.New("1"), errors.New("1"), true}, {"error not equal", errors.New("1"), errors.New("2"), false}, {"driver.Valuer equal", ModifyAt{Time: now, Valid: true}, ModifyAt{Time: now, Valid: true}, true},
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Thu Aug 22 11:03:42 UTC 2024 - 4.9K bytes - Viewed (0) -
internal/logger/target/http/http.go
if !ok { break drain } logChBuffers[newTgt.Name()] <- v default: break drain } } } } } // New initializes a new logger target which // sends log over http to the specified endpoint func New(config Config) (*Target, error) { maxWorkers := maxWorkers if config.BatchSize > 100 { maxWorkers = maxWorkersWithBatchEvents } else if config.BatchSize <= 0 {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Sep 11 22:20:42 UTC 2024 - 15.6K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/RelationshipTesterTest.java
/** * Tests for {@link RelationshipTester}. * * @author Ben Yu */ public class RelationshipTesterTest extends TestCase { public void testNulls() { new ClassSanityTester() .setDefault(ItemReporter.class, new ItemReporter()) .testNulls(RelationshipTester.class); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Apr 21 02:27:51 UTC 2017 - 1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/config/allcommon/EsAbstractConditionAggregation.java
throw new InvalidQueryRegisteredException(msg); } } protected void checkEsInvalidAggregationCollection(String name, Collection<?> values) { if (values == null || values.isEmpty()) { String msg = "Cannot register null or empty query collection: name=" + name + " values=" + values; throw new InvalidQueryRegisteredException(msg); } }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 12.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/CompactHashing.java
|| Integer.highestOneBit(buckets) != buckets) { throw new IllegalArgumentException("must be power of 2 between 2^1 and 2^30: " + buckets); } if (buckets <= BYTE_MAX_SIZE) { return new byte[buckets]; } else if (buckets <= SHORT_MAX_SIZE) { return new short[buckets]; } else { return new int[buckets]; } } static void tableClear(Object table) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 25 15:34:52 UTC 2024 - 7.1K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/JdkFutureAdapters.java
// The execution list to hold our listeners. private final ExecutionList executionList = new ExecutionList(); // This allows us to only start up a thread waiting on the delegate future when the first // listener is added. private final AtomicBoolean hasListeners = new AtomicBoolean(false); // The delegate future. private final Future<V> delegate;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Dec 14 20:35:03 UTC 2023 - 7.5K bytes - Viewed (0)