Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for makeRaw (0.13 sec)

  1. guava/src/com/google/common/collect/MapMaker.java

     *
     * <p>Usage example:
     *
     * <pre>{@code
     * ConcurrentMap<Request, Stopwatch> timers = new MapMaker()
     *     .concurrencyLevel(4)
     *     .weakKeys()
     *     .makeMap();
     * }</pre>
     *
     * <p>These features are all optional; {@code new MapMaker().makeMap()} returns a valid concurrent
     * map that behaves similarly to a {@link ConcurrentHashMap}.
     *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Mar 13 14:30:51 UTC 2023
    - 12.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/MapMaker.java

     *
     * <p>Usage example:
     *
     * <pre>{@code
     * ConcurrentMap<Request, Stopwatch> timers = new MapMaker()
     *     .concurrencyLevel(4)
     *     .weakKeys()
     *     .makeMap();
     * }</pre>
     *
     * <p>These features are all optional; {@code new MapMaker().makeMap()} returns a valid concurrent
     * map that behaves similarly to a {@link ConcurrentHashMap}.
     *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Mar 13 14:30:51 UTC 2023
    - 12.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/BenchmarkHelpers.java

            checkState(newMap instanceof MapMakerInternalMap);
            newMap.putAll(map);
            return newMap;
          }
        },
        MapMakerStrongKeysWeakValues {
          @Override
          public <K extends Comparable<K>, V> Map<K, V> create(Map<K, V> map) {
            ConcurrentMap<K, V> newMap = new MapMaker().weakValues().makeMap();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Mar 04 04:06:35 UTC 2022
    - 12.3K bytes
    - Viewed (0)
  4. istioctl/pkg/multixds/gather.go

    	}
    	if len(pods) == 0 {
    		return nil, ControlPlaneNotFoundError{istioNamespace}
    	}
    
    	responses := []*discovery.DiscoveryResponse{}
    	xdsOpts := clioptions.CentralControlPlaneOptions{
    		XDSSAN:  makeSan(istioNamespace, kubeClient.Revision()),
    		CertDir: centralOpts.CertDir,
    		Timeout: centralOpts.Timeout,
    	}
    	dialOpts, err := xds.DialOptions(xdsOpts, istioNamespace, tokenServiceAccount, kubeClient)
    	if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 08 08:38:19 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/text/language/language.go

    )
    
    // Tag represents a BCP 47 language tag. It is used to specify an instance of a
    // specific language or locale. All language tag values are guaranteed to be
    // well-formed.
    type Tag compact.Tag
    
    func makeTag(t language.Tag) (tag Tag) {
    	return Tag(compact.Make(t))
    }
    
    func (t *Tag) tag() language.Tag {
    	return (*compact.Tag)(t).Tag()
    }
    
    func (t *Tag) isCompact() bool {
    	return (*compact.Tag)(t).IsCompact()
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/walk/builtin.go

    		// BUCKETSIZE runtime.makemap will allocate the buckets on the heap.
    		// Maximum key and elem size is 128 bytes, larger objects
    		// are stored with an indirection. So max bucket size is 2048+eps.
    		if !ir.IsConst(hint, constant.Int) ||
    			constant.Compare(hint.Val(), token.LEQ, constant.MakeInt64(abi.MapBucketCount)) {
    
    			// In case hint is larger than BUCKETSIZE runtime.makemap
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 22:35:22 UTC 2024
    - 31.2K bytes
    - Viewed (0)
  7. src/go/constant/value.go

    func vtoc(x Value) complexVal    { return complexVal{x, int64Val(0)} }
    
    func makeInt(x *big.Int) Value {
    	if x.IsInt64() {
    		return int64Val(x.Int64())
    	}
    	return intVal{x}
    }
    
    func makeRat(x *big.Rat) Value {
    	a := x.Num()
    	b := x.Denom()
    	if smallInt(a) && smallInt(b) {
    		// ok to remain fraction
    		return ratVal{x}
    	}
    	// components too large => switch to float
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 34K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

            new MapMaker().weakKeys().makeMap();
    
        /**
         * The map tracking lock nodes that can cause a lock acquisition cycle if acquired before this
         * node.
         */
        final Map<LockGraphNode, PotentialDeadlockException> disallowedPriorLocks =
            new MapMaker().weakKeys().makeMap();
    
        final String lockName;
    
        LockGraphNode(String lockName) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Dec 15 19:31:54 UTC 2023
    - 35.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

            new MapMaker().weakKeys().makeMap();
    
        /**
         * The map tracking lock nodes that can cause a lock acquisition cycle if acquired before this
         * node.
         */
        final Map<LockGraphNode, PotentialDeadlockException> disallowedPriorLocks =
            new MapMaker().weakKeys().makeMap();
    
        final String lockName;
    
        LockGraphNode(String lockName) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Dec 15 19:31:54 UTC 2023
    - 35.9K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/pkg/runtime/converter.go

    		return fmt.Errorf("cannot copy map with non-assignable keys: %v %v", st.Key(), dt.Key())
    	}
    
    	if sv.IsNil() {
    		dv.Set(reflect.Zero(dt))
    		return nil
    	}
    	dv.Set(reflect.MakeMap(dt))
    	for _, key := range sv.MapKeys() {
    		value := reflect.New(dt.Elem()).Elem()
    		if val := unwrapInterface(sv.MapIndex(key)); val.IsValid() {
    			if err := fromUnstructured(val, value, ctx); err != nil {
    				return err
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 11 16:02:13 UTC 2023
    - 24.9K bytes
    - Viewed (0)
Back to top