Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for ZERO (0.02 sec)

  1. android/guava/src/com/google/common/cache/CacheBuilder.java

       * For example, the cache may evict an entry because it hasn't been used recently or very often.
       *
       * <p>If {@code maximumSize} is zero, elements will be evicted immediately after being loaded into
       * cache. This can be useful in testing, or to disable caching temporarily.
       *
       * <p>This feature cannot be used in conjunction with {@link #maximumWeight}.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 51.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/Futures.java

       * Future}.
       *
       * <p>Usage example:
       *
       * {@snippet :
       * ListenableFuture<Integer> fetchCounterFuture = ...;
       *
       * // Falling back to a zero counter in case an exception happens when
       * // processing the RPC to fetch counters.
       * ListenableFuture<Integer> faultTolerantFuture = Futures.catching(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 64.3K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlTest.kt

        // hair space
        assertThat(parse("http://h/\u200a").encodedPath).isEqualTo("/%E2%80%8A")
        // zero-width space
        assertThat(parse("http://h/\u200b").encodedPath).isEqualTo("/%E2%80%8B")
        // zero-width non-joiner
        assertThat(parse("http://h/\u200c").encodedPath).isEqualTo("/%E2%80%8C")
        // zero-width joiner
        assertThat(parse("http://h/\u200d").encodedPath).isEqualTo("/%E2%80%8D")
        // left-to-right mark
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Aug 04 07:38:48 UTC 2025
    - 69.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/Preconditions.java

       * is fine with that.
       */
    
      /**
       * Ensures that {@code index} specifies a valid <i>element</i> in an array, list or string of size
       * {@code size}. An element index may range from zero, inclusive, to {@code size}, exclusive.
       *
       * @param index a user-supplied index identifying an element of an array, list or string
       * @param size the size of that array, list or string
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 10 22:11:00 UTC 2025
    - 53K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbSessionImpl.java

            } else if (usage < 0) {
                throw new RuntimeCIFSException("Usage count dropped below zero");
            }
        }
    
        /**
         * Emergency cleanup method called during finalization to prevent memory leaks
         */
        private void emergencyCleanup() {
            try {
                // Force usage count to zero to trigger cleanup
                this.usageCount.set(0);
    
                synchronized (this) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 68.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

            assertTrue(file.isFile(), "Should be identified as a file");
            assertFalse(file.isDirectory(), "Should not be identified as a directory");
            assertEquals(0, file.length(), "New file should have zero length");
        }
    
        @Test
        void testFileWriteAndRead() throws Exception {
            SmbFile file = new SmbFile(baseUrl + "shared/content.txt", context);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbTransportImpl.java

                            && grantedCredits == 0) {
                        if (this.credits.availablePermits() > 0 || n > 0) {
                            log.debug("Server " + this + " returned zero credits for " + curReq);
                        } else {
                            log.warn("Server " + this + " took away all our credits");
                        }
                    } else if (!curReq.isResponseAsync()) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt

        assertThat(connection.writer.maxDataLength()).isEqualTo(newMaxFrameSize)
      }
    
      /**
       * Webservers may set the initial window size to zero, which is a special case because it means
       * that we have to flush headers immediately before any request body can be sent.
       * https://github.com/square/okhttp/issues/2543
       */
      @Test fun peerSetsZeroFlowControl() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 75.5K bytes
    - Viewed (0)
Back to top