Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 631 for _Assign (0.14 sec)

  1. src/cmd/compile/internal/dwarfgen/dwinl.go

    	}
    
    	// Post process the map above to assign child indices to vars.
    	//
    	// A given variable is treated differently depending on whether it
    	// is part of the top-level function (ii == 0) or if it was
    	// produced as a result of an inline (ii != 0).
    	//
    	// If a variable was not produced by an inline and its containing
    	// function was not inlined, then we just assign an ordering of
    	// based on variable name.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:45:07 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  2. src/strconv/decimal.go

    // independent of the number of digits.)
    func trim(a *decimal) {
    	for a.nd > 0 && a.d[a.nd-1] == '0' {
    		a.nd--
    	}
    	if a.nd == 0 {
    		a.dp = 0
    	}
    }
    
    // Assign v to a.
    func (a *decimal) Assign(v uint64) {
    	var buf [24]byte
    
    	// Write reversed decimal in buf.
    	n := 0
    	for v > 0 {
    		v1 := v / 10
    		v -= 10 * v1
    		buf[n] = byte(v + '0')
    		n++
    		v = v1
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Jul 15 19:41:25 UTC 2017
    - 11K bytes
    - Viewed (0)
  3. src/log/slog/attr_test.go

    // license that can be found in the LICENSE file.
    
    package slog
    
    import (
    	"internal/testenv"
    	"testing"
    	"time"
    )
    
    func TestAttrNoAlloc(t *testing.T) {
    	testenv.SkipIfOptimizationOff(t)
    	// Assign values just to make sure the compiler doesn't optimize away the statements.
    	var (
    		i int64
    		u uint64
    		f float64
    		b bool
    		s string
    		x any
    		p = &i
    		d time.Duration
    	)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 18:23:25 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  4. pilot/pkg/config/kube/gateway/testdata/reference-policy-tls.status.yaml.golden

    spec: null
    status:
      conditions:
      - lastTransitionTime: fake
        message: Resource accepted
        reason: Accepted
        status: "True"
        type: Accepted
      - lastTransitionTime: fake
        message: 'Failed to assign to any requested addresses: port 443 not found for
          hostname "istio-ingressgateway.istio-system.svc.domain.suffix"'
        reason: AddressNotUsable
        status: "False"
        type: Programmed
      listeners:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 07 20:48:23 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/partial-device-name.pbtxt

    node {
      name: "Add"
      op: "Add"
      input: "input0"
      input: "input1"
      # If device type or id doesn't exist, assign a default one (device:CPU:0).
      device: "/job:localhost/replica:0/task:0"
      attr {
        key: "T"
        value {
          type: DT_INT32
        }
      }
    }
    node {
      name: "Mul"
      op: "Mul"
      input: "Add"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 26 20:48:36 UTC 2021
    - 1.8K bytes
    - Viewed (0)
  6. pilot/pkg/config/kube/gateway/testdata/multi-gateway.status.yaml.golden

        message: 'Assigned to service(s) example.com:34000, example.com:80, istio-ingressgateway.istio-system.svc.domain.suffix:34000,
          and istio-ingressgateway.istio-system.svc.domain.suffix:80, but failed to assign
          to all requested addresses: hostname "istio-ingressgateway.not-default.svc.domain.suffix"
          not found'
        reason: AddressNotUsable
        status: "False"
        type: Programmed
      listeners:
      - attachedRoutes: 0
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 07 20:48:23 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/sparsetree.go

    func (t SparseTree) numberBlock(b *Block, n int32) int32 {
    	// reserve n for entry-1, assign n+1 to entry
    	n++
    	t[b.ID].entry = n
    	// reserve n+1 for entry+1, n+2 is next free number
    	n += 2
    	for c := t[b.ID].child; c != nil; c = t[c.ID].sibling {
    		n = t.numberBlock(c, n) // preserves n = next free number
    	}
    	// reserve n for exit-1, assign n+1 to exit
    	n++
    	t[b.ID].exit = n
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 17:59:44 UTC 2022
    - 8.1K bytes
    - Viewed (0)
  8. src/go/types/mono.go

    	for i, tpar := range tparams {
    		pos := pos
    		if i < len(xlist) {
    			pos = startPos(xlist[i])
    		}
    		w.assign(pkg, pos, tpar, targs[i])
    	}
    }
    
    // assign records that tpar was instantiated as targ at pos.
    func (w *monoGraph) assign(pkg *Package, pos token.Pos, tpar *TypeParam, targ Type) {
    	// Go generics do not have an analog to C++`s template-templates,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/api/meta/help.go

    	for i := 0; i < len; i++ {
    		raw := items.Index(i)
    		if takeAddr {
    			if allocNew {
    				// shallow copy to avoid retaining a reference to the original list item
    				itemCopy := reflect.New(raw.Type())
    				// assign to itemCopy and type-assert
    				itemCopy.Elem().Set(raw)
    				// reflect.New will guarantee that itemCopy must be a pointer.
    				raw = itemCopy
    			} else {
    				raw = raw.Addr()
    			}
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 29 16:25:43 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  10. src/cmd/vendor/github.com/google/pprof/internal/report/stacks.go

    		if fn := line.Function; fn != nil {
    			x.FullName = fn.Name
    			x.FileName = fn.Filename
    			if !seenFunctions[fn.Name] {
    				x.UniqueName = fn.Name
    				seenFunctions[fn.Name] = true
    			} else {
    				// Assign a different name so pivoting picks this function.
    				x.UniqueName = fmt.Sprint(fn.Name, "#", fn.ID)
    			}
    		} else {
    			x.FullName = fmt.Sprintf("?%d?", unknownIndex)
    			x.UniqueName = x.FullName
    			unknownIndex++
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 5.6K bytes
    - Viewed (0)
Back to top