Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 7 of 7 for fillBytes (0.09 seconds)

  1. src/bytes/buffer_test.go

    	}
    	return s
    }
    
    // Fill buf through n writes of byte slice fub.
    // The initial contents of buf corresponds to the string s;
    // the result is the final contents of buf returned as a string.
    func fillBytes(t *testing.T, testname string, buf *Buffer, s string, n int, fub []byte) string {
    	check(t, testname+" (fill 1)", buf, s)
    	for ; n > 0; n-- {
    		m, err := buf.Write(fub)
    		if m != len(fub) {
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Nov 14 19:01:17 GMT 2025
    - 19.4K bytes
    - Click Count (0)
  2. api/go1.15.txt

    pkg debug/pe, const IMAGE_SUBSYSTEM_WINDOWS_GUI ideal-int
    pkg debug/pe, const IMAGE_SUBSYSTEM_XBOX = 14
    pkg debug/pe, const IMAGE_SUBSYSTEM_XBOX ideal-int
    pkg math/big, method (*Int) FillBytes([]uint8) []uint8
    pkg net, method (*Resolver) LookupIP(context.Context, string, string) ([]IP, error)
    pkg net/url, method (*URL) EscapedFragment() string
    pkg net/url, method (*URL) Redacted() string
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Jul 17 02:15:01 GMT 2020
    - 7.6K bytes
    - Click Count (0)
  3. build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/JdkDownloadPluginFuncTest.groovy

        @Unroll
        def "jdk #jdkVendor for #platform#suffix are downloaded and extracted"() {
            given:
            def mockRepoUrl = urlPath(jdkVendor, jdkVersion, platform, arch);
            def mockedContent = filebytes(jdkVendor, platform)
            buildFile.text = """
                plugins {
                 id 'elasticsearch.jdk-download'
                }
    
                jdks {
                  myJdk {
                    vendor = '$jdkVendor'
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Sep 27 19:29:10 GMT 2021
    - 10.5K bytes
    - Click Count (0)
  4. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/DependencyLicensesTask.java

            }
    
            // TODO: shouldn't have to trim, sha files should not have trailing newline
            byte[] fileBytes = Files.readAllBytes(shaFile.toPath());
            String expectedSha = new String(fileBytes, StandardCharsets.UTF_8).trim();
    
            String sha = getSha1(jar);
    
            if (expectedSha.equals(sha) == false) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Jul 26 12:16:14 GMT 2021
    - 14.3K bytes
    - Click Count (0)
  5. lib/fips140/v1.26.0.zip

    tmplAddchainFile.Close(); err != nil { log.Fatal(err) } for _, c := range curves { p := strings.ToLower(c.P) elementLen := (c.Params.BitSize + 7) / 8 B := fmt.Sprintf("%#v", c.Params.B.FillBytes(make([]byte, elementLen))) Gx := fmt.Sprintf("%#v", c.Params.Gx.FillBytes(make([]byte, elementLen))) Gy := fmt.Sprintf("%#v", c.Params.Gy.FillBytes(make([]byte, elementLen))) log.Printf("Generating %s.go...", p) f, err := os.Create(p + ".go") if err != nil { log.Fatal(err) } defer f.Close() buf := &bytes.Buffer{} if err...
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Jan 08 17:58:32 GMT 2026
    - 660.3K bytes
    - Click Count (0)
  6. lib/fips140/v1.0.0-c2097c7c.zip

    tmplAddchainFile.Close(); err != nil { log.Fatal(err) } for _, c := range curves { p := strings.ToLower(c.P) elementLen := (c.Params.BitSize + 7) / 8 B := fmt.Sprintf("%#v", c.Params.B.FillBytes(make([]byte, elementLen))) Gx := fmt.Sprintf("%#v", c.Params.Gx.FillBytes(make([]byte, elementLen))) Gy := fmt.Sprintf("%#v", c.Params.Gy.FillBytes(make([]byte, elementLen))) log.Printf("Generating %s.go...", p) f, err := os.Create(p + ".go") if err != nil { log.Fatal(err) } defer f.Close() buf := &bytes.Buffer{} if err...
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Sep 25 19:53:19 GMT 2025
    - 642.7K bytes
    - Click Count (0)
  7. api/go1.txt

    pkg encoding/asn1, type RawValue struct
    pkg encoding/asn1, type RawValue struct, Bytes []uint8
    pkg encoding/asn1, type RawValue struct, Class int
    pkg encoding/asn1, type RawValue struct, FullBytes []uint8
    pkg encoding/asn1, type RawValue struct, IsCompound bool
    pkg encoding/asn1, type RawValue struct, Tag int
    pkg encoding/asn1, type StructuralError struct
    pkg encoding/asn1, type StructuralError struct, Msg string
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Click Count (0)
Back to Top