Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for remember (0.2 sec)

  1. src/archive/tar/strconv.go

    	if nsecs == 0 {
    		return strconv.FormatInt(secs, 10)
    	}
    
    	// If seconds is negative, then perform correction.
    	sign := ""
    	if secs < 0 {
    		sign = "-"             // Remember sign
    		secs = -(secs + 1)     // Add a second to secs
    		nsecs = -(nsecs - 1e9) // Take that second away from nsecs
    	}
    	return strings.TrimRight(fmt.Sprintf("%s%d.%09d", sign, secs, nsecs), "0")
    }
    
    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/cmd/cgo/doc.go

    	possibly version in the dynamic library, and the optional "<library>"
    	names the specific library where the symbol should be found.
    
    	On AIX, the library pattern is slightly different. It must be
    	"lib.a/obj.o" with obj.o the member of this library exporting
    	this symbol.
    
    	In the <remote>, # or @ can be used to introduce a symbol version.
    
    	Examples:
    	//go:cgo_import_dynamic puts
    	//go:cgo_import_dynamic puts puts#GLIBC_2.2.5
    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/bytes/bytes.go

    //
    // Deprecated: The rule Title uses for word boundaries does not handle Unicode
    // punctuation properly. Use golang.org/x/text/cases instead.
    func Title(s []byte) []byte {
    	// Use a closure here to remember state.
    	// Hackish but effective. Depends on Map scanning in order and calling
    	// the closure once per rune.
    	prev := ' '
    	return Map(
    		func(r rune) rune {
    			if isSeparator(prev) {
    				prev = r
    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)
  4. src/cmd/asm/internal/asm/parse.go

    			// was AX:DX, for which the new syntax is DX, AX. Note the reordering.
    			if tok == '\n' || tok == ';' || (nesting == 0 && (tok == ',' || tok == ':')) {
    				if tok == ':' {
    					// Remember this location so we can swap the operands below.
    					if colon >= 0 {
    						p.errorf("invalid ':' in operand")
    						return word, cond, operands, true
    					}
    					colon = len(operands)
    				}
    				break
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  5. src/cmd/cgo/gcc.go

    			if c.baseBadPointerTypedef(dt) {
    				break
    			}
    
    			t = c.Type(ptr, pos)
    			if t == nil {
    				return nil
    			}
    
    			// For a struct/union/class, remember the C spelling,
    			// in case it has __attribute__((unavailable)).
    			// See issue 2888.
    			if isStructUnionClass(t.Go) {
    				t.Typedef = dt.Name
    			}
    		}
    	}
    	return t
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  6. api/go1.txt

    pkg text/template/parse, type WithNode struct, embedded BranchNode
    pkg time, const ANSIC ideal-string
    pkg time, const April Month
    pkg time, const August Month
    pkg time, const December Month
    pkg time, const February Month
    pkg time, const Friday Weekday
    pkg time, const Hour Duration
    pkg time, const January Month
    pkg time, const July Month
    pkg time, const June Month
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Viewed (2)
  7. doc/go_mem.html

    sequentially consistent execution of those programs,
    just as in essentially all other modern programming languages.
    </p>
    
    <p>
    When it comes to programs with races,
    both programmers and compilers should remember the advice:
    don't be clever.
    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)
  8. src/archive/zip/zip_test.go

    	t.Run("uint16max_Zip64", func(t *testing.T) {
    		t.Parallel()
    		if !generatesZip64(t, gen(0xffff)) {
    			t.Error("expected zip64")
    		}
    	})
    }
    
    // suffixSaver is an io.Writer & io.ReaderAt that remembers the last 0
    // to 'keep' bytes of data written to it. Call Suffix to get the
    // suffix bytes.
    type suffixSaver struct {
    	keep  int
    	buf   []byte
    	start int
    	size  int64
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  9. doc/go_spec.html

    <code>S2</code>, regardless of what other methods
    <code>S1</code> and <code>S2</code> may have or share.
    </p>
    
    <p>
    Every type that is a member of the type set of an interface implements that interface.
    Any given type may implement several distinct interfaces.
    For instance, all types implement the <i>empty interface</i> which stands for the set
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu May 02 22:43:51 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  10. api/go1.1.txt

    pkg text/template/parse, type VariableNode struct, embedded Pos
    pkg time, const ANSIC = "Mon Jan _2 15:04:05 2006"
    pkg time, const April = 4
    pkg time, const August = 8
    pkg time, const December = 12
    pkg time, const February = 2
    pkg time, const Friday = 5
    pkg time, const Hour = 3600000000000
    pkg time, const January = 1
    pkg time, const July = 7
    pkg time, const June = 6
    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 (0)
Back to top