Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2231 - 2240 of 2,324 for Booleans (0.05 sec)

  1. src/test/java/jcifs/spnego/NegTokenInitTest.java

        // Helper to build a SPNEGO NegTokenInit as per NegTokenInit#toByteArray but parameterized for tests
        private static byte[] buildInitToken(ASN1ObjectIdentifier[] mechs, Integer flags, byte[] mechToken, byte[] mic, boolean micInTag4,
                String spnegoOidOverride, Integer outerTagNoOverride, ASN1TaggedObject extraField) throws IOException {
    
            ASN1EncodableVector fields = new ASN1EncodableVector();
            if (mechs != null) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/AllocInfoTest.java

                // Given
                TestAllocInfo allocInfo = new TestAllocInfo(1024L * 1024L, 512L * 1024L);
                long requiredSpace = 256L * 1024L;
    
                // When - check if enough space available
                boolean hasEnoughSpace = allocInfo.getFree() >= requiredSpace;
    
                // Then
                assertTrue(hasEnoughSpace);
            }
    
            @Test
            @DisplayName("Should support full disk detection pattern")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/util/AuthenticationRateLimiterTest.java

                    threads[i] = new Thread(() -> {
                        try {
                            int localFailures = 0;
                            for (int j = 0; j < attemptsPerThread; j++) {
                                boolean allowed = false;
                                try {
                                    allowed = concurrentLimiter.checkAttempt("user" + threadId, "192.168.2." + threadId);
                                } catch (SmbException e) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/dict/synonym/SynonymFile.java

         */
        protected class SynonymUpdater implements Closeable {
    
            /** A flag indicating whether the changes have been committed. */
            protected boolean isCommit = false;
    
            /** The temporary file to write changes to. */
            protected File newFile;
    
            /** The writer for the temporary file. */
            protected Writer writer;
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 07:09:00 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/cache/CacheStats.java

      }
    
      @Override
      public int hashCode() {
        return Objects.hash(
            hitCount, missCount, loadSuccessCount, loadExceptionCount, totalLoadTime, evictionCount);
      }
    
      @Override
      public boolean equals(@Nullable Object object) {
        if (object instanceof CacheStats) {
          CacheStats other = (CacheStats) object;
          return hitCount == other.hitCount
              && missCount == other.missCount
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/cache/CacheStats.java

      }
    
      @Override
      public int hashCode() {
        return Objects.hash(
            hitCount, missCount, loadSuccessCount, loadExceptionCount, totalLoadTime, evictionCount);
      }
    
      @Override
      public boolean equals(@Nullable Object object) {
        if (object instanceof CacheStats) {
          CacheStats other = (CacheStats) object;
          return hitCount == other.hitCount
              && missCount == other.missCount
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt

      }
    
      @Test
      fun requestMethodTraceIsNotCached() {
        testRequestMethod("TRACE", false)
      }
    
      private fun testRequestMethod(
        requestMethod: String,
        expectCached: Boolean,
        withOverride: Boolean = false,
      ) {
        // 1. Seed the cache (potentially).
        // 2. Expect a cache hit or miss.
        server.enqueue(
          MockResponse
            .Builder()
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Oct 03 17:41:45 UTC 2025
    - 116.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbTransportPoolImplTest.java

            when(pooledSpy.disconnect(false, false)).thenReturn(true); // In use
            when(nonPooledSpy.disconnect(false, false)).thenReturn(false); // Not in use
    
            // When: Close the pool
            boolean inUse = pool.close();
    
            // Then: Should report in-use and call disconnect on all
            assertTrue(inUse, "Should report connections in use");
            verify(pooledSpy).disconnect(false, false);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 19.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/util/ServerResponseValidator.java

         *
         * @param size the message size
         * @param isSmb1 whether this is SMB1 protocol
         * @throws SmbException if size is invalid
         */
        public void validateMessageSize(int size, boolean isSmb1) throws SmbException {
            totalValidations.incrementAndGet();
    
            if (size < MIN_SMB_HEADER_SIZE) {
                failedValidations.incrementAndGet();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/wizard/AdminWizardAction.java

         * Checks if the path starts with HTTP or HTTPS protocols.
         *
         * @param path the path to check
         * @return true if the path is a web crawling path, false otherwise
         */
        protected boolean isWebCrawlingPath(final String path) {
            if (path.startsWith("http:") || path.startsWith("https:")) {
                return true;
            }
    
            return false;
        }
    
        /**
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Dec 11 09:47:03 UTC 2025
    - 16.3K bytes
    - Viewed (0)
Back to top