- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 39 for Gugger (0.41 sec)
-
android/guava-tests/test/com/google/common/collect/ImmutableSetTest.java
verifyTableSize(60, 60, 128); verifyTableSize(120, 60, 256); // if the table is only double the necessary size, we don't bother resizing it verifyTableSize(180, 60, 128); // but if it's even bigger than double, we rebuild the table verifyTableSize(17, 17, 32); verifyTableSize(17, 16, 32); verifyTableSize(17, 15, 32); } @GwtIncompatible // RegularImmutableSet.table not in emulation
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 13.7K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java
* illustrating the cycle in lock acquisition order. */ WARN { @Override public void handlePotentialDeadlock(PotentialDeadlockException e) { logger.get().log(Level.SEVERE, "Detected potential deadlock", e); } }, /** * Disables cycle detection. This option causes the factory to return unmodified lock
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri Dec 15 19:31:54 GMT 2023 - 35.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/BloomFilterTest.java
assertTrue(BloomFilter.optimalNumOfBits(random.nextInt(1 << 16), random.nextDouble()) >= 0); } // and some crazy values (this used to be capped to Integer.MAX_VALUE, now it can go bigger assertEquals(3327428144502L, BloomFilter.optimalNumOfBits(Integer.MAX_VALUE, Double.MIN_VALUE)); IllegalArgumentException expected = assertThrows( IllegalArgumentException.class,
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Nov 09 22:49:56 GMT 2023 - 21.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java
assertEquals( "Modifying the builder should not have changed any already built sets", 216, webSafeColors.size()); assertEquals("the new array should be one bigger than webSafeColors", 217, addedColor.size()); Integer[] appendColorArray = addedColor.toArray(new Integer[addedColor.size()]); assertEquals(getComplexBuilderSetLastElement(), (int) appendColorArray[216]); }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 18.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/AbstractImmutableSetTest.java
assertEquals( "Modifying the builder should not have changed any already built sets", 216, webSafeColors.size()); assertEquals("the new array should be one bigger than webSafeColors", 217, addedColor.size()); Integer[] appendColorArray = addedColor.toArray(new Integer[addedColor.size()]); assertEquals(getComplexBuilderSetLastElement(), (int) appendColorArray[216]); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 18.7K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/Monitor.java
* been interrupted and is waiting to reacquire the lock while still registered in activeGuards, * in which case the signal is a no-op, and the bigger-picture signal is lost unless interrupted * threads take special action by participating in the signal-passing game. */ /* * Timeout handling is intricate, especially given our ambitious goals:
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Dec 04 18:22:01 GMT 2023 - 38.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ListsTest.java
ArrayList<Integer> list = Lists.newArrayListWithCapacity(0); assertEquals(Collections.emptyList(), list); ArrayList<Integer> bigger = Lists.newArrayListWithCapacity(256); assertEquals(Collections.emptyList(), bigger); } public void testNewArrayListWithCapacity_negative() { try { Lists.newArrayListWithCapacity(-1); fail();
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Apr 17 16:33:44 GMT 2024 - 35.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/ByteSourceTest.java
public void testCopyExceptions() { if (Closer.create().suppressor instanceof LoggingSuppressor) { // test that exceptions are logged TestLogHandler logHandler = new TestLogHandler(); Closeables.logger.addHandler(logHandler); try { for (ByteSource in : BROKEN_SOURCES) { runFailureTest(in, newNormalByteSink()); assertTrue(logHandler.getStoredLogRecords().isEmpty());
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 16.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/IntMathTest.java
|| !fitsInInt(BigIntegerMath.binomial(IntMath.biggestBinomials[k] + 1, k))); // In the first case, any int is valid; in the second, we want to test that the next-bigger // int overflows. } assertFalse( fitsInInt( BigIntegerMath.binomial( 2 * IntMath.biggestBinomials.length, IntMath.biggestBinomials.length))); }
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Feb 07 17:50:39 GMT 2024 - 24.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java
return suppressedTests; } private static final Logger logger = Logger.getLogger(FeatureSpecificTestSuiteBuilder.class.getName()); /** Creates a runnable JUnit test suite based on the criteria already given. */ public TestSuite createTestSuite() { checkCanCreate(); logger.fine(" Testing: " + name); logger.fine("Features: " + formatFeatureSet(features));
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Feb 26 19:46:10 GMT 2024 - 10.2K bytes - Viewed (0)