Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for awaited (0.2 sec)

  1. src/cmd/api/api_test.go

    			}
    			f.Close()
    		}
    
    		bs, err := os.ReadFile(goldenFile)
    		if err != nil {
    			t.Fatalf("opening golden.txt for package %q: %v", fi.Name(), err)
    		}
    		wanted := strings.Split(string(bs), "\n")
    		sort.Strings(wanted)
    		for _, feature := range wanted {
    			if feature == "" {
    				continue
    			}
    			_, ok := w.features[feature]
    			if !ok {
    				t.Errorf("package %s: missing feature %q", fi.Name(), feature)
    			}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Jan 04 17:31:12 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  2. misc/wasm/wasm_exec.js

    				throw new Error("total length of command line and environment variables exceeds limit");
    			}
    
    			this._inst.exports.run(argc, argv);
    			if (this.exited) {
    				this._resolveExitPromise();
    			}
    			await this._exitPromise;
    		}
    
    		_resume() {
    			if (this.exited) {
    				throw new Error("Go program has already exited");
    			}
    			this._inst.exports.resume();
    			if (this.exited) {
    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/bufio/bufio_test.go

    			continue
    		}
    		// Two flushes, to verify the error is sticky.
    		for i := 0; i < 2; i++ {
    			e = buf.Flush()
    			if e != w.expect {
    				t.Errorf("Flush %d/2 %v: got %v, wanted %v", i+1, w, e, w.expect)
    			}
    		}
    	}
    }
    
    func TestNewReaderSizeIdempotent(t *testing.T) {
    	const BufSize = 1000
    	b := NewReaderSize(strings.NewReader("hello world"), BufSize)
    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)
  4. misc/wasm/wasm_exec.html

    	-->
    	<script src="wasm_exec.js"></script>
    	<script>
    		if (!WebAssembly.instantiateStreaming) { // polyfill
    			WebAssembly.instantiateStreaming = async (resp, importObject) => {
    				const source = await (await resp).arrayBuffer();
    				return await WebAssembly.instantiate(source, importObject);
    			};
    		}
    
    		const go = new Go();
    		let mod, inst;
    		WebAssembly.instantiateStreaming(fetch("test.wasm"), go.importObject).then((result) => {
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Oct 02 17:25:11 GMT 2018
    - 1.3K bytes
    - Viewed (0)
  5. src/archive/tar/common.go

    		if wantFormat.has(FormatPAX) && !preferPAX {
    			wantFormat.mayBe(FormatUSTAR) // PAX implies USTAR allowed too
    		}
    		format.mayOnlyBe(wantFormat) // Set union of formats allowed and format wanted
    	}
    	if format == FormatUnknown {
    		switch h.Format {
    		case FormatUSTAR:
    			err = headerError{"Format specifies USTAR", whyNoUSTAR, whyOnlyPAX, whyOnlyGNU}
    		case FormatPAX:
    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)
  6. src/archive/tar/reader_test.go

    	if err != nil {
    		t.Fatalf("Unexpected error: %v", err)
    	}
    	defer f.Close()
    
    	tr := NewReader(f)
    	_, err = tr.Read([]byte{})
    	if err == nil || err != io.EOF {
    		t.Errorf("Unexpected error: %v, wanted %v", err, io.EOF)
    	}
    
    }
    
    type reader struct{ io.Reader }
    type readSeeker struct{ io.ReadSeeker }
    type readBadSeeker struct{ io.ReadSeeker }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Nov 21 21:14:38 GMT 2022
    - 47.1K bytes
    - Viewed (0)
  7. api/go1.16.txt

    pkg syscall (darwin-arm64), const SYS_WAITEVENT ideal-int
    pkg syscall (darwin-arm64), const SYS_WAITID = 173
    pkg syscall (darwin-arm64), const SYS_WAITID ideal-int
    pkg syscall (darwin-arm64), const SYS_WAITID_NOCANCEL = 416
    pkg syscall (darwin-arm64), const SYS_WAITID_NOCANCEL ideal-int
    pkg syscall (darwin-arm64), const SYS_WATCHEVENT = 231
    pkg syscall (darwin-arm64), const SYS_WATCHEVENT ideal-int
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Dec 02 16:30:41 GMT 2022
    - 479.2K bytes
    - Viewed (0)
  8. api/go1.txt

    pkg syscall (darwin-386), const SYS_WAIT4_NOCANCEL ideal-int
    pkg syscall (darwin-386), const SYS_WAITEVENT ideal-int
    pkg syscall (darwin-386), const SYS_WAITID ideal-int
    pkg syscall (darwin-386), const SYS_WAITID_NOCANCEL ideal-int
    pkg syscall (darwin-386), const SYS_WATCHEVENT ideal-int
    pkg syscall (darwin-386), const SYS_WORKQ_KERNRETURN ideal-int
    pkg syscall (darwin-386), const SYS_WORKQ_OPEN ideal-int
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Viewed (2)
  9. api/go1.1.txt

    pkg syscall (darwin-386), const SYS_WAIT4 = 7
    pkg syscall (darwin-386), const SYS_WAIT4_NOCANCEL = 400
    pkg syscall (darwin-386), const SYS_WAITEVENT = 232
    pkg syscall (darwin-386), const SYS_WAITID = 173
    pkg syscall (darwin-386), const SYS_WAITID_NOCANCEL = 416
    pkg syscall (darwin-386), const SYS_WATCHEVENT = 231
    pkg syscall (darwin-386), const SYS_WORKQ_KERNRETURN = 368
    pkg syscall (darwin-386), const SYS_WORKQ_OPEN = 367
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Mar 31 20:37:15 GMT 2022
    - 2.6M bytes
    - Viewed (1)
  10. api/go1.2.txt

    pkg syscall (linux-arm-cgo), const SYS_VMSPLICE ideal-int
    pkg syscall (linux-arm-cgo), const SYS_VSERVER ideal-int
    pkg syscall (linux-arm-cgo), const SYS_WAIT4 ideal-int
    pkg syscall (linux-arm-cgo), const SYS_WAITID ideal-int
    pkg syscall (linux-arm-cgo), const SYS_WRITE ideal-int
    pkg syscall (linux-arm-cgo), const SYS_WRITEV ideal-int
    pkg syscall (linux-arm-cgo), const SYS__LLSEEK ideal-int
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Oct 18 04:36:59 GMT 2013
    - 1.9M bytes
    - Viewed (2)
Back to top