Search Options

Results per page
Sort
Preferred Languages
Advance

Results 591 - 600 of 886 for zero (0.02 sec)

  1. 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)
  2. src/test/java/jcifs/smb/SIDCacheImplTest.java

            assertEquals("DOM", s3.getDomainName());
            assertEquals("userX", s3.getAccountName());
        }
    
        @Test
        @DisplayName("resolveSids(CIFSContext,server,sids,offset,length) with zero length does not resolve")
        void resolveSids_zeroLength_doesNothing() throws Exception {
            CIFSContext ctx = mock(CIFSContext.class);
            SIDCacheImpl cache = Mockito.spy(new SIDCacheImpl(ctx));
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/AllocInfoTest.java

                // When & Then
                assertEquals(capacity, allocInfo.getCapacity());
                assertEquals(free, allocInfo.getFree());
            }
    
            @Test
            @DisplayName("Should handle zero values")
            void shouldHandleZeroValues() {
                // Given
                TestAllocInfo allocInfo = new TestAllocInfo(0L, 0L);
    
                // When & Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/util/AuthenticationRateLimiterTest.java

            assertTrue(rateLimiter.checkAttempt("user1", "192.168.1.9"), "Should still track account");
        }
    
        @Test
        public void testStatistics() throws Exception {
            // Initially stats should be zero
            AuthenticationRateLimiter.RateLimiterStats stats = rateLimiter.getStats();
            assertEquals(0, stats.getTotalBlocked());
            assertEquals(0, stats.getAccountsLocked());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableSortedMultiset.java

     * Comparator} or {@link Comparable} type whose comparison behavior is <i>inconsistent with
     * equals</i>. That is, {@code a.compareTo(b)} or {@code comparator.compare(a, b)} should equal zero
     * <i>if and only if</i> {@code a.equals(b)}. If this advice is not followed, the resulting
     * collection will not correctly obey its specification.
     *
     * <p>See the Guava User Guide article on <a href=
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 29.5K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/asm/testdata/arm64error.s

    	STP	(R26, R27), 700(R2)                              // ERROR "cannot use REGTMP as source"
    	MOVK	$0, R10                                          // ERROR "zero shifts cannot be handled correctly"
    	MOVK	$(0<<32), R10                                    // ERROR "zero shifts cannot be handled correctly"
    	TLBI	PLDL1KEEP                                        // ERROR "illegal argument"
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Mar 26 10:48:50 UTC 2025
    - 37.9K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapTestSuiteBuilder.java

        if (derivedFeatures.remove(CollectionSize.ANY)) {
          derivedFeatures.addAll(CollectionSize.ANY.getImpliedFeatures());
        }
        derivedFeatures.remove(CollectionSize.ZERO);
        return derivedFeatures;
      }
    
      private static final class AsMapGenerator<K, V, M extends Multimap<K, V>>
          implements TestMapGenerator<K, Collection<V>>, DerivedGenerator {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 26.8K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/internal/concurrent/TaskRunnerTest.kt

          "FINE: Q10000 starting              : task three",
          "FINE: Q10000 finished run in   0 µs: task three",
        )
      }
    
      /** Inspect how many runnables have been enqueued. If non-zero then we're truly parallel. */
      @Test fun differentQueuesAreParallel() {
        redQueue.execute("task one", 100.µs) {
          log += "one:run@${taskFaker.nanoTime} parallel=${taskFaker.isParallel}"
        }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 23K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/thumbnail/impl/CommandGeneratorTest.java

                    customBaseDir.delete();
                }
            }
        }
    
        // Test command timeout edge cases
        public void test_timeout_values() throws Exception {
            // Test zero timeout
            generator.setCommandTimeout(0L);
            assertTrue(true);
    
            // Test negative timeout
            generator.setCommandTimeout(-1L);
            assertTrue(true);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/MultipartReaderTest.kt

          )
    
        parts.close()
    
        assertFailsWith<IllegalStateException> {
          parts.nextPart()
        }.also { expected ->
          assertThat(expected).hasMessage("closed")
        }
      }
    
      @Test fun `zero parts`() {
        val multipart =
          """
          |--simple boundary--
          """.trimMargin()
            .replace("\n", "\r\n")
    
        val parts =
          MultipartReader(
            boundary = "simple boundary",
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 02:11:14 UTC 2025
    - 15.4K bytes
    - Viewed (0)
Back to top