Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 39 for seconds (0.38 sec)

  1. src/archive/tar/strconv.go

    	const maxNanoSecondDigits = 9
    
    	// Split string into seconds and sub-seconds parts.
    	ss, sn, _ := strings.Cut(s, ".")
    
    	// Parse the seconds.
    	secs, err := strconv.ParseInt(ss, 10, 64)
    	if err != nil {
    		return time.Time{}, ErrHeader
    	}
    	if len(sn) == 0 {
    		return time.Unix(secs, 0), nil // No sub-second values
    	}
    
    	// Parse the nanoseconds.
    	if strings.Trim(sn, "0123456789") != "" {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 01 14:28:42 GMT 2023
    - 9K bytes
    - Viewed (0)
  2. src/archive/tar/format.go

    //	sub-second times  |     no |       yes |        no
    //	sparse files      |     no |       yes |       yes
    //
    // The table's upper portion shows the [Header] fields, where each format reports
    // the maximum number of bytes allowed for each string field and
    // the integer type used to store each numeric field
    // (where timestamps are stored as the number of seconds since the Unix epoch).
    //
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 11.3K bytes
    - Viewed (0)
  3. src/bufio/bufio_test.go

    		c <- err
    	}()
    
    	select {
    	case err := <-c:
    		if err == nil {
    			t.Error("error expected")
    		} else if err != io.ErrNoProgress {
    			t.Error("unexpected error:", err)
    		}
    	case <-time.After(time.Second):
    		t.Error("test timed out (endless loop in ReadByte?)")
    	}
    }
    
    // A StringReader delivers its data one string segment at a time via Read.
    type StringReader struct {
    	data []string
    	step int
    }
    
    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. src/cmd/cgo/doc.go

    will use external linking mode. The first rule means that a build of
    the godoc binary, which uses net but no other cgo, can run without
    needing gcc available. The second rule means that a build of a
    cgo-wrapped library like sqlite3 can generate a standalone executable
    instead of needing to refer to a dynamic library. The specific choice
    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)
  5. src/cmd/cgo/ast.go

    	f.walk(ast2, ctxProg, (*File).saveExprs)
    
    	// Accumulate exported functions.
    	// The comments are only on ast1 but we need to
    	// save the function bodies from ast2.
    	// The first walk fills in ExpFunc, and the
    	// second walk changes the entries to
    	// refer to ast2 instead.
    	f.walk(ast1, ctxProg, (*File).saveExport)
    	f.walk(ast2, ctxProg, (*File).saveExport2)
    
    	f.Comments = ast1.Comments
    	f.AST = ast2
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jun 07 16:54:27 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  6. doc/go1.17_spec.html

    <code>f</code> is a function returning two values,
    </p>
    
    <pre>
    x, y = f()
    </pre>
    
    <p>
    assigns the first value to <code>x</code> and the second to <code>y</code>.
    In the second form, the number of operands on the left must equal the number
    of expressions on the right, each of which must be single-valued, and the
    <i>n</i>th expression on the right is assigned to the <i>n</i>th
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  7. src/archive/zip/reader_test.go

    	Mode     fs.FileMode
    	NonUTF8  bool
    	ModTime  time.Time
    	Modified time.Time
    
    	// Information describing expected zip file content.
    	// First, reading the entire content should produce the error ContentErr.
    	// Second, if ContentErr==nil, the content should match Content.
    	// If content is large, an alternative to setting Content is to set File,
    	// which names a file in the testdata/ directory containing the
    	// uncompressed expected content.
    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)
  8. api/go1.16.txt

    pkg syscall (darwin-arm64), const NOTE_RENAME ideal-int
    pkg syscall (darwin-arm64), const NOTE_REVOKE = 64
    pkg syscall (darwin-arm64), const NOTE_REVOKE ideal-int
    pkg syscall (darwin-arm64), const NOTE_SECONDS = 1
    pkg syscall (darwin-arm64), const NOTE_SECONDS ideal-int
    pkg syscall (darwin-arm64), const NOTE_SIGNAL = 134217728
    pkg syscall (darwin-arm64), const NOTE_SIGNAL ideal-int
    pkg syscall (darwin-arm64), const NOTE_TRACK = 1
    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)
  9. src/archive/tar/common.go

    	// PAXRecords is a map of PAX extended header records.
    	//
    	// User-defined records should have keys of the following form:
    	//	VENDOR.keyword
    	// Where VENDOR is some namespace in all uppercase, and keyword may
    	// not contain the '=' character (e.g., "GOLANG.pkg.version").
    	// The key and value should be non-empty UTF-8 strings.
    	//
    	// When Writer.WriteHeader is called, PAX records derived from the
    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)
  10. src/cmd/asm/internal/arch/arm.go

    var armSCOND = map[string]uint8{
    	"EQ":  arm.C_SCOND_EQ,
    	"NE":  arm.C_SCOND_NE,
    	"CS":  arm.C_SCOND_HS,
    	"HS":  arm.C_SCOND_HS,
    	"CC":  arm.C_SCOND_LO,
    	"LO":  arm.C_SCOND_LO,
    	"MI":  arm.C_SCOND_MI,
    	"PL":  arm.C_SCOND_PL,
    	"VS":  arm.C_SCOND_VS,
    	"VC":  arm.C_SCOND_VC,
    	"HI":  arm.C_SCOND_HI,
    	"LS":  arm.C_SCOND_LS,
    	"GE":  arm.C_SCOND_GE,
    	"LT":  arm.C_SCOND_LT,
    	"GT":  arm.C_SCOND_GT,
    	"LE":  arm.C_SCOND_LE,
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Nov 18 17:59:44 GMT 2022
    - 6.1K bytes
    - Viewed (0)
Back to top