Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,668 for book (0.35 sec)

  1. cmd/kubeadm/app/cmd/phases/init/waitcontrolplane.go

    	}
    	if err != nil {
    		return handleError(err)
    	}
    
    	return nil
    }
    
    // newControlPlaneWaiter returns a new waiter that is used to wait on the control plane to boot up.
    func newControlPlaneWaiter(dryRun bool, timeout time.Duration, client clientset.Interface, out io.Writer) (apiclient.Waiter, error) {
    	if dryRun {
    		return dryrunutil.NewWaiter(), nil
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 07:10:31 UTC 2024
    - 5K bytes
    - Viewed (0)
  2. callbacks/update.go

    	if db.Error == nil && db.Statement.Schema != nil && !db.Statement.SkipHooks && (db.Statement.Schema.BeforeSave || db.Statement.Schema.BeforeUpdate) {
    		callMethod(db, func(value interface{}, tx *gorm.DB) (called bool) {
    			if db.Statement.Schema.BeforeSave {
    				if i, ok := value.(BeforeSaveInterface); ok {
    					called = true
    					db.AddError(i.BeforeSave(tx))
    				}
    			}
    
    			if db.Statement.Schema.BeforeUpdate {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Mar 18 05:44:55 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/errors.go

    // This file implements error reporting.
    
    package types2
    
    import (
    	"cmd/compile/internal/syntax"
    	"fmt"
    	. "internal/types/errors"
    	"runtime"
    	"strings"
    )
    
    func assert(p bool) {
    	if !p {
    		msg := "assertion failed"
    		// Include information about the assertion location. Due to panic recovery,
    		// this location is otherwise buried in the middle of the panicking stack.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 22:06:18 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/telemetry/internal/counter/stackcounter.go

    // license that can be found in the LICENSE file.
    
    package counter
    
    import (
    	"fmt"
    	"runtime"
    	"strings"
    	"sync"
    )
    
    // On the disk, and upstream, stack counters look like sets of
    // regular counters with names that include newlines.
    
    // a StackCounter is the in-memory knowledge about a stack counter.
    // StackCounters are more expensive to use than regular Counters,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:10:54 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/ir/tfl_op_interfaces.td

        ParseResult parseOneResultSameOperandTypeOp(OpAsmParser &parser,
                                                    OperationState &result);
    
        void printOneResultOp(Operation *op, OpAsmPrinter &p);
    
        // Registered hook to materialize a constant operation from a given
        // attribute value with the desired resultant type.
        Operation *materializeConstant(OpBuilder &builder, Attribute value,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  6. src/image/jpeg/huffman.go

    const maxNCodes = 256
    
    // lutSize is the log-2 size of the Huffman decoder's look-up table.
    const lutSize = 8
    
    // huffman is a Huffman decoder, specified in section C.
    type huffman struct {
    	// length is the number of codes in the tree.
    	nCodes int32
    	// lut is the look-up table for the next lutSize bits in the bit-stream.
    	// The high 8 bits of the uint16 are the encoded value. The low 8 bits
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 17:08:05 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  7. src/go/types/errors.go

    // This file implements error reporting.
    
    package types
    
    import (
    	"fmt"
    	"go/ast"
    	"go/token"
    	. "internal/types/errors"
    	"runtime"
    	"strings"
    )
    
    func assert(p bool) {
    	if !p {
    		msg := "assertion failed"
    		// Include information about the assertion location. Due to panic recovery,
    		// this location is otherwise buried in the middle of the panicking stack.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 22:06:18 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  8. src/sync/poolqueue.go

    	d2.pushHead(val)
    }
    
    func (c *poolChain) popHead() (any, bool) {
    	d := c.head
    	for d != nil {
    		if val, ok := d.popHead(); ok {
    			return val, ok
    		}
    		// There may still be unconsumed elements in the
    		// previous dequeue, so try backing up.
    		d = d.prev.Load()
    	}
    	return nil, false
    }
    
    func (c *poolChain) popTail() (any, bool) {
    	d := c.tail.Load()
    	if d == nil {
    		return nil, false
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 18:12:29 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/constant_fold_utils.cc

    using tensorflow::tfrt_stub::FallbackState;
    using tensorflow::tfrt_stub::OpKernelRunner;
    
    static bool IsOk(const tensorflow::Status& s) {
      if (s.ok()) return true;
      VLOG(2) << s.message();
      return false;
    }
    
    #define RETURN_FAILURE_IF_ERROR(expr) \
      if (!IsOk(expr)) {                  \
        return mlir::failure();           \
      }
    
    bool CanBeFolded(Operation* inst) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/buildtag/buildtag_old.go

    			}
    		}
    	}
    }
    
    func checkOtherFile(pass *analysis.Pass, filename string) error {
    	content, tf, err := analysisutil.ReadFile(pass, filename)
    	if err != nil {
    		return err
    	}
    
    	// We must look at the raw lines, as build tags may appear in non-Go
    	// files such as assembly files.
    	lines := bytes.SplitAfter(content, nl)
    
    	// Determine cutpoint where +build comments are no longer valid.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 4.3K bytes
    - Viewed (0)
Back to top