Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 30 for Valid (0.32 sec)

  1. 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)
  2. doc/asm.html

    </li>
    <li>
    <code>NOFRAME</code> = 512
    <br>
    (For <code>TEXT</code> items.)
    Do not insert instructions to allocate a stack frame and save/restore the return
    address, even if this is not a leaf function.
    Only valid on functions that declare a frame size of 0.
    </li>
    <li>
    <code>TOPFRAME</code> = 2048
    <br>
    (For <code>TEXT</code> items.)
    Function is the outermost frame of the call stack. Traceback should stop at this function.
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Tue Nov 28 19:15:27 GMT 2023
    - 36.3K bytes
    - Viewed (0)
  3. 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)
  4. src/bytes/bytes.go

    	// Doing this in a separate pass (rather than slicing the string s
    	// and collecting the result substrings right away) is significantly
    	// more efficient, possibly due to cache effects.
    	start := -1 // valid span start if >= 0
    	for i := 0; i < len(s); {
    		size := 1
    		r := rune(s[i])
    		if r >= utf8.RuneSelf {
    			r, size = utf8.DecodeRune(s[i:])
    		}
    		if f(r) {
    			if start >= 0 {
    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)
  5. src/bytes/bytes_test.go

    			for i := 0; i < b.N; i++ {
    				TrimSpace(test.input)
    			}
    		})
    	}
    }
    
    func BenchmarkToValidUTF8(b *testing.B) {
    	tests := []struct {
    		name  string
    		input []byte
    	}{
    		{"Valid", []byte("typical")},
    		{"InvalidASCII", []byte("foo\xffbar")},
    		{"InvalidNonASCII", []byte("日本語\xff日本語")},
    	}
    	replacement := []byte("\uFFFD")
    	b.ResetTimer()
    	for _, test := range tests {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  6. src/cmd/cgo/gcc.go

    	// If we see an error at not-str-lit:xxx, the corresponding name is not a string literal.
    	//
    	// The specific input forms are chosen so that they are valid C syntax regardless of
    	// whether name denotes a type or an expression.
    
    	var b bytes.Buffer
    	b.WriteString(builtinProlog)
    	b.WriteString(f.Preamble)
    
    	for i, n := range names {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K 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. 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)
  9. 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)
  10. src/cmd/asm/internal/asm/asm.go

    	}
    	prog.Pc = p.pc
    	if *flags.Debug {
    		fmt.Println(p.lineNum, prog)
    	}
    	if testOut != nil {
    		fmt.Fprintln(testOut, prog)
    	}
    }
    
    // validSymbol checks that addr represents a valid name for a pseudo-op.
    func (p *Parser) validSymbol(pseudo string, addr *obj.Addr, offsetOk bool) bool {
    	if addr.Sym == nil || addr.Name != obj.NAME_EXTERN && addr.Name != obj.NAME_STATIC || addr.Scale != 0 || addr.Reg != 0 {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 25.3K bytes
    - Viewed (0)
Back to top