Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 43 for Valid (0.17 sec)

  1. src/bufio/bufio.go

    	b.err = io.ErrNoProgress
    }
    
    func (b *Reader) readErr() error {
    	err := b.err
    	b.err = nil
    	return err
    }
    
    // Peek returns the next n bytes without advancing the reader. The bytes stop
    // being valid at the next read call. If Peek returns fewer than n bytes, it
    // also returns an error explaining why the read is short. The error is
    // [ErrBufferFull] if n is larger than b's buffer size.
    //
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Oct 12 14:39:08 GMT 2023
    - 21.8K bytes
    - Viewed (0)
  2. src/archive/zip/writer.go

    		Name:   name,
    		Method: Deflate,
    	}
    	return w.CreateHeader(header)
    }
    
    // detectUTF8 reports whether s is a valid UTF-8 string, and whether the string
    // must be considered UTF-8 encoding (i.e., not compatible with CP-437, ASCII,
    // or any other common encoding).
    func detectUTF8(s string) (valid, require bool) {
    	for i := 0; i < len(s); {
    		r, size := utf8.DecodeRuneInString(s[i:])
    		i += size
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 04 14:28:57 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  3. misc/cgo/gmp/gmp.go

    /*
    An example of wrapping a C library in Go. This is the GNU
    multiprecision library gmp's integer type mpz_t wrapped to look like
    the Go package big's integer type Int.
    
    This is a syntactically valid Go program—it can be parsed with the Go
    parser and processed by godoc—but it is not compiled directly by gc.
    Instead, a separate tool, cgo, processes it to produce three output
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 9.5K bytes
    - Viewed (0)
  4. api/go1.1.txt

    pkg syscall (windows-386), const CERT_TRUST_IS_EXPLICIT_DISTRUST = 67108864
    pkg syscall (windows-386), const CERT_TRUST_IS_NOT_SIGNATURE_VALID = 8
    pkg syscall (windows-386), const CERT_TRUST_IS_NOT_TIME_VALID = 1
    pkg syscall (windows-386), const CERT_TRUST_IS_NOT_VALID_FOR_USAGE = 16
    pkg syscall (windows-386), const CERT_TRUST_IS_OFFLINE_REVOCATION = 16777216
    pkg syscall (windows-386), const CERT_TRUST_IS_REVOKED = 4
    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)
  5. src/archive/tar/reader.go

    			// files generated by a pre-Go1.8 toolchain. If the generated file
    			// happened to have a prefix field that parses as valid
    			// atime and ctime fields (e.g., when they are valid octal strings),
    			// then it is impossible to distinguish between a valid GNU file
    			// and an invalid pre-Go1.8 file.
    			//
    			// See https://golang.org/issues/12594
    			// See https://golang.org/issues/21005
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 08 01:59:14 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  6. doc/go_mem.html

    </p>
    
    <h2 id="badcompiler">Incorrect compilation</h2>
    
    <p>
    The Go memory model restricts compiler optimizations as much as it does Go programs.
    Some compiler optimizations that would be valid in single-threaded programs are not valid in all Go programs.
    In particular, a compiler must not introduce writes that do not exist in the original program,
    it must not allow a single read to observe multiple values,
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Mon Mar 04 15:54:42 GMT 2024
    - 26.6K bytes
    - Viewed (0)
  7. api/go1.22.txt

    pkg database/sql, type Null[$0 interface{}] struct #60370
    pkg database/sql, type Null[$0 interface{}] struct, V $0 #60370
    pkg database/sql, type Null[$0 interface{}] struct, Valid bool #60370
    pkg debug/elf, const R_LARCH_64_PCREL = 109 #63725
    pkg debug/elf, const R_LARCH_64_PCREL R_LARCH #63725
    pkg debug/elf, const R_LARCH_ADD6 = 105 #63725
    pkg debug/elf, const R_LARCH_ADD6 R_LARCH #63725
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Jan 24 20:54:27 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  8. src/cmd/asm/internal/asm/testdata/ppc64_p10.s

    // Copyright 2022 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // This contains the valid opcode combinations available
    // in cmd/internal/obj/ppc64/asm9.go which exist for
    // POWER10/ISA 3.1.
    
    #include "../../../../../runtime/textflag.h"
    
    TEXT asmtest(SB), DUPOK|NOSPLIT, $0
    	BRD R1, R2                              // 7c220176
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Mar 23 20:52:57 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  9. misc/go_android_exec/main.go

    		return err
    	}
    	return nil
    }
    
    func findGoroot() (string, error) {
    	gorootOnce.Do(func() {
    		// If runtime.GOROOT reports a non-empty path, assume that it is valid.
    		// (It may be empty if this binary was built with -trimpath.)
    		gorootPath = runtime.GOROOT()
    		if gorootPath != "" {
    			return
    		}
    
    		// runtime.GOROOT is empty — perhaps go_android_exec was built with
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Aug 21 17:46:57 GMT 2023
    - 15.3K bytes
    - Viewed (0)
  10. src/archive/tar/writer_test.go

    					"GNU.sparse.map": "0,0",  // Should be ignored
    					"comment":        "Hello, 世界",
    					"GOLANG.pkg":     "tar",
    				},
    			}, nil},
    			testClose{nil},
    		},
    	}, {
    		// Craft a theoretically valid PAX archive with global headers.
    		// The GNU and BSD tar tools do not parse these the same way.
    		//
    		// BSD tar v3.1.2 parses and ignores all global headers;
    		// the behavior is verified by researching the source code.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Feb 27 16:39:23 GMT 2024
    - 38.7K bytes
    - Viewed (0)
Back to top