Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 1,680 for Keys (0.09 sec)

  1. src/cmd/dist/buildgo.go

    	var buf strings.Builder
    
    	fmt.Fprintf(&buf, "func %s(goos, goarch string) string {\n", name)
    	fmt.Fprintf(&buf, "\tswitch goos+`/`+goarch {\n")
    	var keys []string
    	for k := range defaultcc {
    		if k != "" {
    			keys = append(keys, k)
    		}
    	}
    	sort.Strings(keys)
    	for _, k := range keys {
    		fmt.Fprintf(&buf, "\tcase %s:\n\t\treturn %s\n", quote(k), quote(defaultcc[k]))
    	}
    	fmt.Fprintf(&buf, "\t}\n")
    	if cc := defaultcc[""]; cc != "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 13 20:44:00 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  2. src/net/textproto/header.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package textproto
    
    // A MIMEHeader represents a MIME-style header mapping
    // keys to sets of values.
    type MIMEHeader map[string][]string
    
    // Add adds the key, value pair to the header.
    // It appends to any existing values associated with key.
    func (h MIMEHeader) Add(key, value string) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  3. src/maps/iter.go

    	return func(yield func(K, V) bool) {
    		for k, v := range m {
    			if !yield(k, v) {
    				return
    			}
    		}
    	}
    }
    
    // Keys returns an iterator over keys in m.
    // The iteration order is not specified and is not guaranteed
    // to be the same from one call to the next.
    func Keys[Map ~map[K]V, K comparable, V any](m Map) iter.Seq[K] {
    	return func(yield func(K) bool) {
    		for k := range m {
    			if !yield(k) {
    				return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 13:41:45 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/adapter/WeakIdentityHashMap.java

    import java.lang.ref.WeakReference;
    import java.util.HashMap;
    import java.util.Set;
    
    /**
     * A specialized map wrapper, that uses weak references for keys and stores
     * values as strong references. It allows the garbage collector to collect keys when they are no longer in use.
     *
     * Keys are stored wrapped in {@code WeakIdentityHashMap.WeakKey} weak reference implementation, that uses {@code System.identityHashCode}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/cache/AbstractCache.java

       * {@inheritDoc}
       *
       * <p>This implementation of {@code getAllPresent} lacks any insight into the internal cache data
       * structure, and is thus forced to return the query keys instead of the cached keys. This is only
       * possible with an unsafe cast which requires {@code keys} to actually be of type {@code K}.
       *
       * @since 11.0
       */
      /*
       * <? extends Object> is mostly the same as <?> to plain Java. But to nullness checkers, they
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 15 18:00:07 UTC 2021
    - 9.1K bytes
    - Viewed (0)
  6. docs_src/generate_clients/tutorial004.js

      try {
        const data = await fs.promises.readFile(filePath)
        const openapiContent = JSON.parse(data)
    
        const paths = openapiContent.paths
        for (const pathKey of Object.keys(paths)) {
          const pathData = paths[pathKey]
          for (const method of Object.keys(pathData)) {
            const operation = pathData[method]
            if (operation.tags && operation.tags.length > 0) {
              const tag = operation.tags[0]
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Mar 14 11:40:05 UTC 2024
    - 1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/cache/ForwardingCache.java

       * differ: <? extends Object> means "non-null types," while <?> means "all types."
       */
      public ImmutableMap<K, V> getAllPresent(Iterable<? extends Object> keys) {
        return delegate().getAllPresent(keys);
      }
    
      /** @since 11.0 */
      @Override
      public void put(K key, V value) {
        delegate().put(key, value);
      }
    
      /** @since 12.0 */
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 15 18:00:07 UTC 2021
    - 3.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/cache/ForwardingCache.java

       * differ: <? extends Object> means "non-null types," while <?> means "all types."
       */
      public ImmutableMap<K, V> getAllPresent(Iterable<? extends Object> keys) {
        return delegate().getAllPresent(keys);
      }
    
      /** @since 11.0 */
      @Override
      public void put(K key, V value) {
        delegate().put(key, value);
      }
    
      /** @since 12.0 */
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 15 18:00:07 UTC 2021
    - 3.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/pac/kerberos/KerberosTicket.java

                    byte[] crypt = encOctets.getOctets();
    
                    if ( keys == null ) {
                        try {
                            keys = new KerberosCredentials().getKeys();
                        }
                        catch ( LoginException e ) {
                            throw new PACDecodingException("Login failure", e);
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Mon Oct 02 12:02:06 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test.py

            self._output_saved_model_path,
            signature_keys=signatures.keys(),
            tags=tags,
        )
    
        # The original and converted model should have the same signature map.
        self.assertAllInSet(
            list(original_signature_map.keys()), set(signatures.keys())
        )
        self.assertDictEqual(original_signature_map, converted_signature_map)
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 03:36:50 UTC 2024
    - 235.6K bytes
    - Viewed (0)
Back to top