Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 91 for orange (0.16 sec)

  1. src/bufio/bufio_test.go

    	}},
    }
    
    func TestReadLineNewlines(t *testing.T) {
    	for _, e := range readLineNewlinesTests {
    		testReadLineNewlines(t, e.input, e.expect)
    	}
    }
    
    func testReadLineNewlines(t *testing.T, input string, expect []readLineResult) {
    	b := NewReaderSize(strings.NewReader(input), minReadBufferSize)
    	for i, e := range expect {
    		line, isPrefix, err := b.ReadLine()
    		if !bytes.Equal(line, e.line) {
    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)
  2. misc/wasm/wasm_exec.js

    			}
    
    			const timeOrigin = Date.now() - performance.now();
    			this.importObject = {
    				_gotest: {
    					add: (a, b) => a + b,
    				},
    				gojs: {
    					// Go's SP does not change as long as no Go code is running. Some operations (e.g. calls, getters and setters)
    					// may synchronously trigger a Go event handler. This makes Go code get executed in the middle of the imported
    JavaScript
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon May 22 17:47:47 GMT 2023
    - 16.3K bytes
    - Viewed (1)
  3. src/cmd/cgo/doc.go

    	// It is the caller's responsibility to arrange for it to be
    	// freed, such as by calling C.free (be sure to include stdlib.h
    	// if C.free is needed).
    	func C.CString(string) *C.char
    
    	// Go []byte slice to C array
    	// The C array is allocated in the C heap using malloc.
    	// It is the caller's responsibility to arrange for it to be
    	// freed, such as by calling C.free (be sure to include stdlib.h
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/test/callback.go

    	// We do not do any explicit checks, just ensure that it does not crash.
    	for _, f := range splitTests {
    		f()
    	}
    }
    
    //export goStackCheck
    func goStackCheck() {
    	// use some stack memory to trigger split stack check
    	var buf [256]byte
    	use(buf[:])
    }
    
    var Used byte
    
    func use(buf []byte) {
    	for _, c := range buf {
    		Used += c
    	}
    }
    
    var splitTests = []func(){
    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)
  5. api/go1.13.txt

    pkg syscall (netbsd-arm64-cgo), const SYS_FSYNC = 95
    pkg syscall (netbsd-arm64-cgo), const SYS_FSYNC ideal-int
    pkg syscall (netbsd-arm64-cgo), const SYS_FSYNC_RANGE = 354
    pkg syscall (netbsd-arm64-cgo), const SYS_FSYNC_RANGE ideal-int
    pkg syscall (netbsd-arm64-cgo), const SYS_FTRUNCATE = 201
    pkg syscall (netbsd-arm64-cgo), const SYS_FTRUNCATE ideal-int
    pkg syscall (netbsd-arm64-cgo), const SYS_FUTIMENS = 472
    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)
  6. .github/ISSUE_TEMPLATE/11-language-change.yml

        id: informal-change
        attributes:
          label: "Informal Change"
          description: "Please also describe the change informally, as in a class teaching Go."
        validations:
          required: false
    
      - type: textarea
        id: go-backwards-compatiblity
        attributes:
          label: Is this change backward compatible?
    Others
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Nov 22 20:49:24 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  7. src/cmd/cgo/gcc.go

    		for _, a := range dt.ParamType {
    			p.recordTypedefs1(a, pos, visited)
    		}
    	case *dwarf.StructType:
    		for _, f := range dt.Field {
    			p.recordTypedefs1(f.Type, pos, visited)
    		}
    	}
    }
    
    // prepareNames finalizes the Kind field of not-type names and sets
    // the mangled name of all names.
    func (p *Package) prepareNames(f *File) {
    	for _, n := range f.Name {
    		if n.Kind == "not-type" {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  8. src/archive/tar/common.go

    	}
    
    	// Check PAX records.
    	if len(h.Xattrs) > 0 {
    		for k, v := range h.Xattrs {
    			paxHdrs[paxSchilyXattr+k] = v
    		}
    		whyOnlyPAX = "only PAX supports Xattrs"
    		format.mayOnlyBe(FormatPAX)
    	}
    	if len(h.PAXRecords) > 0 {
    		for k, v := range h.PAXRecords {
    			switch _, exists := paxHdrs[k]; {
    			case exists:
    				continue // Do not overwrite existing records
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24.7K bytes
    - Viewed (2)
  9. src/cmd/asm/internal/asm/testdata/riscv64error.s

    	RORIW	$32, X5, X6			// ERROR "immediate out of range 0 to 31"
    	SLLIW	$32, X5, X6			// ERROR "immediate out of range 0 to 31"
    	SRLIW	$32, X5, X6			// ERROR "immediate out of range 0 to 31"
    	SRAIW	$32, X5, X6			// ERROR "immediate out of range 0 to 31"
    	RORIW	$-1, X5, X6			// ERROR "immediate out of range 0 to 31"
    	SLLIW	$-1, X5, X6			// ERROR "immediate out of range 0 to 31"
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Apr 07 03:32:27 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  10. src/archive/zip/writer_test.go

    	// write a zip file
    	buf := new(bytes.Buffer)
    	w := NewWriter(buf)
    
    	for _, wt := range writeTests {
    		testCreate(t, w, &wt)
    	}
    
    	if err := w.Close(); err != nil {
    		t.Fatal(err)
    	}
    
    	// read it back
    	r, err := NewReader(bytes.NewReader(buf.Bytes()), int64(buf.Len()))
    	if err != nil {
    		t.Fatal(err)
    	}
    	for i, wt := range writeTests {
    		testReadFile(t, r.File[i], &wt)
    	}
    }
    
    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)
Back to top