Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for heddle (0.29 sec)

  1. src/cmd/cgo/doc.go

    and of course there is nothing stopping the C code from doing anything
    it likes. However, programs that break these rules are likely to fail
    in unexpected and unpredictable ways.
    
    The runtime/cgo.Handle type can be used to safely pass Go values
    between Go and C. See the runtime/cgo package documentation for details.
    
    Note: the current implementation has a bug. While Go code is permitted
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  2. api/next/62483.txt

    pkg unique, func Make[$0 comparable]($0) Handle[$0] #62483
    pkg unique, method (Handle[$0]) Value() $0 #62483
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Mon Apr 22 18:14:07 GMT 2024
    - 162 bytes
    - Viewed (0)
  3. src/archive/tar/common.go

    // ending offset is aligned down to the nearest block edge.
    //
    // Even though the Go tar Reader and the BSD tar utility can handle entries
    // with arbitrary offsets and lengths, the GNU tar utility can only handle
    // offsets and lengths that are multiples of blockSize.
    func alignSparseEntries(src []sparseEntry, size int64) []sparseEntry {
    	dst := src[:0]
    	for _, s := range src {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24.7K bytes
    - Viewed (2)
  4. src/bytes/example_test.go

    }
    
    func ExampleCompare_search() {
    	// Binary search to find a matching byte slice.
    	var needle []byte
    	var haystack [][]byte // Assume sorted
    	i := sort.Search(len(haystack), func(i int) bool {
    		// Return haystack[i] >= needle.
    		return bytes.Compare(haystack[i], needle) >= 0
    	})
    	if i < len(haystack) && bytes.Equal(haystack[i], needle) {
    		// Found it!
    	}
    }
    
    func ExampleContains() {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Mar 04 15:54:40 GMT 2024
    - 15K bytes
    - Viewed (1)
  5. doc/asm.html

    <code>fmt.Printf</code> or <code>math/rand.Int</code>.
    Because the assembler's parser treats period and slash as punctuation,
    those strings cannot be used directly as identifier names.
    Instead, the assembler allows the middle dot character U+00B7
    and the division slash U+2215 in identifiers and rewrites them to
    plain period and slash.
    Within an assembler source file, the symbols above are written as
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Tue Nov 28 19:15:27 GMT 2023
    - 36.3K bytes
    - Viewed (0)
  6. doc/next/6-stdlib/2-unique.md

    `Make[T]` function, which produces a reference to a canonical copy of
    the value in the form of a `Handle[T]`.
    Two `Handle[T]` are equal if and only if the values used to produce the
    handles are equal, allowing programs to deduplicate values and reduce
    their memory footprint.
    Comparing two `Handle[T]` values is efficient, reducing down to a simple
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Apr 24 13:37:36 GMT 2024
    - 579 bytes
    - Viewed (0)
  7. src/bytes/bytes_test.go

    		}
    	}
    }
    
    func TestLastIndexByte(t *testing.T) {
    	testCases := []BinOpTest{
    		{"", "q", -1},
    		{"abcdef", "q", -1},
    		{"abcdefabcdef", "a", len("abcdef")},      // something in the middle
    		{"abcdefabcdef", "f", len("abcdefabcde")}, // last byte
    		{"zabcdefabcdef", "z", 0},                 // first byte
    		{"a☺b☻c☹d", "b", len("a☺")},               // non-ascii
    	}
    	for _, test := range testCases {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  8. src/bytes/bytes.go

    }
    
    // Title treats s as UTF-8-encoded bytes and returns a copy with all Unicode letters that begin
    // words mapped to their title case.
    //
    // Deprecated: The rule Title uses for word boundaries does not handle Unicode
    // punctuation properly. Use golang.org/x/text/cases instead.
    func Title(s []byte) []byte {
    	// Use a closure here to remember state.
    	// Hackish but effective. Depends on Map scanning in order and calling
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.8K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/asm/parse.go

    	// ARM only.
    	if !p.arch.InFamily(sys.ARM, sys.ARM64) {
    		return false
    	}
    	// R1<<...
    	if lex.IsRegisterShift(p.peek()) {
    		return true
    	}
    	// R(1)<<...   Ugly check. TODO: Rethink how we handle ARM register shifts to be
    	// less special.
    	if p.peek() != '(' || len(p.input)-p.inputPos < 4 {
    		return false
    	}
    	return p.at('(', scanner.Int, ')') && lex.IsRegisterShift(p.input[p.inputPos+3].ScanToken)
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  10. src/archive/zip/writer.go

    	// flags.
    	if h.raw && !h.hasDataDescriptor() {
    		b.uint32(h.CRC32)
    		b.uint32(uint32(min(h.CompressedSize64, uint32max)))
    		b.uint32(uint32(min(h.UncompressedSize64, uint32max)))
    	} else {
    		// When this package handle the compression, these values are
    		// always written to the trailing data descriptor.
    		b.uint32(0) // crc32
    		b.uint32(0) // compressed size
    		b.uint32(0) // uncompressed size
    	}
    	b.uint16(uint16(len(h.Name)))
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 04 14:28:57 GMT 2024
    - 19.3K bytes
    - Viewed (0)
Back to top