Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for great (0.5 sec)

  1. misc/wasm/wasm_exec.js

    		const err = new Error("not implemented");
    		err.code = "ENOSYS";
    		return err;
    	};
    
    	if (!globalThis.fs) {
    		let outputBuf = "";
    		globalThis.fs = {
    			constants: { O_WRONLY: -1, O_RDWR: -1, O_CREAT: -1, O_TRUNC: -1, O_APPEND: -1, O_EXCL: -1 }, // unused
    			writeSync(fd, buf) {
    				outputBuf += decoder.decode(buf);
    				const nl = outputBuf.lastIndexOf("\n");
    				if (nl != -1) {
    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)
  2. src/cmd/cgo/doc.go

    is okay, because cmd/link also processes the cgo_import_static directive and
    knows that _cgo_gcc_Cfunc_sin is expected to be supplied by a host
    object file, so cmd/link does not treat the missing symbol as an error when
    creating go.o. Indeed, the definition for _cgo_gcc_Cfunc_sin will be
    provided to the host linker by foo2.cgo.o, which in turn will need the
    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)
  3. src/archive/zip/reader_test.go

    		t.Fatal(err)
    	}
    	_, err = io.ReadAll(r)
    	if err != io.ErrUnexpectedEOF {
    		t.Errorf("File[0] error = %v; want io.ErrUnexpectedEOF", err)
    	}
    	r.Close()
    }
    
    // Verify we do not treat non-zip64 archives as zip64
    func TestIssue12449(t *testing.T) {
    	data := []byte{
    		0x50, 0x4b, 0x03, 0x04, 0x14, 0x00, 0x08, 0x00,
    		0x00, 0x00, 0x6b, 0xb4, 0xba, 0x46, 0x00, 0x00,
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 55.3K bytes
    - Viewed (0)
  4. api/go1.13.txt

    pkg syscall (netbsd-arm64-cgo), const O_APPEND = 8
    pkg syscall (netbsd-arm64-cgo), const O_ASYNC = 64
    pkg syscall (netbsd-arm64-cgo), const O_CLOEXEC = 4194304
    pkg syscall (netbsd-arm64-cgo), const O_CREAT = 512
    pkg syscall (netbsd-arm64-cgo), const OCRNL = 16
    pkg syscall (netbsd-arm64-cgo), const OCRNL ideal-int
    pkg syscall (netbsd-arm64-cgo), const O_DIRECT = 524288
    pkg syscall (netbsd-arm64-cgo), const O_DIRECT ideal-int
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Aug 08 18:44:16 GMT 2019
    - 452.6K bytes
    - Viewed (0)
  5. src/bytes/bytes.go

    		case r == '_':
    			return false
    		}
    		return true
    	}
    	// Letters and digits are not separators
    	if unicode.IsLetter(r) || unicode.IsDigit(r) {
    		return false
    	}
    	// Otherwise, all we can do for now is treat spaces as separators.
    	return unicode.IsSpace(r)
    }
    
    // Title treats s as UTF-8-encoded bytes and returns a copy with all Unicode letters that begin
    // words mapped to their title case.
    //
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.8K bytes
    - Viewed (0)
  6. api/go1.1.txt

    pkg syscall (darwin-386), const O_APPEND = 8
    pkg syscall (darwin-386), const O_ASYNC = 64
    pkg syscall (darwin-386), const O_CLOEXEC = 16777216
    pkg syscall (darwin-386), const O_CREAT = 512
    pkg syscall (darwin-386), const O_DIRECTORY = 1048576
    pkg syscall (darwin-386), const O_DSYNC = 4194304
    pkg syscall (darwin-386), const O_EVTONLY = 32768
    pkg syscall (darwin-386), const O_EXCL = 2048
    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)
  7. api/go1.2.txt

    pkg syscall (linux-arm-cgo), const SYS_CLONE ideal-int
    pkg syscall (linux-arm-cgo), const SYS_CLOSE ideal-int
    pkg syscall (linux-arm-cgo), const SYS_CONNECT ideal-int
    pkg syscall (linux-arm-cgo), const SYS_CREAT ideal-int
    pkg syscall (linux-arm-cgo), const SYS_DELETE_MODULE ideal-int
    pkg syscall (linux-arm-cgo), const SYS_DUP ideal-int
    pkg syscall (linux-arm-cgo), const SYS_DUP2 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/tar/strconv.go

    func (f *formatter) formatString(b []byte, s string) {
    	if len(s) > len(b) {
    		f.err = ErrFieldTooLong
    	}
    	copy(b, s)
    	if len(s) < len(b) {
    		b[len(s)] = 0
    	}
    
    	// Some buggy readers treat regular files with a trailing slash
    	// in the V7 path field as a directory even though the full path
    	// recorded elsewhere (e.g., via PAX record) contains no trailing slash.
    	if len(s) > len(b) && b[len(b)-1] == '/' {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 01 14:28:42 GMT 2023
    - 9K bytes
    - Viewed (0)
  9. src/cmd/cgo/godefs.go

    	override := make(map[string]string)
    
    	// Allow source file to specify override mappings.
    	// For example, the socket data structures refer
    	// to in_addr and in_addr6 structs but we want to be
    	// able to treat them as byte arrays, so the godefs
    	// inputs in package syscall say
    	//
    	//	// +godefs map struct_in_addr [4]byte
    	//	// +godefs map struct_in_addr6 [16]byte
    	//
    	for _, g := range f.Comments {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Sep 08 14:33:35 GMT 2022
    - 4.5K bytes
    - Viewed (0)
  10. src/cmd/cgo/internal/test/issue1435.go

    		tf := fmt.Sprintf("/proc/%s/status", f.Name())
    		d, err := os.ReadFile(tf)
    		if err != nil {
    			// There are a surprising number of ways this
    			// can error out on linux.  We've seen all of
    			// the following, so treat any error here as
    			// equivalent to the "process is gone":
    			//    os.IsNotExist(err),
    			//    "... : no such process",
    			//    "... : bad file descriptor.
    			continue
    		}
    		lines := strings.Split(string(d), "\n")
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Jul 28 21:31:41 GMT 2023
    - 7.5K bytes
    - Viewed (0)
Back to top