Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for initially (0.26 sec)

  1. src/bytes/buffer_test.go

    	}
    
    	if string(bytes) != s {
    		t.Errorf("%s: string(buf.Bytes()) == %q, s == %q", testname, string(bytes), s)
    	}
    }
    
    // Fill buf through n writes of string fus.
    // The initial contents of buf corresponds to the string s;
    // the result is the final contents of buf returned as a string.
    func fillString(t *testing.T, testname string, buf *Buffer, s string, n int, fus string) string {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 20 01:07:29 GMT 2023
    - 18.1K bytes
    - Viewed (0)
  2. doc/go1.17_spec.html

    <a href="#The_zero_value">initial values</a>.
    </p>
    
    <pre class="grammar">
    Call             Type T     Result
    
    make(T, n)       slice      slice of type T with length n and capacity n
    make(T, n, m)    slice      slice of type T with length n and capacity m
    
    make(T)          map        map of type T
    make(T, n)       map        map of type T with initial space for approximately n elements
    
    HTML
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  3. src/bytes/buffer.go

    	return string(slice), err
    }
    
    // NewBuffer creates and initializes a new [Buffer] using buf as its
    // initial contents. The new [Buffer] takes ownership of buf, and the
    // caller should not use buf after this call. NewBuffer is intended to
    // prepare a [Buffer] to read existing data. It can also be used to set
    // the initial size of the internal buffer for writing. To do that,
    // buf should have the desired capacity but a length of zero.
    //
    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)
  4. src/cmd/asm/internal/arch/arm.go

    	prog.Scond = bits
    	return true
    }
    
    // ParseARMCondition parses the conditions attached to an ARM instruction.
    // The input is a single string consisting of period-separated condition
    // codes, such as ".P.W". An initial period is ignored.
    func ParseARMCondition(cond string) (uint8, bool) {
    	return parseARMCondition(cond, armLS, armSCOND)
    }
    
    func parseARMCondition(cond string, ls, scond map[string]uint8) (uint8, bool) {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Nov 18 17:59:44 GMT 2022
    - 6.1K bytes
    - Viewed (0)
  5. src/archive/zip/writer_test.go

    				Name:   "foo",
    				Method: Deflate,
    			})
    			w.Write(bigBuf)
    		}
    		zw.Close()
    	}
    
    	b.ReportAllocs()
    	// Run once and then reset the timer.
    	// This effectively discards the very large initial flate setup cost,
    	// as well as the initialization of bigBuf.
    	runOnce(&bytes.Buffer{})
    	b.ResetTimer()
    
    	b.RunParallel(func(pb *testing.PB) {
    		var buf bytes.Buffer
    		for pb.Next() {
    			runOnce(&buf)
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Sep 15 19:04:06 GMT 2023
    - 14.1K bytes
    - Viewed (0)
  6. src/archive/tar/reader_test.go

    			sps = sps[1:]
    		}
    		if len(sps) > 0 {
    			copy(sa.isExtended(), "\x80")
    		}
    		return sps
    	}
    
    	makeInput := func(format Format, size string, sps ...string) (out []byte) {
    		// Write the initial GNU header.
    		var blk block
    		gnu := blk.toGNU()
    		sparse := gnu.sparse()
    		copy(gnu.realSize(), size)
    		sps = populateSparseMap(sparse, sps)
    		if format != FormatUnknown {
    			blk.setFormat(format)
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Nov 21 21:14:38 GMT 2022
    - 47.1K bytes
    - Viewed (0)
  7. src/cmd/cgo/gcc.go

    	return fmt.Sprintf("/*line :%d:%d*/%s", p.Line, p.Column, s)
    }
    
    // checkGCCBaseCmd returns the start of the compiler command line.
    // It uses $CC if set, or else $GCC, or else the compiler recorded
    // during the initial build as defaultCC.
    // defaultCC is defined in zdefaultcc.go, written by cmd/dist.
    //
    // The compiler command line is split into arguments on whitespace. Quotes
    // are understood, so arguments may contain whitespace.
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  8. doc/README.md

    ## For the release team
    
    At the start of a release development cycle, the contents of `next` should be deleted
    and replaced with those of `initial`. From the repo root:
    
        > cd doc
        > rm -r next/*
        > cp -r initial/* next
    
    Then edit `next/1-intro.md` to refer to the next version.
    
    To prepare the release notes for a release, run `golang.org/x/build/cmd/relnote generate`.
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Apr 10 19:41:39 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  9. doc/go_spec.html

    <a href="#The_zero_value">initial values</a>.
    </p>
    
    <pre class="grammar">
    Call             Core type    Result
    
    make(T, n)       slice        slice of type T with length n and capacity n
    make(T, n, m)    slice        slice of type T with length n and capacity m
    
    make(T)          map          map of type T
    make(T, n)       map          map of type T with initial space for approximately n elements
    
    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)
  10. go.env

    # This file contains the initial defaults for go command configuration.
    # Values set by 'go env -w' and written to the user's go/env file override these.
    # The environment overrides everything else.
    
    # Use the Go module mirror and checksum database by default.
    # See https://proxy.golang.org for details.
    GOPROXY=https://proxy.golang.org,direct
    GOSUMDB=sum.golang.org
    
    # Automatically download newer toolchains as directed by go.mod files.
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Jun 06 19:18:46 GMT 2023
    - 505 bytes
    - Viewed (0)
Back to top