Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 390 for light (0.17 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. src/crypto/internal/edwards25519/field/fe_test.go

    		return reflect.ValueOf(generateWeirdFieldElement(rand))
    	}
    	return reflect.ValueOf(generateFieldElement(rand))
    }
    
    // isInBounds returns whether the element is within the expected bit size bounds
    // after a light reduction.
    func isInBounds(x *Element) bool {
    	return bits.Len64(x.l0) <= 52 &&
    		bits.Len64(x.l1) <= 52 &&
    		bits.Len64(x.l2) <= 52 &&
    		bits.Len64(x.l3) <= 52 &&
    		bits.Len64(x.l4) <= 52
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 17:26:17 UTC 2023
    - 13.9K bytes
    - Viewed (0)
  3. src/crypto/internal/edwards25519/field/fe.go

    func (v *Element) One() *Element {
    	*v = *feOne
    	return v
    }
    
    // reduce reduces v modulo 2^255 - 19 and returns it.
    func (v *Element) reduce() *Element {
    	v.carryPropagate()
    
    	// After the light reduction we now have a field element representation
    	// v < 2^255 + 2^13 * 19, but need v < 2^255 - 19.
    
    	// If v >= 2^255 - 19, then v + 19 >= 2^255, which would overflow 2^255 - 1,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  4. src/cmd/vendor/github.com/google/pprof/internal/graph/dotgraph.go

    }
    
    // dotColor returns a color for the given score (between -1.0 and
    // 1.0), with -1.0 colored green, 0.0 colored grey, and 1.0 colored
    // red. If isBackground is true, then a light (low-saturation)
    // color is returned (suitable for use as a background color);
    // otherwise, a darker color is returned (suitable for use as a
    // foreground color).
    func dotColor(score float64, isBackground bool) string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 09 20:51:42 UTC 2022
    - 14.8K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/writebarrier.go

    	base *Value
    	mask uint64
    }
    
    // mightBeHeapPointer reports whether v might point to the heap.
    // v must have pointer type.
    func mightBeHeapPointer(v *Value) bool {
    	if IsGlobalAddr(v) {
    		return false
    	}
    	return true
    }
    
    // mightContainHeapPointer reports whether the data currently at addresses
    // [ptr,ptr+size) might contain heap pointers. "currently" means at memory state mem.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:09:14 UTC 2023
    - 23.5K bytes
    - Viewed (0)
  6. src/go/build/deps_test.go

    	  unicode,
    	  unicode/utf8,
    	  unicode/utf16;
    
    	internal/goarch < internal/abi;
    	internal/byteorder, internal/goarch < internal/chacha8rand;
    
    	# RUNTIME is the core runtime group of packages, all of them very light-weight.
    	internal/abi,
    	internal/chacha8rand,
    	internal/coverage/rtcov,
    	internal/cpu,
    	internal/goarch,
    	internal/godebugs,
    	internal/goexperiment,
    	internal/goos,
    	internal/profilerecord,
    	math/bits
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 16:41:13 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  7. src/cmd/link/link_test.go

    	principle int `text:"The one great principle of the English law is, to make business for itself. There is no other principle distinctly, certainly, and consistently maintained through all its narrow turnings. Viewed by this light it becomes a coherent scheme, and not the monstrous maze the laity are apt to think it. Let them but once clearly perceive that its grand principle is to make business for itself at their expense, and surely they will cease to grumble."`
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 20:26:02 UTC 2024
    - 43.5K bytes
    - Viewed (0)
  8. src/crypto/des/block.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)
    
    	if decrypt {
    		for i := 0; i < 8; i++ {
    			left, right = feistel(left, right, subkeys[15-2*i], subkeys[15-(2*i+1)])
    		}
    	} else {
    		for i := 0; i < 8; i++ {
    			left, right = feistel(left, right, subkeys[2*i], subkeys[2*i+1])
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  9. src/cmd/dist/buildruntime.go

    package main
    
    import (
    	"fmt"
    	"strings"
    )
    
    /*
     * Helpers for building runtime.
     */
    
    // mkzversion writes zversion.go:
    //
    //	package sys
    //
    // (Nothing right now!)
    func mkzversion(dir, file string) {
    	var buf strings.Builder
    	writeHeader(&buf)
    	fmt.Fprintf(&buf, "package sys\n")
    	writefile(buf.String(), file, writeSkipSame)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 06 01:33:19 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/typexpr.go

    		if !check.verifyVersionf(e, go1_18, "predeclared %s", e.Value) {
    			return // avoid follow-on errors
    		}
    	}
    
    	check.recordUse(e, obj)
    
    	// If we want a type but don't have one, stop right here and avoid potential problems
    	// with missing underlying types. This also gives better error messages in some cases
    	// (see go.dev/issue/65344).
    	_, gotType := obj.(*TypeName)
    	if !gotType && wantType {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 16.6K bytes
    - Viewed (0)
Back to top