Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 82 for makemap (0.21 sec)

  1. src/cmd/compile/internal/typecheck/const.go

    	}
    	return constant.MakeFloat64(f)
    }
    
    func makeComplex(real, imag constant.Value) constant.Value {
    	return constant.BinaryOp(constant.ToFloat(real), token.ADD, constant.MakeImag(constant.ToFloat(imag)))
    }
    
    // DefaultLit on both nodes simultaneously;
    // if they're both ideal going in they better
    // get the same type going out.
    // force means must assign concrete (non-ideal) type.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 15:20:28 UTC 2023
    - 10.5K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/syscall_netbsd.go

    	mremapFixed     = MAP_FIXED
    	mremapDontunmap = 0
    	mremapMaymove   = 0
    )
    
    //sys	mremapNetBSD(oldp uintptr, oldsize uintptr, newp uintptr, newsize uintptr, flags int) (xaddr uintptr, err error) = SYS_MREMAP
    
    func mremap(oldaddr uintptr, oldlength uintptr, newlength uintptr, flags int, newaddr uintptr) (uintptr, error) {
    	return mremapNetBSD(oldaddr, oldlength, newaddr, newlength, flags)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 10 16:32:44 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  3. pkg/workloadapi/workload.proto

      // TODO: support this field
      string hostname = 21;
    
      // Network represents the network this workload is on. This may be elided for the default network.
      // A (network,address) pair makeup a unique key for a workload *at a point in time*.
      string network = 4;
    
      // Protocol that should be used to connect to this workload.
      TunnelProtocol tunnel_protocol = 5;
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 18:02:35 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  4. pilot/pkg/serviceregistry/aggregate/controller_test.go

    			t.Fatal("Returned Instance is incorrect")
    		}
    	}
    
    	// Get Instances from mockAdapter2
    	instances = aggregateCtl.GetProxyServiceTargets(&model.Proxy{IPAddresses: []string{mock.MakeIP(mock.WorldService, 1)}})
    	if len(instances) != 6 {
    		t.Fatalf("Returned GetProxyServiceTargets' amount %d is not correct", len(instances))
    	}
    	for _, inst := range instances {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 06:28:11 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  5. pilot/pkg/model/telemetry.go

    						mp[mode][metricName] = override
    					}
    				}
    			}
    		}
    	}
    
    	processed := map[string]metricsConfig{}
    	for provider, modeMap := range providers {
    		tmm := processed[provider]
    		tmm.ReportingInterval = reportingIntervals[provider]
    
    		for mode, metricMap := range modeMap {
    			key := metricProviderModeKey(provider, mode)
    			if disabledAllMetricsProviders.Contains(key) {
    				switch mode {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 18:14:09 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"Int32", Const, 0},
    		{"Int64", Const, 0},
    		{"Int8", Const, 0},
    		{"Interface", Const, 0},
    		{"Invalid", Const, 0},
    		{"Kind", Type, 0},
    		{"MakeChan", Func, 0},
    		{"MakeFunc", Func, 1},
    		{"MakeMap", Func, 0},
    		{"MakeMapWithSize", Func, 9},
    		{"MakeSlice", Func, 0},
    		{"Map", Const, 0},
    		{"MapIter", Type, 12},
    		{"MapOf", Func, 1},
    		{"Method", Type, 0},
    		{"Method.Func", Field, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  7. src/internal/pkgbits/decoder.go

    // bitstream.
    func (r *Decoder) Value() constant.Value {
    	r.Sync(SyncValue)
    	isComplex := r.Bool()
    	val := r.scalar()
    	if isComplex {
    		val = constant.BinaryOp(val, token.ADD, constant.MakeImag(r.scalar()))
    	}
    	return val
    }
    
    func (r *Decoder) scalar() constant.Value {
    	switch tag := CodeVal(r.Code(SyncVal)); tag {
    	default:
    		panic(fmt.Errorf("unexpected scalar tag: %v", tag))
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 27 20:58:46 UTC 2022
    - 13.2K bytes
    - Viewed (0)
  8. src/go/internal/gcimporter/iimport.go

    		val = constant.Make(&x)
    
    	case types.IsFloat:
    		val = r.mpfloat(b)
    
    	case types.IsComplex:
    		re := r.mpfloat(b)
    		im := r.mpfloat(b)
    		val = constant.BinaryOp(re, token.ADD, constant.MakeImag(im))
    
    	default:
    		errorf("unexpected type %v", typ) // panics
    		panic("unreachable")
    	}
    
    	return
    }
    
    func intSize(b *types.Basic) (signed bool, maxBytes uint) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ir/fmt.go

    		n := n.(*InlinedCallExpr)
    		// TODO(mdempsky): Print Init and/or Body?
    		if len(n.ReturnVars) == 1 {
    			fmt.Fprintf(s, "%v", n.ReturnVars[0])
    			return
    		}
    		fmt.Fprintf(s, "(.%v)", n.ReturnVars)
    
    	case OMAKEMAP, OMAKECHAN, OMAKESLICE:
    		n := n.(*MakeExpr)
    		if n.Cap != nil {
    			fmt.Fprintf(s, "make(%v, %v, %v)", n.Type(), n.Len, n.Cap)
    			return
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 15:20:28 UTC 2023
    - 26K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/typecheck/func.go

    				n.SetType(nil)
    				return n
    			}
    			if !checkmake(t, "size", &l) {
    				n.SetType(nil)
    				return n
    			}
    		} else {
    			l = ir.NewInt(base.Pos, 0)
    		}
    		nn = ir.NewMakeExpr(n.Pos(), ir.OMAKEMAP, l, nil)
    		nn.SetEsc(n.Esc())
    
    	case types.TCHAN:
    		l = nil
    		if i < len(args) {
    			l = args[i]
    			i++
    			l = Expr(l)
    			l = DefaultLit(l, types.Types[types.TINT])
    			if l.Type() == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 06 15:23:18 UTC 2024
    - 21.1K bytes
    - Viewed (0)
Back to top