Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for We (0.15 sec)

  1. src/bytes/buffer_test.go

    	tmp := make([]byte, 5)
    	for i := 0; i <= 5; i++ {
    		for j := i; j <= 5; j++ {
    			for k := 0; k <= 6; k++ {
    				// 0 <= i <= j <= 5; 0 <= k <= 6
    				// Check that if we start with a buffer
    				// of length j at offset i and ask for
    				// Next(k), we get the right bytes.
    				buf := NewBuffer(b[0:j])
    				n, _ := buf.Read(tmp[0:i])
    				if n != i {
    					t.Fatalf("Read %d returned %d", i, n)
    				}
    				bb := buf.Next(k)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 13:31:36 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  2. src/archive/zip/reader_test.go

    				Name:    "世界",
    				Content: []byte{},
    				Mode:    0644,
    				// Name is valid UTF-8, but format does not have UTF-8 flag set.
    				// We don't do UTF-8 detection for multi-byte runes due to
    				// false-positives with other encodings (e.g., Shift-JIS).
    				// Format says encoding is not UTF-8, so we trust it.
    				NonUTF8:  true,
    				Modified: time.Date(2017, 11, 6, 13, 9, 27, 0, timeZone(-8*time.Hour)),
    			},
    		},
    	},
    	{
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 55.3K bytes
    - Viewed (0)
  3. src/cmd/cgo/doc.go

    and we want to preserve the ability to compile pure Go code that
    imports net without requiring gcc to be present at link time. (In this
    case, the dynamic library requirement is less significant, because the
    only library involved is libc.so, which can usually be assumed
    present.)
    
    This conflict between functionality and the gcc requirement means we
    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)
  4. src/bytes/bytes.go

    	// is too large we are basically just thrashing the CPU D-cache.
    	// So if the result length is larger than an empirically-found
    	// limit (8KB), we stop growing the source string once the limit
    	// is reached and keep reusing the same source string - that
    	// should therefore be always resident in the L1 cache - until we
    	// have completed the construction of the result.
    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)
  5. src/cmd/asm/internal/asm/parse.go

    next:
    	// Skip newlines.
    	var tok lex.ScanToken
    	for {
    		tok = p.nextToken()
    		// We save the line number here so error messages from this instruction
    		// are labeled with this line. Otherwise we complain after we've absorbed
    		// the terminating newline and the line numbers are off by one in errors.
    		p.lineNum = p.lex.Line()
    		switch tok {
    		case '\n', ';':
    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)
  6. src/archive/zip/zip_test.go

    	// That's the magic marker for a 64-bit file, so even though
    	// it fits in a 32-bit field we must use the 64-bit field.
    	// Go 1.5 and earlier got this wrong,
    	// writing an invalid zip file.
    	const size = 1<<32 - 1 - int64(len("END\n")) // before the "END\n" part
    	buf := testZip64(t, size)
    	testZip64DirectoryRecordLength(buf, t)
    }
    
    // Tests that we generate a zip64 file if the directory at offset
    // 0xFFFFFFFF, but not before.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  7. doc/go1.17_spec.html

    spaces) and may also exclude the characters
    <code>!"#$%&amp;'()*,:;&lt;=&gt;?[\]^`{|}</code>
    and the Unicode replacement character U+FFFD.
    </p>
    
    <p>
    Assume we have compiled a package containing the package clause
    <code>package math</code>, which exports function <code>Sin</code>, and
    installed the compiled package in the file identified by
    <code>"lib/math"</code>.
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  8. doc/go_spec.html

    [T int|string]               // = [T interface{int|string}]
    type Constraint ~int         // illegal: ~int is not in a type parameter list
    </pre>
    
    <!--
    We should be able to simplify the rules for comparable or delegate some of them
    elsewhere since we have a section that clearly defines how interfaces implement
    other interfaces based on their type sets. But this should get us going for now.
    -->
    
    <p>
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 00:39:16 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/asm/asm.go

    	next := 1
    
    	// Next operand is the optional text flag, a literal integer.
    	var flag = int64(0)
    	if len(operands) == 3 {
    		flag = p.evalInteger("TEXT", operands[1])
    		next++
    	}
    
    	// Issue an error if we see a function defined as ABIInternal
    	// without NOSPLIT. In ABIInternal, obj needs to know the function
    	// signature in order to construct the morestack path, so this
    	// currently isn't supported for asm functions.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 25.3K bytes
    - Viewed (0)
  10. lib/time/mkzip.go

    // Mkzip writes a zoneinfo.zip with the content of the current directory
    // and its subdirectories, with no compression, suitable for package time.
    //
    // Usage:
    //
    //	go run ../../mkzip.go ../../zoneinfo.zip
    //
    // We use this program instead of 'zip -0 -r ../../zoneinfo.zip *' to get
    // a reproducible generator that does not depend on which version of the
    // external zip tool is used or the ordering of file names in a directory
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Mar 04 17:32:07 GMT 2024
    - 2.1K bytes
    - Viewed (0)
Back to top