Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 62 for 10 (0.23 sec)

  1. api/go1.5.txt

    pkg debug/dwarf, const ClassMacPtr = 8
    pkg debug/dwarf, const ClassMacPtr Class
    pkg debug/dwarf, const ClassRangeListPtr = 9
    pkg debug/dwarf, const ClassRangeListPtr Class
    pkg debug/dwarf, const ClassReference = 10
    pkg debug/dwarf, const ClassReference Class
    pkg debug/dwarf, const ClassReferenceAlt = 13
    pkg debug/dwarf, const ClassReferenceAlt Class
    pkg debug/dwarf, const ClassReferenceSig = 11
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Jul 30 21:14:09 GMT 2015
    - 46.6K bytes
    - Viewed (0)
  2. src/archive/tar/strconv.go

    	const maxNanoSecondDigits = 9
    
    	// Split string into seconds and sub-seconds parts.
    	ss, sn, _ := strings.Cut(s, ".")
    
    	// Parse the seconds.
    	secs, err := strconv.ParseInt(ss, 10, 64)
    	if err != nil {
    		return time.Time{}, ErrHeader
    	}
    	if len(sn) == 0 {
    		return time.Unix(secs, 0), nil // No sub-second values
    	}
    
    	// Parse the nanoseconds.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 01 14:28:42 GMT 2023
    - 9K bytes
    - Viewed (0)
  3. api/go1.13.txt

    pkg syscall (netbsd-arm64-cgo), const AF_ARP ideal-int
    pkg syscall (netbsd-arm64-cgo), const AF_BLUETOOTH = 31
    pkg syscall (netbsd-arm64-cgo), const AF_BLUETOOTH ideal-int
    pkg syscall (netbsd-arm64-cgo), const AF_CCITT = 10
    pkg syscall (netbsd-arm64-cgo), const AF_CCITT ideal-int
    pkg syscall (netbsd-arm64-cgo), const AF_CHAOS = 5
    pkg syscall (netbsd-arm64-cgo), const AF_CHAOS ideal-int
    pkg syscall (netbsd-arm64-cgo), const AF_CNT = 21
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Aug 08 18:44:16 GMT 2019
    - 452.6K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/asm/operand_test.go

    	{"$0x01", "$1"},
    	{"$0x02", "$2"},
    	{"$0x04", "$4"},
    	{"$0x3FE", "$1022"},
    	{"$0x7fffffe00000", "$140737486258176"},
    	{"$0xfffffffffffff001", "$-4095"},
    	{"$1", "$1"},
    	{"$1.0", "$(1.0)"},
    	{"$10", "$10"},
    	{"$1000", "$1000"},
    	{"$1000000", "$1000000"},
    	{"$1000000000", "$1000000000"},
    	{"$__tsan_func_enter(SB)", "$__tsan_func_enter(SB)"},
    	{"$main(SB)", "$main(SB)"},
    	{"$masks<>(SB)", "$masks<>(SB)"},
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 18:31:05 GMT 2023
    - 23.9K bytes
    - Viewed (0)
  5. src/bufio/example_test.go

    	// Output: Hello, world!
    }
    
    func ExampleWriter_AvailableBuffer() {
    	w := bufio.NewWriter(os.Stdout)
    	for _, i := range []int64{1, 2, 3, 4} {
    		b := w.AvailableBuffer()
    		b = strconv.AppendInt(b, i, 10)
    		b = append(b, ' ')
    		w.Write(b)
    	}
    	w.Flush()
    	// Output: 1 2 3 4
    }
    
    // The simplest use of a Scanner, to read standard input as a set of lines.
    func ExampleScanner_lines() {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Oct 23 09:06:30 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  6. src/bytes/example_test.go

    		b := buf.AvailableBuffer()
    		b = strconv.AppendInt(b, int64(i), 10)
    		b = append(b, ' ')
    		buf.Write(b)
    	}
    	os.Stdout.Write(buf.Bytes())
    	// Output: 0 1 2 3
    }
    
    func ExampleBuffer_Cap() {
    	buf1 := bytes.NewBuffer(make([]byte, 10))
    	buf2 := bytes.NewBuffer(make([]byte, 0, 10))
    	fmt.Println(buf1.Cap())
    	fmt.Println(buf2.Cap())
    	// Output:
    	// 10
    	// 10
    }
    
    func ExampleBuffer_Grow() {
    	var b bytes.Buffer
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Mar 04 15:54:40 GMT 2024
    - 15K bytes
    - Viewed (1)
  7. src/bytes/reader_test.go

    		t.Fatal(err)
    	}
    	if n, err := r.Read(make([]byte, 10)); n != 0 || err != io.EOF {
    		t.Errorf("Read = %d, %v; want 0, EOF", n, err)
    	}
    }
    
    func TestReaderAt(t *testing.T) {
    	r := NewReader([]byte("0123456789"))
    	tests := []struct {
    		off     int64
    		n       int
    		want    string
    		wanterr any
    	}{
    		{0, 10, "0123456789", nil},
    		{1, 10, "123456789", io.EOF},
    		{1, 9, "123456789", nil},
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Dec 13 18:45:54 GMT 2021
    - 8K bytes
    - Viewed (0)
  8. api/go1.12.txt

    pkg syscall (freebsd-386), type Stat_t struct, Padding0 int16
    pkg syscall (freebsd-386), type Stat_t struct, Padding1 int32
    pkg syscall (freebsd-386), type Stat_t struct, Rdev uint64
    pkg syscall (freebsd-386), type Stat_t struct, Spare [10]uint64
    pkg syscall (freebsd-386), type Statfs_t struct, Mntfromname [1024]int8
    pkg syscall (freebsd-386), type Statfs_t struct, Mntonname [1024]int8
    pkg syscall (freebsd-386-cgo), const S_IRWXG = 56
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Jan 02 21:21:53 GMT 2019
    - 13.5K bytes
    - Viewed (0)
  9. src/archive/zip/writer_test.go

    	idx := bytes.Index(b, sig[:])
    	if idx == -1 {
    		t.Fatal("file header not found")
    	}
    	b = b[idx:]
    
    	if !bytes.Equal(b[6:10], []byte{0, 0, 0, 0}) { // FileHeader.Flags: 0, FileHeader.Method: 0
    		t.Errorf("unexpected method and flags: %v", b[6:10])
    	}
    
    	if !bytes.Equal(b[14:26], make([]byte, 12)) { // FileHeader.{CRC32,CompressSize,UncompressedSize} all zero.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Sep 15 19:04:06 GMT 2023
    - 14.1K bytes
    - Viewed (0)
  10. src/cmd/cgo/internal/test/callback.go

    			panic("bad x")
    		}
    	}
    }
    
    func variadic(x ...interface{}) {}
    
    func testBlocking(t *testing.T) {
    	c := make(chan int)
    	go func() {
    		for i := 0; i < 10; i++ {
    			c <- <-c
    		}
    	}()
    	nestedCall(func() {
    		for i := 0; i < 10; i++ {
    			c <- i
    			if j := <-c; j != i {
    				t.Errorf("out of sync %d != %d", j, i)
    			}
    		}
    	})
    }
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 111.5K bytes
    - Viewed (0)
Back to top