Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 48 for newBar (0.38 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. src/crypto/cipher/ctr_aes_test.go

    			in := tt.in[0 : len(tt.in)-j]
    			ctr := cipher.NewCTR(c, tt.iv)
    			encrypted := make([]byte, len(in))
    			ctr.XORKeyStream(encrypted, in)
    			if out := tt.out[0:len(in)]; !bytes.Equal(out, encrypted) {
    				t.Errorf("%s/%d: CTR\ninpt %x\nhave %x\nwant %x", test, len(in), in, encrypted, out)
    			}
    		}
    
    		for j := 0; j <= 7; j += 7 {
    			in := tt.out[0 : len(tt.out)-j]
    			ctr := cipher.NewCTR(c, tt.iv)
    			plain := make([]byte, len(in))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 3K bytes
    - Viewed (0)
  9. src/crypto/cipher/ctr_test.go

    		}
    	}
    }
    
    func xor(a, b []byte) {
    	for i := range a {
    		a[i] ^= b[i]
    	}
    }
    
    func TestCTR(t *testing.T) {
    	for size := 64; size <= 1024; size *= 2 {
    		iv := make([]byte, size)
    		ctr := cipher.NewCTR(noopBlock(size), iv)
    		src := make([]byte, 1024)
    		for i := range src {
    			src[i] = 0xff
    		}
    		want := make([]byte, 1024)
    		copy(want, src)
    		counter := make([]byte, size)
    		for i := 1; i < len(want)/size; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 20 21:38:36 UTC 2015
    - 1.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/executor_tpuv1_outline_tpu_island.cc

        {
          Block &entry_block = outlined_func.getBody().front();
          auto loc = outlined_func.getLoc();
          for (Value operand : operands) {
            BlockArgument newArg = entry_block.addArgument(operand.getType(), loc);
            replaceAllUsesInRegionWith(operand, newArg, outlined_func.getBody());
          }
        }
    
        // The function is in place in the nested module, create a call and yield in
        // the original island.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.7K bytes
    - Viewed (0)
Back to top