Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 35 for Vong (0.18 sec)

  1. src/archive/tar/strconv.go

    	if n := len(b) - len(s) - 1; n > 0 {
    		s = strings.Repeat("0", n) + s
    	}
    	f.formatString(b, s)
    }
    
    // fitsInOctal reports whether the integer x fits in a field n-bytes long
    // using octal encoding with the appropriate NUL terminator.
    func fitsInOctal(n int, x int64) bool {
    	octBits := uint(n-1) * 3
    	return x >= 0 && (n >= 22 || x < 1<<octBits)
    }
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Aug 01 14:28:42 GMT 2023
    - 9K bytes
    - Viewed (0)
  2. src/bytes/buffer.go

    	m, ok := b.tryGrowByReslice(len(s))
    	if !ok {
    		m = b.grow(len(s))
    	}
    	return copy(b.buf[m:], s), nil
    }
    
    // MinRead is the minimum slice size passed to a Read call by
    // [Buffer.ReadFrom]. As long as the [Buffer] has at least MinRead bytes beyond
    // what is required to hold the contents of r, ReadFrom will not grow the
    // underlying buffer.
    const MinRead = 512
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Oct 13 17:10:31 GMT 2023
    - 15.7K bytes
    - Viewed (0)
  3. api/go1.txt

    pkg syscall (windows-386), const MAX_COMPUTERNAME_LENGTH ideal-int
    pkg syscall (windows-386), const MAX_INTERFACE_NAME_LEN ideal-int
    pkg syscall (windows-386), const MAX_LONG_PATH ideal-int
    pkg syscall (windows-386), const MAX_PATH ideal-int
    pkg syscall (windows-386), const MaxTokenInfoClass ideal-int
    pkg syscall (windows-386), const NameCanonical ideal-int
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Viewed (1)
  4. src/archive/tar/testdata/pax-multi-hdrs.tar

    PAX1/PAX1/long-path-name...
    TAR Archive
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Dec 02 02:27:27 GMT 2015
    - 4.5K bytes
    - Viewed (0)
  5. src/archive/tar/writer.go

    				return err
    			}
    			tw.curr = &sparseFileWriter{tw.curr, spd, 0}
    		}
    	*/
    	return nil
    }
    
    func (tw *Writer) writeGNUHeader(hdr *Header) error {
    	// Use long-link files if Name or Linkname exceeds the field size.
    	const longName = "././@LongLink"
    	if len(hdr.Name) > nameSize {
    		data := hdr.Name + "\x00"
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 19.6K bytes
    - Viewed (0)
  6. src/archive/zip/zip_test.go

    		name    string
    		extra   []byte
    		wanterr error
    	}{
    		{
    			name:    strings.Repeat("x", 1<<16),
    			extra:   []byte{},
    			wanterr: errLongName,
    		},
    		{
    			name:    "long_extra",
    			extra:   bytes.Repeat([]byte{0xff}, 1<<16),
    			wanterr: errLongExtra,
    		},
    	}
    
    	// write a zip file
    	buf := new(bytes.Buffer)
    	w := NewWriter(buf)
    
    	for _, test := range headerTests {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  7. src/bytes/bytes.go

    		}
    		c0 := sep[0]
    		c1 := sep[1]
    		i := 0
    		t := len(s) - n + 1
    		fails := 0
    		for i < t {
    			if s[i] != c0 {
    				// IndexByte is faster than bytealg.Index, so use it as long as
    				// we're not getting lots of false positives.
    				o := IndexByte(s[i+1:t], c0)
    				if o < 0 {
    					return -1
    				}
    				i += o + 1
    			}
    			if s[i+1] == c1 && Equal(s[i:i+n], sep) {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.8K bytes
    - Viewed (0)
  8. doc/go_spec.html

    <p>
    Function literals are <i>closures</i>: they may refer to variables
    defined in a surrounding function. Those variables are then shared between
    the surrounding function and the function literal, and they survive as long
    as they are accessible.
    </p>
    
    
    <h3 id="Primary_expressions">Primary expressions</h3>
    
    <p>
    Primary expressions are the operands for unary and binary expressions.
    </p>
    
    HTML
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 279.3K bytes
    - Viewed (0)
  9. api/go1.1.txt

    pkg syscall (windows-386), const MAX_ADAPTER_NAME_LENGTH = 256
    pkg syscall (windows-386), const MAX_COMPUTERNAME_LENGTH = 15
    pkg syscall (windows-386), const MAX_INTERFACE_NAME_LEN = 256
    pkg syscall (windows-386), const MAX_LONG_PATH = 32768
    pkg syscall (windows-386), const MAX_PATH = 260
    pkg syscall (windows-386), const MaxTokenInfoClass = 29
    pkg syscall (windows-386), const NameCanonical = 7
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Mar 31 20:37:15 GMT 2022
    - 2.6M bytes
    - Viewed (0)
  10. src/cmd/cgo/internal/test/cgo_thread_lock.go

    // license that can be found in the LICENSE file.
    
    //go:build linux
    
    package cgotest
    
    /*
    #include <unistd.h>
    #include <stdbool.h>
    #include <sys/syscall.h>
    void Gosched(void);
    static bool Ctid(void) {
    	long tid1 = syscall(SYS_gettid);
    	Gosched();
    	return tid1 == syscall(SYS_gettid);
    }
    */
    import "C"
    
    import (
    	"runtime"
    	"testing"
    	"time"
    )
    
    //export Gosched
    func Gosched() {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu May 18 16:55:07 GMT 2023
    - 939 bytes
    - Viewed (0)
Back to top