Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 453 for Cached (0.11 seconds)

  1. src/test/java/jcifs/smb/DfsImplTest.java

            // Should not throw any exception.
            assertDoesNotThrow(() -> dfsImpl.cache(mockContext, "invalidpath", mockReferral));
        }
    
        @Test
        void testCache_ValidPath() {
            // Scenario: A valid referral is cached.
            DfsReferralDataInternal mockReferral = mock(DfsReferralDataInternal.class);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  2. internal/s3select/sql/utils.go

    			parts[i+1] = pe.String()
    		}
    		e.pathString = strings.Join(parts, "")
    	}
    	return e.pathString
    }
    
    // StripTableAlias removes a table alias from the path. The result is also
    // cached for repeated lookups during SQL query evaluation.
    func (e *JSONPath) StripTableAlias(tableAlias string) []*JSONPathElement {
    	if e.strippedTableAlias == tableAlias {
    		return e.strippedPathExpr
    	}
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Nov 10 16:12:50 GMT 2021
    - 3.6K bytes
    - Click Count (0)
  3. guava/src/com/google/common/cache/AbstractCache.java

      }
    
      /**
       * Accumulates statistics during the operation of a {@link Cache} for presentation by {@link
       * Cache#stats}. This is solely intended for consumption by {@code Cache} implementors.
       *
       * @since 10.0
       */
      public interface StatsCounter {
        /**
         * Records cache hits. This should be called when a cache request returns a cached value.
         *
         * @param count the number of hits to record
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 12:40:22 GMT 2026
    - 9.2K bytes
    - Click Count (0)
  4. src/main/java/jcifs/audit/SecurityAuditLogger.java

        private static final DateTimeFormatter ISO_FORMATTER = DateTimeFormatter.ISO_INSTANT;
    
        // Patterns for sensitive data - compiled once and cached
        private static final Pattern PASSWORD_PATTERN = Pattern.compile(
                "(?i)(password|passwd|pwd|secret|token|key|credential|auth)([\"']?\\s*[:=]\\s*[\"']?)([^\"',\\s]+)", Pattern.CASE_INSENSITIVE);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 26.6K bytes
    - Click Count (0)
  5. compat/maven-model/src/main/java/org/apache/maven/model/InputSource.java

        /**
         *
         *
         *             The location of the POM from which this POM was
         * imported from or {@code null} if unknown.
         */
        private InputLocation importedFrom;
    
        /**
         * Cached hashCode for performance.
         */
        private volatile int hashCode = 0;
    
        // ----------------/
        // - Constructors -/
        // ----------------/
    
        /**
         * Default constructor for InputSource.
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/ldap/LdapUserTest.java

                }
            });
    
            String[] permissions = ldapUser.getPermissions();
            assertNotNull(permissions);
            assertEquals(0, permissions.length);
    
            // Test that permissions are cached
            String[] permissions2 = ldapUser.getPermissions();
            assertSame(permissions, permissions2);
        }
    
        @Test
        public void test_getPermissions_withBaseDnOnly() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 16.9K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/thumbnail/impl/EmptyGeneratorTest.java

            // Initialize without container
            emptyGenerator = new EmptyGenerator();
    
            // Test that isAvailable returns true for EmptyGenerator
            assertTrue(emptyGenerator.isAvailable());
            // Test cached availability
            assertTrue(emptyGenerator.isAvailable());
        }
    
        @Test
        public void test_isTarget() {
            // Initialize without container
            emptyGenerator = new EmptyGenerator();
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 6.5K bytes
    - Click Count (0)
  8. cmd/bucket-quota.go

    		if len(dui.BucketsUsage) > 0 {
    			internalLogOnceIf(GlobalContext, fmt.Errorf("unable to retrieve usage information for bucket: %s, relying on older value cached in-memory: err(%v)", bucket, err), "bucket-usage-cache-"+bucket)
    		} else {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  9. cmd/jwt.go

    			owner = false
    		} else {
    			owner = globalActiveCred.AccessKey == ucred.ParentUser
    		}
    
    		groups = ucred.Groups
    	}
    
    	return claims, groups, owner, nil
    }
    
    // newCachedAuthToken returns the cached token.
    func newCachedAuthToken() func() string {
    	return func() string {
    		return globalNodeAuthToken
    	}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  10. internal/http/dial_dnscache.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package http
    
    import (
    	"context"
    	"net"
    	"time"
    )
    
    // LookupHost is a function to make custom lookupHost for optional cached DNS requests
    type LookupHost func(ctx context.Context, host string) (addrs []string, err error)
    
    // DialContextWithLookupHost is a helper function which returns `net.DialContext` function.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 2.6K bytes
    - Click Count (0)
Back to Top