Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for keyFor (0.74 sec)

  1. cmd/kubeadm/app/util/pkiutil/pki_helpers.go

    	_, certErr := os.Stat(certificatePath)
    	_, keyErr := os.Stat(privateKeyPath)
    
    	return !(os.IsNotExist(certErr) && os.IsNotExist(keyErr))
    }
    
    // CSROrKeyExist returns true if one of the CSR or key exists
    func CSROrKeyExist(csrDir, name string) bool {
    	csrPath := pathForCSR(csrDir, name)
    	keyPath := pathForKey(csrDir, name)
    
    	_, csrErr := os.Stat(csrPath)
    	_, keyErr := os.Stat(keyPath)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  2. src/encoding/gob/encode.go

    func (enc *Encoder) encodeMap(b *encBuffer, mv reflect.Value, keyOp, elemOp encOp, keyIndir, elemIndir int) {
    	state := enc.newEncoderState(b)
    	state.fieldnum = -1
    	state.sendZero = true
    	state.encodeUint(uint64(mv.Len()))
    	mi := mv.MapRange()
    	for mi.Next() {
    		encodeReflectValue(state, mi.Key(), keyOp, keyIndir)
    		encodeReflectValue(state, mi.Value(), elemOp, elemIndir)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 02:00:26 UTC 2024
    - 19K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_rewrite_pass.cc

      // and _XlaRecvAtHostOp and _XlaSendFromHostOp are used, update to a more
      // structured lowering.
      old_parallel_execute.walk(
          [&](TF::_XlaCompileMlirPlaceholderProgramKeyOp key_op) {
            key_op.replaceAllUsesWith(compile_op->getResult(1));
            key_op.erase();
          });
    
      // After rewrite, if there is a TPUCompilationResultOp from the same cluster,
      // replace it with the result of the compile op. The TPUCompilationResultOp is
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 21:25:12 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/stmt.go

    	check.scope = check.scope.Parent()
    }
    
    func (check *Checker) suspendedCall(keyword string, call syntax.Expr) {
    	code := InvalidDefer
    	if keyword == "go" {
    		code = InvalidGo
    	}
    
    	if _, ok := call.(*syntax.CallExpr); !ok {
    		check.errorf(call, code, "expression in %s must be function call", keyword)
    		check.use(call)
    		return
    	}
    
    	var x operand
    	var msg string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  5. src/crypto/tls/handshake_test.go

    var (
    	update       = flag.Bool("update", false, "update golden files on failure")
    	fast         = flag.Bool("fast", false, "impose a quick, possibly flaky timeout on recorded tests")
    	keyFile      = flag.String("keylog", "", "destination file for KeyLogWriter")
    	bogoMode     = flag.Bool("bogo-mode", false, "Enabled bogo shim mode, ignore everything else")
    	bogoFilter   = flag.String("bogo-filter", "", "BoGo test filter")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  6. src/go/build/read.go

    				for c != '\n' && r.err == nil && !r.eof {
    					c = r.readByteNoBuf()
    				}
    				startLine = true
    			}
    		}
    	}
    	return false
    }
    
    // readKeyword reads the given keyword from the input.
    // If the keyword is not present, readKeyword records a syntax error.
    func (r *importReader) readKeyword(kw string) {
    	r.peekByte(true)
    	for i := 0; i < len(kw); i++ {
    		if r.nextByte(false) != kw[i] {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/sql-databases.md

    !!! tip
        Instead of passing each of the keyword arguments to `Item` and reading each one of them from the Pydantic *model*, we are generating a `dict` with the Pydantic *model*'s data with:
    
        `item.dict()`
    
        and then we are passing the `dict`'s key-value pairs as the keyword arguments to the SQLAlchemy `Item`, with:
    
        `Item(**item.dict())`
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 29.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/tensorflow/python/py_function_lib.py

        expected_input_keys: Collection[str],
    ) -> Callable[[rd.RepresentativeSample], rd.RepresentativeSample]:
      """Creates a validator function for a representative sample.
    
      Args:
        expected_input_keys: Input keys (keyword argument names) that the function
          the sample will be used for is expecting to receive.
    
      Returns:
        A callable that validates a `RepresentativeSample`.
      """
    
      def validator(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 05:32:11 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  9. src/go/types/stmt.go

    	}
    	return token.ILLEGAL
    }
    
    func (check *Checker) suspendedCall(keyword string, call *ast.CallExpr) {
    	var x operand
    	var msg string
    	var code Code
    	switch check.rawExpr(nil, &x, call, nil, false) {
    	case conversion:
    		msg = "requires function call, not conversion"
    		code = InvalidDefer
    		if keyword == "go" {
    			code = InvalidGo
    		}
    	case expression:
    		msg = "discards result of"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 30.6K bytes
    - Viewed (0)
  10. pkg/controller/deployment/deployment_controller.go

    	logger := klog.FromContext(ctx)
    	if err == nil || errors.HasStatusCause(err, v1.NamespaceTerminatingCause) {
    		dc.queue.Forget(key)
    		return
    	}
    	ns, name, keyErr := cache.SplitMetaNamespaceKey(key)
    	if keyErr != nil {
    		logger.Error(err, "Failed to split meta namespace cache key", "cacheKey", key)
    	}
    
    	if dc.queue.NumRequeues(key) < maxRetries {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 24.2K bytes
    - Viewed (0)
Back to top