Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 44 for makemap (0.45 sec)

  1. pkg/apis/core/v1/defaults_test.go

    					break
    				}
    				// if we don't already have a value, and contain structs, add an empty item so we can recurse
    				item := reflect.New(visit.value.Type().Elem()).Elem()
    				visit.value.Set(reflect.MakeMap(visit.value.Type()))
    				visit.value.SetMapIndex(reflect.New(visit.value.Type().Key()).Elem(), item)
    				toVisit = append(toVisit, testPath{path: visit.path + "[*]", value: item})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 84.4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/MapMakerInternalMap.java

        private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException {
          in.defaultReadObject();
          MapMaker mapMaker = readMapMaker(in);
          delegate = mapMaker.makeMap();
          readEntries(in);
        }
    
        private Object readResolve() {
          return delegate;
        }
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 90.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

        private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException {
          in.defaultReadObject();
          MapMaker mapMaker = readMapMaker(in);
          delegate = mapMaker.makeMap();
          readEntries(in);
        }
    
        private Object readResolve() {
          return delegate;
        }
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 90.8K bytes
    - Viewed (0)
  4. tensorflow/cc/framework/scope.cc

      return Scope(new Impl(graph, new Status, new Impl::NameMap, refiner,
                            /* disable_shape_inference */ false));
    }
    
    Scope Scope::DisabledShapeInferenceScope() {
      Graph* graph = new Graph(OpRegistry::Global());
      ShapeRefiner* refiner =
          new ShapeRefiner(graph->versions(), graph->op_registry());
      return Scope(new Impl(graph, new Status, new Impl::NameMap, refiner,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 05:57:22 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/text/language/parse.go

    	defer func() {
    		if recover() != nil {
    			t = Tag{}
    			err = language.ErrSyntax
    		}
    	}()
    
    	tt, err := language.Parse(s)
    	if err != nil {
    		return makeTag(tt), err
    	}
    	tt, changed := canonicalize(c, tt)
    	if changed {
    		tt.RemakeString()
    	}
    	return makeTag(tt), err
    }
    
    // Compose creates a Tag from individual parts, which may be of type Tag, Base,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  6. src/go/constant/example_test.go

    import (
    	"fmt"
    	"go/constant"
    	"go/token"
    	"math"
    	"slices"
    )
    
    func Example_complexNumbers() {
    	// Create the complex number 2.3 + 5i.
    	ar := constant.MakeFloat64(2.3)
    	ai := constant.MakeImag(constant.MakeInt64(5))
    	a := constant.BinaryOp(ar, token.ADD, ai)
    
    	// Compute (2.3 + 5i) * 11.
    	b := constant.MakeUint64(11)
    	c := constant.BinaryOp(a, token.MUL, b)
    
    	// Convert c into a complex128.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  7. 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)
  8. src/cmd/compile/internal/types2/const.go

    				*rounded = constant.BinaryOp(re, token.ADD, constant.MakeImag(im))
    				return true
    			}
    		case Complex128:
    			if rounded == nil {
    				return fitsFloat64(constant.Real(x)) && fitsFloat64(constant.Imag(x))
    			}
    			re := roundFloat64(constant.Real(x))
    			im := roundFloat64(constant.Imag(x))
    			if re != nil && im != nil {
    				*rounded = constant.BinaryOp(re, token.ADD, constant.MakeImag(im))
    				return true
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 19:32:17 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  9. 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)
  10. src/go/types/const.go

    				*rounded = constant.BinaryOp(re, token.ADD, constant.MakeImag(im))
    				return true
    			}
    		case Complex128:
    			if rounded == nil {
    				return fitsFloat64(constant.Real(x)) && fitsFloat64(constant.Imag(x))
    			}
    			re := roundFloat64(constant.Real(x))
    			im := roundFloat64(constant.Imag(x))
    			if re != nil && im != nil {
    				*rounded = constant.BinaryOp(re, token.ADD, constant.MakeImag(im))
    				return true
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 7.6K bytes
    - Viewed (0)
Back to top