Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 21 for 1004 (0.17 sec)

  1. src/archive/tar/format.go

    }
    
    // reset clears the block with all zeros.
    func (b *block) reset() {
    	*b = block{}
    }
    
    type headerV7 [blockSize]byte
    
    func (h *headerV7) name() []byte     { return h[000:][:100] }
    func (h *headerV7) mode() []byte     { return h[100:][:8] }
    func (h *headerV7) uid() []byte      { return h[108:][:8] }
    func (h *headerV7) gid() []byte      { return h[116:][:8] }
    func (h *headerV7) size() []byte     { return h[124:][:12] }
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 11.3K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/asm/testdata/ppc64.s

    	ADDEX R3, R5, $3, R6            // 7cc32f54
    	ADDEX R3, $3, R5, R6            // 7cc32f54
    	ADDIS $8, R3                    // 3c630008
    	ADD   $524288, R3               // 3c630008
    	ADDIS $1000, R3, R4             // 3c8303e8
    
    	ANDCC $1, R3                    // 70630001
    	ANDCC $1, R3, R4                // 70640001
    	ANDCC $-1, R4                   // 3be0ffff7fe42039
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Apr 24 15:53:25 GMT 2024
    - 49K bytes
    - Viewed (0)
  3. src/bytes/bytes_test.go

    	for i := 0; i <= len(b)-15; i++ {
    		for j := 0; j < 15; j++ {
    			b[i+j] = byte(100 + j)
    		}
    		for j := 0; j < 15; j++ {
    			p := IndexByte(b[i:i+15], byte(100+j))
    			if p != j {
    				t.Errorf("IndexByte(%q, %d) = %d", b[i:i+15], 100+j, p)
    			}
    		}
    		for j := 0; j < 15; j++ {
    			b[i+j] = 0
    		}
    	}
    	// Make sure matches outside the slice never trigger.
    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)
  4. doc/go_spec.html

    1024                int16       1024 is in the set of 16-bit integers
    42.0                byte        42 is in the set of unsigned 8-bit integers
    1e10                uint64      10000000000 is in the set of unsigned 64-bit integers
    2.718281828459045   float32     2.718281828459045 rounds to 2.7182817 which is in the set of float32 values
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu May 02 22:43:51 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  5. api/go1.1.txt

    pkg os (darwin-amd64-cgo), const PathListSeparator = 58
    pkg os (darwin-amd64-cgo), const PathSeparator = 47
    pkg os (freebsd-386), const DevNull = "/dev/null"
    pkg os (freebsd-386), const O_APPEND = 8
    pkg os (freebsd-386), const O_CREATE = 512
    pkg os (freebsd-386), const O_EXCL = 2048
    pkg os (freebsd-386), const O_SYNC = 128
    pkg os (freebsd-386), const O_TRUNC = 1024
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Mar 31 20:37:15 GMT 2022
    - 2.6M bytes
    - Viewed (0)
  6. src/archive/tar/writer_test.go

    							{Offset: 0e10, Length: 1e10 - 100},
    							{Offset: 1e10, Length: 1e10 - 100},
    							{Offset: 2e10, Length: 1e10 - 100},
    							{Offset: 3e10, Length: 1e10 - 100},
    							{Offset: 4e10, Length: 1e10 - 100},
    							{Offset: 5e10, Length: 1e10 - 100},
    						},
    					}, nil},
    					testReadFrom{fileOps{
    						int64(1e10 - blockSize),
    						strings.Repeat("\x00", blockSize-100) + strings.Repeat("0123456789", 10),
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Feb 27 16:39:23 GMT 2024
    - 38.7K bytes
    - Viewed (0)
  7. src/archive/tar/tar_test.go

    		wantValid:    true,
    		wantAligned:  []sparseEntry{{0, 5000}},
    		wantInverted: []sparseEntry{{5000, 0}},
    	}, {
    		in: []sparseEntry{{1000, 4000}}, size: 5000,
    		wantValid:    true,
    		wantAligned:  []sparseEntry{{1024, 3976}},
    		wantInverted: []sparseEntry{{0, 1000}, {5000, 0}},
    	}, {
    		in: []sparseEntry{{0, 3000}}, size: 5000,
    		wantValid:    true,
    		wantAligned:  []sparseEntry{{0, 2560}},
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24K bytes
    - Viewed (0)
  8. misc/cgo/gmp/pi.go

    	for {
    		d := int64(-1)
    		for d < 0 {
    			k++
    			nextTerm(k)
    			d = extractDigit()
    		}
    		eliminateDigit(d)
    		fmt.Printf("%c", d+'0')
    
    		if i++; i%50 == 0 {
    			fmt.Printf("\n")
    			if i >= 1000 {
    				break
    			}
    		}
    	}
    
    	fmt.Printf("\n%d calls; bit sizes: %d %d %d\n", runtime.NumCgoCall(), numer.Len(), accum.Len(), denom.Len())
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Apr 10 22:32:35 GMT 2023
    - 1.3K bytes
    - Viewed (0)
  9. src/bufio/scan_test.go

    		if j < smallMaxTokenSize {
    			j++
    		} else {
    			j--
    		}
    		line := tmp.String() // We use the string-valued token here, for variety.
    		if s.Text() != line {
    			t.Errorf("%d: bad line: %d %d\n%.100q\n%.100q\n", lineNum, len(s.Bytes()), len(line), s.Text(), line)
    		}
    	}
    	err := s.Err()
    	if err != nil {
    		t.Fatal(err)
    	}
    }
    
    // Test that the line splitter errors out on a long line.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Sep 22 16:22:42 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  10. src/cmd/cgo/internal/test/cgo_thread_lock.go

    	go func() {
    		// We need the G continue running,
    		// so the M has a chance to run this G.
    		for {
    			select {
    			case <-stop:
    				return
    			case <-time.After(time.Millisecond * 100):
    			}
    		}
    	}()
    	defer close(stop)
    
    	for i := 0; i < 1000; i++ {
    		if !C.Ctid() {
    			t.Fatalf("cgo has not locked OS thread")
    		}
    	}
    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