Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1701 - 1710 of 2,585 for Get (0.02 sec)

  1. lib/time/mkzip.go

    // and its subdirectories, with no compression, suitable for package time.
    //
    // Usage:
    //
    //	go run ../../mkzip.go ../../zoneinfo.zip
    //
    // We use this program instead of 'zip -0 -r ../../zoneinfo.zip *' to get
    // a reproducible generator that does not depend on which version of the
    // external zip tool is used or the ordering of file names in a directory
    // or the current time.
    package main
    
    import (
    	"archive/zip"
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Mar 04 17:32:07 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. .github/workflows/check-commits.yml

              fetch-depth: 0
          - name: Set up JDK 17
            uses: actions/setup-java@v5
            with:
              distribution: 'temurin'
              java-version: '17'
          - name: Install Groovy
            run: sudo apt-get install groovy
          - name: List PR commits
            run: |
              git log --pretty=format:"%H" ${{ github.event.pull_request.base.sha }}..${{ github.event.pull_request.head.sha }} > pr_commits.txt
          - name: Check PR commits
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Thu Sep 04 22:13:34 UTC 2025
    - 3K bytes
    - Viewed (0)
  3. cmd/utils.go

    		ClientSessionCache:       tls.NewLRUClientSessionCache(tlsClientSessionCacheSize),
    	}
    
    	tlsClientIdentity := env.Get(xtls.EnvIdentityTLSEnabled, "") == config.EnableOn
    	if tlsClientIdentity {
    		tlsConfig.ClientAuth = tls.RequestClientCert
    	}
    
    	if secureCiphers := env.Get(api.EnvAPISecureCiphers, config.EnableOn) == config.EnableOn; secureCiphers {
    		tlsConfig.CipherSuites = crypto.TLSCiphers()
    	} else {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 33K bytes
    - Viewed (0)
  4. internal/lru/lru.go

    	evict := c.size > 0 && c.evictList.Length() > c.size
    	// Verify size not exceeded
    	if evict {
    		c.removeOldest()
    	}
    	return evict
    }
    
    // Get looks up a key's value from the cache.
    func (c *LRU[K, V]) Get(key K) (value V, ok bool) {
    	c.mu.Lock()
    	defer c.mu.Unlock()
    	var ent *Entry[K, V]
    	if ent, ok = c.items[key]; ok {
    		// Expired item check
    		if time.Now().After(ent.ExpiresAt) {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Apr 25 08:22:26 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/primitives/BooleansTest.java

        List<Boolean> list = Booleans.asList(true, false);
        assertThat(list.get(0)).isSameInstanceAs(true);
        assertThat(list.get(1)).isSameInstanceAs(false);
        @SuppressWarnings("deprecation")
        Boolean anotherTrue = new Boolean(true);
        @SuppressWarnings("deprecation")
        Boolean anotherFalse = new Boolean(false);
        list.set(0, anotherTrue);
        assertThat(list.get(0)).isSameInstanceAs(true);
        list.set(1, anotherFalse);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25K bytes
    - Viewed (0)
  6. android/guava-tests/benchmark/com/google/common/collect/MapsMemoryBenchmark.java

      CollectionBenchmarkSampleData elems;
    
      @Param({"0", "1", "100", "10000"})
      int elements;
    
      @BeforeExperiment
      public void prepareContents() throws Exception {
        mapsImpl = mapEnums.get(implName);
        elems = new CollectionBenchmarkSampleData(elements);
        contents = new HashMap<>();
        for (Element key : elems.getValuesInSet()) {
          contents.put(key, key);
        }
        map = mapsImpl.create(contents);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/escape/ArrayBasedEscaperMap.java

        if (map.isEmpty()) {
          return EMPTY_REPLACEMENT_ARRAY;
        }
        char max = max(map.keySet());
        char[][] replacements = new char[max + 1][];
        for (Character c : map.keySet()) {
          replacements[c] = map.get(c).toCharArray();
        }
        return replacements;
      }
    
      // Immutable empty array for when there are no replacements.
      @SuppressWarnings("ConstantCaseForConstants") // An empty array is a constant.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 28 01:26:26 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/SingletonImmutableBiMap.java

        this.singleKey = singleKey;
        this.singleValue = singleValue;
        this.inverse = inverse;
      }
    
      @Override
      public @Nullable V get(@Nullable Object key) {
        return singleKey.equals(key) ? singleValue : null;
      }
    
      @Override
      public int size() {
        return 1;
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  9. .github/workflows/release-branch-cherrypick.yml

        steps:
        - name: Checkout code
          uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
          with:
            ref: ${{ github.event.inputs.release_branch }}
        - name: Get some helpful info for formatting
          id: cherrypick
          run: |
              git config --global user.name "TensorFlow Release Automation"
              git config --global user.email "******@****.***"
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Mon Sep 01 15:40:11 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/RequestHeader.java

    import org.codelibs.core.lang.StringUtil;
    
    /**
     * Represents an HTTP request header with a name and value.
     * This class is used to encapsulate the header information for HTTP requests.
     * It provides methods to get and set the name and value of the header,
     * as well as a method to validate the header.
     *
     * <p>Example usage:</p>
     * <pre>
     *     RequestHeader header = new RequestHeader("Content-Type", "application/json");
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3K bytes
    - Viewed (0)
Back to top