Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 124 for newBar (0.17 sec)

  1. src/runtime/mspanset.go

    		if top < spineLen {
    			unlock(&b.spineLock)
    			goto retry
    		}
    
    		spine := b.spine.Load()
    		if spineLen == b.spineCap {
    			// Grow the spine.
    			newCap := b.spineCap * 2
    			if newCap == 0 {
    				newCap = spanSetInitSpineCap
    			}
    			newSpine := persistentalloc(newCap*goarch.PtrSize, cpu.CacheLineSize, &memstats.gcMiscSys)
    			if b.spineCap != 0 {
    				// Blocks are allocated off-heap, so
    				// no write barriers.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  2. src/go/internal/gcimporter/ureader.go

    				methods := make([]*types.Func, iface.NumExplicitMethods())
    				for i := range methods {
    					fn := iface.ExplicitMethod(i)
    					sig := fn.Type().(*types.Signature)
    
    					recv := types.NewVar(fn.Pos(), fn.Pkg(), "", named)
    					methods[i] = types.NewFunc(fn.Pos(), fn.Pkg(), fn.Name(), types.NewSignature(recv, sig.Params(), sig.Results(), sig.Variadic()))
    				}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  3. operator/cmd/mesh/testdata/manifest-generate/input/pilot_k8s_settings.yaml

              - name: POD_NAME
                valueFrom:
                  fieldRef:
                    apiVersion: v1
                    fieldPath: new.path
              - name: GODEBUG
                value: gctrace=111
              - name: NEW_VAR
                value: new_value
            hpaSpec:
              maxReplicas: 333
              scaleTargetRef:
                name: istio-pilot
              metrics:
                - type: Resource
                  resource:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Dec 06 02:56:54 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/universe.go

    	// type error interface{ Error() string }
    	{
    		obj := NewTypeName(nopos, nil, "error", nil)
    		obj.setColor(black)
    		typ := NewNamed(obj, nil, nil)
    
    		// error.Error() string
    		recv := NewVar(nopos, nil, "", typ)
    		res := NewVar(nopos, nil, "", Typ[String])
    		sig := NewSignatureType(recv, nil, nil, nil, NewTuple(res), false)
    		err := NewFunc(nopos, nil, "Error", sig)
    
    		// interface{ Error() string }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  5. src/go/types/universe.go

    	// type error interface{ Error() string }
    	{
    		obj := NewTypeName(nopos, nil, "error", nil)
    		obj.setColor(black)
    		typ := NewNamed(obj, nil, nil)
    
    		// error.Error() string
    		recv := NewVar(nopos, nil, "", typ)
    		res := NewVar(nopos, nil, "", Typ[String])
    		sig := NewSignatureType(recv, nil, nil, nil, NewTuple(res), false)
    		err := NewFunc(nopos, nil, "Error", sig)
    
    		// interface{ Error() string }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  6. src/crypto/issue21104_test.go

    	cipher, err := rc4.NewCipher([]byte{0})
    	if err != nil {
    		panic(err)
    	}
    	test(t, "RC4", cipherText, cipher.XORKeyStream)
    }
    func TestCTROutOfBoundsWrite(t *testing.T) {
    	testBlock(t, "CTR", cipher.NewCTR)
    }
    func TestOFBOutOfBoundsWrite(t *testing.T) {
    	testBlock(t, "OFB", cipher.NewOFB)
    }
    func TestCFBEncryptOutOfBoundsWrite(t *testing.T) {
    	testBlock(t, "CFB Encrypt", cipher.NewCFBEncrypter)
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 06 06:03:36 UTC 2017
    - 1.8K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/cel/value.go

    	if found {
    		return field.Ref.ExprValue()
    	}
    	fieldDef, found := o.objectType.Fields[nameStr]
    	if !found {
    		return types.NewErr("no such field: %s", nameStr)
    	}
    	defValue := fieldDef.DefaultValue()
    	if defValue != nil {
    		return defValue
    	}
    	return types.NewErr("no default for type: %s", fieldDef.TypeName())
    }
    
    // Type returns the CEL type value of the object.
    func (o *ObjectValue) Type() ref.Type {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 10 22:05:55 UTC 2022
    - 20.5K bytes
    - Viewed (0)
  8. src/cmd/api/testdata/src/pkg/p4/golden.txt

    pkg p4, func NewPair[$0 interface{ M }, $1 interface{ ~int }]($0, $1) Pair[$0, $1]
    pkg p4, method (Pair[$0, $1]) Second() $1
    pkg p4, method (Pair[$0, $1]) First() $0
    pkg p4, type Pair[$0 interface{ M }, $1 interface{ ~int }] struct
    pkg p4, func Clone[$0 interface{ ~[]$1 }, $1 interface{}]($0) $0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 26 19:39:32 UTC 2024
    - 329 bytes
    - Viewed (0)
  9. src/crypto/aes/modes.go

    }
    
    // ctrAble is implemented by cipher.Blocks that can provide an optimized
    // implementation of CTR through the cipher.Stream interface.
    // See crypto/cipher/ctr.go.
    type ctrAble interface {
    	NewCTR(iv []byte) cipher.Stream
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 14 15:32:26 UTC 2018
    - 1.1K bytes
    - Viewed (0)
  10. src/crypto/cipher/benchmark_test.go

    	benchmarkAESStream(b, cipher.NewOFB, make([]byte, almost1K))
    }
    
    func BenchmarkAESCTR1K(b *testing.B) {
    	benchmarkAESStream(b, cipher.NewCTR, make([]byte, almost1K))
    }
    
    func BenchmarkAESCTR8K(b *testing.B) {
    	benchmarkAESStream(b, cipher.NewCTR, make([]byte, almost8K))
    }
    
    func BenchmarkAESCBCEncrypt1K(b *testing.B) {
    	buf := make([]byte, 1024)
    	b.SetBytes(int64(len(buf)))
    
    	var key [16]byte
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 28 19:13:50 UTC 2021
    - 3.3K bytes
    - Viewed (0)
Back to top