Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1911 - 1920 of 2,062 for watch (0.03 sec)

  1. guava/src/com/google/common/collect/ImmutableSet.java

      // TODO(cpovirk): Move to Hashing or something, since it's used elsewhere in the Android version.
      static int chooseTableSize(int setSize) {
        setSize = max(setSize, 2);
        // Correct the size for open addressing to match desired load factor.
        if (setSize < CUTOFF) {
          // Round up to the next highest power of 2.
          int tableSize = Integer.highestOneBit(setSize - 1) << 1;
          while (tableSize * DESIRED_LOAD_FACTOR < setSize) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/primitives/FloatsTest.java

        // it's shared to avoid using too much memory in tests
        float[] sharedArray = new float[arraysDim2];
        Arrays.fill(arrays, sharedArray);
    
        try {
          Floats.concat(arrays);
          fail();
        } catch (IllegalArgumentException expected) {
        }
      }
    
      public void testEnsureCapacity() {
        assertThat(Floats.ensureCapacity(EMPTY, 0, 1)).isSameInstanceAs(EMPTY);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/primitives/IntsTest.java

      }
    
      private static void assertCastFails(long value) {
        try {
          Ints.checkedCast(value);
          fail("Cast to int should have failed: " + value);
        } catch (IllegalArgumentException ex) {
          assertWithMessage(value + " not found in exception text: " + ex.getMessage())
              .that(ex.getMessage().contains(String.valueOf(value)))
              .isTrue();
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/primitives/FloatsTest.java

        // it's shared to avoid using too much memory in tests
        float[] sharedArray = new float[arraysDim2];
        Arrays.fill(arrays, sharedArray);
    
        try {
          Floats.concat(arrays);
          fail();
        } catch (IllegalArgumentException expected) {
        }
      }
    
      public void testEnsureCapacity() {
        assertThat(Floats.ensureCapacity(EMPTY, 0, 1)).isSameInstanceAs(EMPTY);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SID.java

        public static SID SYSTEM = null;
    
        static {
            try {
                EVERYONE = new SID("S-1-1-0");
                CREATOR_OWNER = new SID("S-1-3-0");
                SYSTEM = new SID("S-1-5-18");
            } catch (final SmbException se) {}
        }
    
        static Map sid_cache = new HashMap();
    
        static void resolveSids(final DcerpcHandle handle, final LsaPolicyHandle policyHandle, final SID[] sids) throws IOException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/dfs/DfsReferralDataInternalTest.java

                // Test with concrete implementation - behavior depends on implementation
                // May throw NullPointerException
                try {
                    concreteImplementation.append(null);
                } catch (NullPointerException e) {
                    // Expected for some implementations
                }
            }
        }
    
        @Nested
        @DisplayName("Cache Operations Tests")
        class CacheOperationsTests {
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 28.2K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/helper/CrawlingConfigHelperTest.java

                assertEquals("abc", getIdMethod.invoke(crawlingConfigHelper, "Fabc"));
                assertEquals("xyz", getIdMethod.invoke(crawlingConfigHelper, "Dxyz"));
            } catch (Exception e) {
                fail("Failed to test getId method: " + e.getMessage());
            }
        }
    
        public void test_getCrawlingConfig_cacheExceptionHandling() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 34.9K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/TableCollectionTest.java

         */
        @Override
        public void testRemove() {
          Map<String, Map<Integer, Character>> map;
          try {
            map = makePopulatedMap();
          } catch (UnsupportedOperationException e) {
            return;
          }
          String keyToRemove = map.keySet().iterator().next();
          if (supportsRemove) {
            int initialSize = map.size();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/reflect/TypeResolver.java

            resolvedOwner, (Class<?>) resolvedRawType, resolvedArgs);
      }
    
      private static <T> T expectArgument(Class<T> type, Object arg) {
        try {
          return type.cast(arg);
        } catch (ClassCastException e) {
          throw new IllegalArgumentException(arg + " is not a " + type.getSimpleName());
        }
      }
    
      /** A TypeTable maintains mapping from {@link TypeVariable} to types. */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/com/ServerDataTest.java

            assertEquals(2, serverList.size());
            assertEquals("SERVER1", serverList.get(0).oemDomainName);
            assertEquals("SERVER2", serverList.get(1).oemDomainName);
        }
    
        /**
         * Test field types match expected types
         */
        @Test
        @DisplayName("Test field types are correct")
        public void testFieldTypes() throws NoSuchFieldException {
            // Verify field types
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17K bytes
    - Viewed (0)
Back to top