Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 287 for light (0.04 sec)

  1. src/cmd/compile/internal/syntax/pos.go

    const PosMax = 1 << 30
    
    // A Pos represents an absolute (line, col) source position
    // with a reference to position base for computing relative
    // (to a file, or line directive) position information.
    // Pos values are intentionally light-weight so that they
    // can be created without too much concern about space use.
    type Pos struct {
    	base      *PosBase
    	line, col uint32
    }
    
    // MakePos returns a new Pos for the given PosBase, line and column.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 20:44:57 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/cmd/phases/upgrade/node/preflight.go

    func NewPreflightPhase() workflow.Phase {
    	return workflow.Phase{
    		Name:  "preflight",
    		Short: "Run upgrade node pre-flight checks",
    		Long:  "Run pre-flight checks for kubeadm upgrade node.",
    		Run:   runPreflight,
    		InheritFlags: []string{
    			options.IgnorePreflightErrors,
    		},
    	}
    }
    
    // runPreflight executes preflight checks logic.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 03:55:23 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. src/crypto/des/cipher.go

    	}
    
    	b := byteorder.BeUint64(src)
    	b = permuteInitialBlock(b)
    	left, right := uint32(b>>32), uint32(b)
    
    	left = (left << 1) | (left >> 31)
    	right = (right << 1) | (right >> 31)
    
    	for i := 0; i < 8; i++ {
    		left, right = feistel(left, right, c.cipher1.subkeys[2*i], c.cipher1.subkeys[2*i+1])
    	}
    	for i := 0; i < 8; i++ {
    		right, left = feistel(right, left, c.cipher2.subkeys[15-2*i], c.cipher2.subkeys[15-(2*i+1)])
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. src/runtime/netpoll_aix.go

    	case 'w':
    		pfds[pd.user].events |= _POLLOUT
    	}
    	unlock(&mtxset)
    }
    
    // netpollBreak interrupts a poll.
    func netpollBreak() {
    	// Failing to cas indicates there is an in-flight wakeup, so we're done here.
    	if !netpollWakeSig.CompareAndSwap(0, 1) {
    		return
    	}
    
    	b := [1]byte{0}
    	write(uintptr(wrwake), unsafe.Pointer(&b[0]), 1)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  5. src/compress/bzip2/huffman.go

    	} else {
    		node.left, err = buildHuffmanNode(t, left, level+1)
    	}
    
    	if err != nil {
    		return
    	}
    
    	if len(right) == 1 {
    		// leaf node
    		node.right = invalidNodeValue
    		node.rightValue = right[0].value
    	} else {
    		node.right, err = buildHuffmanNode(t, right, level+1)
    	}
    
    	return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 17:44:37 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  6. src/cmd/go/internal/modindex/scan.go

    func importRaw(modroot, reldir string) *rawPackage {
    	p := &rawPackage{
    		dir: reldir,
    	}
    
    	absdir := filepath.Join(modroot, reldir)
    
    	// We still haven't checked
    	// that p.dir directory exists. This is the right time to do that check.
    	// We can't do it earlier, because we want to gather partial information for the
    	// non-nil *build.Package returned when an error occurs.
    	// We need to do this before we return early on FindOnly flag.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  7. pkg/util/sets/set.go

    	return s
    }
    
    // Diff takes a pair of Sets, and returns the elements that occur only on the left and right set.
    func (s Set[T]) Diff(other Set[T]) (left []T, right []T) {
    	for k := range s {
    		if _, f := other[k]; !f {
    			left = append(left, k)
    		}
    	}
    	for k := range other {
    		if _, f := s[k]; !f {
    			right = append(right, k)
    		}
    	}
    	return
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Mar 30 05:26:03 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/cmd/phases/join/preflight.go

    func NewPreflightPhase() workflow.Phase {
    	return workflow.Phase{
    		Name:    "preflight [api-server-endpoint]",
    		Short:   "Run join pre-flight checks",
    		Long:    "Run pre-flight checks for kubeadm join.",
    		Example: preflightExample,
    		Run:     runPreflight,
    		InheritFlags: []string{
    			options.CfgPath,
    			options.IgnorePreflightErrors,
    			options.TLSBootstrapToken,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 03:55:23 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  9. internal/s3select/sql/analysis.go

    func (e *Operand) analyze(s *Select) (result qProp) {
    	result.combine(e.Left.analyze(s))
    	for _, r := range e.Right {
    		result.combine(r.Right.analyze(s))
    	}
    	return
    }
    
    func (e *MultOp) analyze(s *Select) (result qProp) {
    	result.combine(e.Left.analyze(s))
    	for _, r := range e.Right {
    		result.combine(r.Right.analyze(s))
    	}
    	return
    }
    
    func (e *UnaryTerm) analyze(s *Select) (result qProp) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Dec 23 07:19:11 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  10. src/vendor/golang.org/x/net/route/sys.go

    	wireFormats  map[int]*wireFormat
    )
    
    func init() {
    	i := uint32(1)
    	b := (*[4]byte)(unsafe.Pointer(&i))
    	if b[0] == 1 {
    		nativeEndian = littleEndian
    	} else {
    		nativeEndian = bigEndian
    	}
    	// might get overridden in probeRoutingStack
    	rtmVersion = syscall.RTM_VERSION
    	kernelAlign, wireFormats = probeRoutingStack()
    }
    
    func roundup(l int) int {
    	if l == 0 {
    		return kernelAlign
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 940 bytes
    - Viewed (0)
Back to top