Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for have (0.14 sec)

  1. src/cmd/asm/internal/asm/parse.go

    		}
    	}
    	if haveConstant {
    		p.back()
    		if p.have(scanner.Float) {
    			if prefix != '$' {
    				p.errorf("floating-point constant must be an immediate")
    			}
    			a.Type = obj.TYPE_FCONST
    			a.Val = p.floatExpr()
    			// fmt.Printf("FCONST %s\n", obj.Dconv(&emptyProg, 0, a))
    			p.expectOperandEnd()
    			return
    		}
    		if p.have(scanner.String) {
    			if prefix != '$' {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/lex/input.go

    			if macro != nil {
    				nesting++
    				in.invokeMacro(macro)
    				continue
    			}
    			fallthrough
    		default:
    			if tok == scanner.EOF && len(in.ifdefStack) > 0 {
    				// We're skipping text but have run out of input with no #endif.
    				in.Error("unclosed #ifdef or #ifndef")
    			}
    			in.beginningOfLine = tok == '\n'
    			if in.enabled() {
    				in.text = in.Stack.Text()
    				return tok
    			}
    		}
    	}
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 12.6K bytes
    - Viewed (0)
  3. src/bytes/bytes.go

    	// limit (8KB), we stop growing the source string once the limit
    	// is reached and keep reusing the same source string - that
    	// should therefore be always resident in the L1 cache - until we
    	// have completed the construction of the result.
    	// This yields significant speedups (up to +100%) in cases where
    	// the result length is large (roughly, over L2 cache size).
    	const chunkLimit = 8 * 1024
    	chunkMax := n
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.8K bytes
    - Viewed (0)
  4. src/builtin/builtin.go

    // invocation of F then behaves like a call to panic, terminating G's
    // execution and running any deferred functions. This continues until all
    // functions in the executing goroutine have stopped, in reverse order. At
    // that point, the program is terminated with a non-zero exit code. This
    // termination sequence is called panicking and can be controlled by the
    // built-in function recover.
    //
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  5. src/archive/zip/zip_test.go

    	}
    	testValidHeader(&h, t)
    }
    
    // Issue 4393. It is valid to have an extra data header
    // which contains no body.
    func TestZeroLengthHeader(t *testing.T) {
    	h := FileHeader{
    		Name:   "extadata.txt",
    		Method: Deflate,
    		Extra: []byte{
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  6. src/bufio/scan.go

    // scanners.
    func (s *Scanner) Scan() bool {
    	if s.done {
    		return false
    	}
    	s.scanCalled = true
    	// Loop until we have a token.
    	for {
    		// See if we can get a token with what we already have.
    		// If we've run out of data but have an error, give the split function
    		// a chance to recover any remaining, possibly empty token.
    		if s.end > s.start || s.err != nil {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Oct 23 09:06:30 GMT 2023
    - 14.2K bytes
    - Viewed (0)
  7. doc/godebug.md

    then fixing the bug will break that code.
    New features can also have similar impacts:
    enabling the HTTP/2 use by the HTTP client broke programs
    connecting to servers with buggy HTTP/2 implementations.
    These kinds of changes are unavoidable and
    [permitted by the Go 1 compatibility rules](/doc/go1compat).
    Even so, Go provides a mechanism called GODEBUG to
    reduce the impact such changes have on Go developers
    using newer toolchains to compile old code.
    
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Apr 16 17:29:58 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  8. src/archive/tar/format.go

    // license that can be found in the LICENSE file.
    
    package tar
    
    import "strings"
    
    // Format represents the tar archive format.
    //
    // The original tar format was introduced in Unix V7.
    // Since then, there have been multiple competing formats attempting to
    // standardize or extend the V7 format to overcome its limitations.
    // The most common formats are the USTAR, PAX, and GNU formats,
    // each with their own advantages and limitations.
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 11.3K bytes
    - Viewed (0)
  9. src/archive/zip/struct.go

    	// IDs above that range are defined by third-party vendors.
    	// Since ZIP lacked high precision timestamps (nor an official specification
    	// of the timezone used for the date fields), many competing extra fields
    	// have been invented. Pervasive use effectively makes them "official".
    	//
    	// See http://mdfs.net/Docs/Comp/Archiving/Zip/ExtraField
    	zip64ExtraID       = 0x0001 // Zip64 extended information
    	ntfsExtraID        = 0x000a // NTFS
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 12.1K bytes
    - Viewed (0)
  10. src/archive/zip/reader.go

    	if err = r.init(f, fi.Size()); err != nil && err != ErrInsecurePath {
    		f.Close()
    		return nil, err
    	}
    	r.f = f
    	return r, err
    }
    
    // NewReader returns a new [Reader] reading from r, which is assumed to
    // have the given size in bytes.
    //
    // If any file inside the archive uses a non-local name
    // (as defined by [filepath.IsLocal]) or a name containing backslashes
    // and the GODEBUG environment variable contains `zipinsecurepath=0`,
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 27.7K bytes
    - Viewed (0)
Back to top