Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,820 for book (0.18 sec)

  1. src/cmd/vendor/golang.org/x/build/relnote/links.go

    func splitDocName(text string) (before, name string, foundDot bool) {
    	i := strings.LastIndex(text, ".")
    	name = text[i+1:]
    	if !isName(name) {
    		return text, "", false
    	}
    	if i >= 0 {
    		before = text[:i]
    	}
    	return before, name, true
    }
    
    // isName reports whether s is a capitalized Go identifier (like Name).
    func isName(s string) bool {
    	t, ok := ident(s)
    	if !ok || t != s {
    		return false
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  2. src/runtime/debug.go

    func NumGoroutine() int {
    	return int(gcount())
    }
    
    //go:linkname debug_modinfo runtime/debug.modinfo
    func debug_modinfo() string {
    	return modinfo
    }
    
    // mayMoreStackPreempt is a maymorestack hook that forces a preemption
    // at every possible cooperative preemption point.
    //
    // This is valuable to apply to the runtime, which can be sensitive to
    // preemption points. To apply this to all preemption points in the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 11 20:38:24 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/cmd/phases/join/waitcontrolplane.go

    		return 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
    	}
    	return apiclient.NewKubeWaiter(client, timeout, out), nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 15:33:38 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. src/cmd/link/internal/ld/inittask.go

    			}
    			q = append(q, s)
    			m[s] = 0 // mark as found
    		}
    		m[x] = ndeps
    		if ndeps == 0 {
    			h.push(ldr, x)
    		}
    	}
    
    	// Sort edges so we can look them up by edge destination.
    	sort.Slice(edges, func(i, j int) bool {
    		return edges[i].to < edges[j].to
    	})
    
    	// Figure out the schedule.
    	sched := ldr.MakeSymbolBuilder(symName)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 30 20:09:45 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  10. 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)
Back to top