Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 90 for newDir (0.27 sec)

  1. src/crypto/ecdsa/ecdsa.go

    	}
    
    	// Create a CSPRNG that xors a stream of zeros with
    	// the output of the AES-CTR instance.
    	const aesIV = "IV for ECDSA CTR"
    	return &cipher.StreamReader{
    		R: zeroReader,
    		S: cipher.NewCTR(block, []byte(aesIV)),
    	}, nil
    }
    
    type zr struct{}
    
    var zeroReader = zr{}
    
    // Read replaces the contents of dst with zeros. It is safe for concurrent use.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:18 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/walk/assign.go

    	n.Rhs = []ir.Node{call}
    	n.SetOp(ir.OAS2FUNC)
    
    	// don't generate a = *var if a is _
    	if ir.IsBlank(a) {
    		return walkExpr(typecheck.Stmt(n), init)
    	}
    
    	var_ := typecheck.TempAt(base.Pos, ir.CurFunc, types.NewPtr(t.Elem()))
    	var_.SetTypecheck(1)
    	var_.MarkNonNil() // mapaccess always returns a non-nil pointer
    
    	n.Lhs[0] = var_
    	init.Append(walkExpr(n, init))
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:09:06 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  3. src/crypto/tls/handshake_client_test.go

    				defer close(signalChan)
    
    				buf := make([]byte, 256)
    				n, err := client.Read(buf)
    
    				if test.checkRenegotiationError != nil {
    					newErr := test.checkRenegotiationError(i, err)
    					if err != nil && newErr == nil {
    						return
    					}
    					err = newErr
    				}
    
    				if err != nil {
    					t.Errorf("Client.Read failed after renegotiation #%d: %s", i, err)
    					return
    				}
    
    				buf = buf[:n]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 88.7K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/phases/kubeconfig/kubeconfig.go

    	clientCertConfig := newClientCertConfigFromKubeConfigSpec(spec)
    
    	clientKey, err := pkiutil.NewPrivateKey(clientCertConfig.EncryptionAlgorithm)
    	if err != nil {
    		return err
    	}
    	clientCSR, err := pkiutil.NewCSR(clientCertConfig, clientKey)
    	if err != nil {
    		return err
    	}
    
    	encodedClientKey, err := keyutil.MarshalPrivateKeyToPEM(clientKey)
    	if err != nil {
    		return err
    	}
    
    	var (
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:04:18 UTC 2024
    - 27K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/walk/expr.go

    		mapFn = mapfn("mapaccess1_fat", t, true)
    	default:
    		mapFn = mapfn(mapaccess1[fast], t, false)
    	}
    	call := mkcall1(mapFn, nil, init, args...)
    	call.SetType(types.NewPtr(t.Elem()))
    	call.MarkNonNil() // mapaccess1* and mapassign always return non-nil pointers.
    	star := ir.NewStarExpr(base.Pos, call)
    	star.SetType(t.Elem())
    	star.SetTypecheck(1)
    	return star
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:34:01 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  6. test/escape2.go

    	**xxx = *yy
    }
    
    func foo18(y int) { // ERROR "moved to heap: y$"
    	*xxx = &y
    }
    
    func foo19(y int) {
    	**xxx = y
    }
    
    type Bar struct {
    	i  int
    	ii *int
    }
    
    func NewBar() *Bar {
    	return &Bar{42, nil} // ERROR "&Bar{...} escapes to heap$"
    }
    
    func NewBarp(x *int) *Bar { // ERROR "leaking param: x$"
    	return &Bar{42, x} // ERROR "&Bar{...} escapes to heap$"
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 35.1K bytes
    - Viewed (0)
  7. test/escape2n.go

    	**xxx = *yy
    }
    
    func foo18(y int) { // ERROR "moved to heap: y$"
    	*xxx = &y
    }
    
    func foo19(y int) {
    	**xxx = y
    }
    
    type Bar struct {
    	i  int
    	ii *int
    }
    
    func NewBar() *Bar {
    	return &Bar{42, nil} // ERROR "&Bar{...} escapes to heap$"
    }
    
    func NewBarp(x *int) *Bar { // ERROR "leaking param: x$"
    	return &Bar{42, x} // ERROR "&Bar{...} escapes to heap$"
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 35.1K bytes
    - Viewed (0)
  8. src/testing/testing.go

    // means that the loop ran 68453040 times at a speed of 17.8 ns per loop.
    //
    // If a benchmark needs some expensive setup before running, the timer
    // may be reset:
    //
    //	func BenchmarkBigLen(b *testing.B) {
    //	    big := NewBig()
    //	    b.ResetTimer()
    //	    for range b.N {
    //	        big.Len()
    //	    }
    //	}
    //
    // If a benchmark needs to test performance in a parallel setting, it may use
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 76.1K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf.mlir

      // CHECK:   [[ONE:%.*]] = mhlo.constant dense<1> : tensor<i32>
      // CHECK:   [[NEW_IV:%.*]] = chlo.broadcast_add [[ITER_ARG0]], [[ONE]]
      // CHECK:   mhlo.return [[NEW_IV]], [[ITER_ARG1]], [[INDICES2]]
      // CHECK: }
    
      // CHECK: [[CONSTANT1:%.*]] = mhlo.constant dense<1> : tensor<1xi64>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 06 18:46:23 UTC 2024
    - 335.5K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"AEAD", Type, 2},
    		{"Block", Type, 0},
    		{"BlockMode", Type, 0},
    		{"NewCBCDecrypter", Func, 0},
    		{"NewCBCEncrypter", Func, 0},
    		{"NewCFBDecrypter", Func, 0},
    		{"NewCFBEncrypter", Func, 0},
    		{"NewCTR", Func, 0},
    		{"NewGCM", Func, 2},
    		{"NewGCMWithNonceSize", Func, 5},
    		{"NewGCMWithTagSize", Func, 11},
    		{"NewOFB", Func, 0},
    		{"Stream", Type, 0},
    		{"StreamReader", Type, 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)
Back to top