Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2041 - 2050 of 3,163 for rint (0.07 seconds)

  1. android/guava/src/com/google/common/reflect/TypeToken.java

        @CanIgnoreReturnValue
        private int collectTypes(K type, Map<? super K, Integer> map) {
          Integer existing = map.get(type);
          if (existing != null) {
            // short circuit: if set contains type it already contains its supertypes
            return existing;
          }
          // Interfaces should be listed before Object.
          int aboveMe = getRawType(type).isInterface() ? 1 : 0;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 53.8K bytes
    - Click Count (0)
  2. docs_src/path_params/tutorial002_py310.py

    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/items/{item_id}")
    async def read_item(item_id: int):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 143 bytes
    - Click Count (0)
  3. src/main/java/jcifs/smb/DfsImpl.java

            if (!path.equals("\\")) {
                key += path;
            }
    
            key = key.toLowerCase(Locale.ROOT);
    
            final int searchLen = key.length();
            for (final String cachedKey : refs.map.keySet()) {
                final int cachedKeyLen = cachedKey.length();
    
                boolean match = false;
                if (cachedKeyLen == searchLen) {
                    match = cachedKey.equals(key);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 29.7K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

        }
    
        private Builder(Comparator<? super K> comparator, int initialCapacity) {
          this.comparator = checkNotNull(comparator);
          this.keys = new @Nullable Object[initialCapacity];
          this.values = new @Nullable Object[initialCapacity];
        }
    
        private void ensureCapacity(int minCapacity) {
          if (minCapacity > keys.length) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 08 18:10:02 GMT 2026
    - 54.7K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/base/Joiner.java

        };
      }
    
      // cloned from ImmutableCollection
      private static int expandedCapacity(int oldCapacity, int minCapacity) {
        if (minCapacity < 0) {
          throw new IllegalArgumentException("cannot store more than Integer.MAX_VALUE elements");
        } else if (minCapacity <= oldCapacity) {
          return oldCapacity;
        }
        // careful of overflow!
        int newCapacity = oldCapacity + (oldCapacity >> 1) + 1;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 19.3K bytes
    - Click Count (0)
  6. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

     *
     * @param <K> the base key type
     * @param <V> the base value type
     * @author Charles Fry
     * @author Jon Donovan
     */
    final class LocalCache<K, V> implements ConcurrentMap<K, V> {
      static final int UNSET_INT = CacheBuilder.UNSET_INT;
    
      private final Object lock = new Object();
    
      @GuardedBy("lock")
      private final CapacityEnforcingMap<K, V> cachingHashMap;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 12:40:22 GMT 2026
    - 21.6K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/chat/ChatPhaseCallbackTest.java

                    ChatPhaseCallback.PHASE_FETCH, ChatPhaseCallback.PHASE_ANSWER };
    
            // Check all phases are unique
            for (int i = 0; i < phases.length; i++) {
                for (int j = i + 1; j < phases.length; j++) {
                    assertFalse("Phase constants should be unique", phases[i].equals(phases[j]));
                }
            }
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Jan 12 10:32:40 GMT 2026
    - 7.3K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/dict/DictionaryExpiredExceptionTest.java

        }
    
        @Test
        public void test_hashCode() {
            // Test hashCode consistency
            DictionaryExpiredException exception = new DictionaryExpiredException();
            int hashCode1 = exception.hashCode();
            int hashCode2 = exception.hashCode();
    
            assertEquals(hashCode1, hashCode2);
        }
    
        @Test
        public void test_toString() {
            // Test toString method
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 7.5K bytes
    - Click Count (0)
  9. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/AndroidPlatform.kt

        ).filter { it.isSupported() }
    
      @Throws(IOException::class)
      override fun connectSocket(
        socket: Socket,
        address: InetSocketAddress,
        connectTimeout: Int,
      ) {
        try {
          socket.connect(address, connectTimeout)
        } catch (e: ClassCastException) {
          // On android 8.0, socket.connect throws a ClassCastException due to a bug
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Oct 10 05:19:46 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  10. src/test/java/jcifs/pac/kerberos/KerberosCredentialsTest.java

        @Mock
        private KerberosKey key1;
    
        @Mock
        private KerberosKey key2;
    
        private static final String LOGIN_CONTEXT_NAME = "TestLoginContext";
        private static final int KEY_TYPE_1 = 1;
        private static final int KEY_TYPE_2 = 2;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
        }
    
        /**
         * Test constructor with a valid login context.
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7K bytes
    - Click Count (0)
Back to Top