Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for Strand (0.33 sec)

  1. src/bytes/buffer_test.go

    	var buf Buffer
    	s := ""
    	for i := 0; i < 50; i++ {
    		wlen := rand.Intn(len(testString))
    		if i%2 == 0 {
    			s = fillString(t, "TestMixedReadsAndWrites (1)", &buf, s, 1, testString[0:wlen])
    		} else {
    			s = fillBytes(t, "TestMixedReadsAndWrites (1)", &buf, s, 1, testBytes[0:wlen])
    		}
    
    		rlen := rand.Intn(len(testString))
    		fub := make([]byte, rlen)
    		n, _ := buf.Read(fub)
    		s = s[n:]
    	}
    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/bufio/bufio_test.go

    					t.Errorf("have=%q", written)
    				}
    			}
    		}
    	}
    }
    
    func TestWriterAppend(t *testing.T) {
    	got := new(bytes.Buffer)
    	var want []byte
    	rn := rand.New(rand.NewSource(0))
    	w := NewWriterSize(got, 64)
    	for i := 0; i < 100; i++ {
    		// Obtain a buffer to append to.
    		b := w.AvailableBuffer()
    		if w.Available() != cap(b) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Feb 10 18:56:01 GMT 2023
    - 51.5K bytes
    - Viewed (0)
  3. src/builtin/builtin.go

    // for any integer type: int, uint, int8 etc.
    type IntegerType int
    
    // FloatType is here for the purposes of documentation only. It is a stand-in
    // for either float type: float32 or float64.
    type FloatType float32
    
    // ComplexType is here for the purposes of documentation only. It is a
    // stand-in for either complex type: complex64 or complex128.
    type ComplexType complex64
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  4. doc/go_spec.html

    </p>
    
    <ul>
    <li>
    	Both type parameters are identical.
    </li>
    <li>
    	At most one of the type parameters has a known type argument.
    	In this case, the type parameters are <i>joined</i>:
    	they both stand for the same type argument.
    	If neither type parameter has a known type argument yet,
    	a future type argument inferred for one the type parameters
    	is simultaneously inferred for both of them.
    </li>
    <li>
    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)
  5. api/go1.1.txt

    pkg syscall (openbsd-386), const IPV6_DONTFRAG = 62
    pkg syscall (openbsd-386), const IPV6_DSTOPTS = 50
    pkg syscall (openbsd-386), const IPV6_ESP_NETWORK_LEVEL = 55
    pkg syscall (openbsd-386), const IPV6_ESP_TRANS_LEVEL = 54
    pkg syscall (openbsd-386), const IPV6_FAITH = 29
    pkg syscall (openbsd-386), const IPV6_FLOWINFO_MASK = 4294967055
    pkg syscall (openbsd-386), const IPV6_FLOWLABEL_MASK = 4294905600
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Mar 31 20:37:15 GMT 2022
    - 2.6M bytes
    - Viewed (0)
  6. api/go1.21.txt

    pkg debug/elf, const DF_1_STUB DynFlag1 #56887
    pkg debug/elf, const DF_1_SYMINTPOSE = 8388608 #56887
    pkg debug/elf, const DF_1_SYMINTPOSE DynFlag1 #56887
    pkg debug/elf, const DF_1_TRANS = 512 #56887
    pkg debug/elf, const DF_1_TRANS DynFlag1 #56887
    pkg debug/elf, const DF_1_WEAKFILTER = 536870912 #56887
    pkg debug/elf, const DF_1_WEAKFILTER DynFlag1 #56887
    pkg debug/elf, const R_PPC64_REL24_P9NOTOC = 124 #60348
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Aug 07 09:39:17 GMT 2023
    - 25.6K bytes
    - Viewed (0)
  7. api/go1.2.txt

    pkg syscall (openbsd-386), const IPV6_DONTFRAG ideal-int
    pkg syscall (openbsd-386), const IPV6_DSTOPTS ideal-int
    pkg syscall (openbsd-386), const IPV6_ESP_NETWORK_LEVEL ideal-int
    pkg syscall (openbsd-386), const IPV6_ESP_TRANS_LEVEL ideal-int
    pkg syscall (openbsd-386), const IPV6_FAITH ideal-int
    pkg syscall (openbsd-386), const IPV6_FLOWINFO_MASK ideal-int
    pkg syscall (openbsd-386), const IPV6_FLOWLABEL_MASK ideal-int
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 18 04:36:59 GMT 2013
    - 1.9M bytes
    - Viewed (2)
  8. src/archive/zip/writer_test.go

    		Method: Deflate,
    		Mode:   0755 | fs.ModeDevice | fs.ModeCharDevice,
    	},
    }
    
    func TestWriter(t *testing.T) {
    	largeData := make([]byte, 1<<17)
    	if _, err := rand.Read(largeData); err != nil {
    		t.Fatal("rand.Read failed:", err)
    	}
    	writeTests[1].Data = largeData
    	defer func() {
    		writeTests[1].Data = nil
    	}()
    
    	// write a zip file
    	buf := new(bytes.Buffer)
    	w := NewWriter(buf)
    
    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)
  9. api/go1.6.txt

    pkg math/big, method (*Float) UnmarshalText([]uint8) error
    pkg math/big, method (*Int) Append([]uint8, int) []uint8
    pkg math/big, method (*Int) Text(int) string
    pkg math/rand, func Read([]uint8) (int, error)
    pkg math/rand, method (*Rand) Read([]uint8) (int, error)
    pkg net, type DNSError struct, IsTemporary bool
    pkg net, type Dialer struct, Cancel <-chan struct
    pkg net/http, const MethodConnect = "CONNECT"
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 13 23:40:13 GMT 2016
    - 12.9K bytes
    - Viewed (0)
  10. lib/time/zoneinfo.zip

    America/Dawson_Creek America/Denver America/Detroit America/Dominica America/Edmonton America/Eirunepe America/El_Salvador America/Ensenada America/Fort_Nelson America/Fort_Wayne America/Fortaleza America/Glace_Bay America/Godthab America/Goose_Bay America/Grand_Turk America/Grenada America/Guadeloupe America/Guatemala America/Guayaquil America/Guyana America/Halifax America/Havana America/Hermosillo America/Indiana/Indianapolis America/Indiana/Knox America/Indiana/Marengo America/Indiana/Petersburg Ameri...
    ZIP Archive
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Feb 02 18:20:41 GMT 2024
    - 392.3K bytes
    - Viewed (1)
Back to top