Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 for NOW (0.22 sec)

  1. src/cmd/api/testdata/src/pkg/p1/p1.go

    const (
    	foo          = "foo"
    	foo2  string = "foo2"
    	truth        = foo == "foo" || foo2 == "foo2"
    )
    
    func ellipsis(...string) {}
    
    func Now() Time {
    	var now Time
    	return now
    }
    
    var x = &S{
    	Public:     nil,
    	private:    nil,
    	PublicTime: Now(),
    }
    
    var parenExpr = (1 + 5)
    
    var funcLit = func() {}
    
    var m map[string]int
    
    var chanVar chan int
    
    var ifaceVar any = 5
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Dec 02 16:29:41 GMT 2022
    - 3.3K bytes
    - Viewed (0)
  2. doc/next/6-stdlib/99-minor/net/http/46443.md

    [Cookie] now preserves double quotes surrounding a cookie value.
    The new [Cookie.Quoted] field indicates whether the [Cookie.Value]
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 19 14:33:17 GMT 2024
    - 155 bytes
    - Viewed (0)
  3. doc/next/6-stdlib/99-minor/go/types/65772.md

    The [Func] type, which represents a function or method symbol, now
    has a [Func.Signature] method that returns the function's type, which
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 19 14:33:17 GMT 2024
    - 161 bytes
    - Viewed (0)
  4. misc/chrome/gophertool/README.txt

    To install:
    
    1) chrome://extensions/
    2) click "[+] Developer Mode" in top right
    3) "Load unpacked extension..."
    4) pick $GOROOT/misc/chrome/gophertool
    
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon May 23 21:27:51 GMT 2011
    - 194 bytes
    - Viewed (0)
  5. misc/wasm/wasm_exec.js

    				const saddr = getInt64(addr + 0);
    				const len = getInt64(addr + 8);
    				return decoder.decode(new DataView(this._inst.exports.mem.buffer, saddr, len));
    			}
    
    			const timeOrigin = Date.now() - performance.now();
    			this.importObject = {
    				_gotest: {
    					add: (a, b) => a + b,
    				},
    				gojs: {
    					// Go's SP does not change as long as no Go code is running. Some operations (e.g. calls, getters and setters)
    JavaScript
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon May 22 17:47:47 GMT 2023
    - 16.3K bytes
    - Viewed (1)
  6. src/cmd/cgo/ast.go

    	case *ast.CallExpr:
    		f.saveCall(x, context)
    	}
    }
    
    // Save references to C.xxx for later processing.
    func (f *File) saveRef(n *ast.Expr, context astContext) {
    	sel := (*n).(*ast.SelectorExpr)
    	// For now, assume that the only instance of capital C is when
    	// used as the imported package identifier.
    	// The parser should take care of scoping in the future, so
    	// that we will be able to distinguish a "top-level C" from a
    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)
  7. src/bufio/bufio_test.go

    	}
    }
    
    func TestBufferFull(t *testing.T) {
    	const longString = "And now, hello, world! It is the time for all good men to come to the aid of their party"
    	buf := NewReaderSize(strings.NewReader(longString), minReadBufferSize)
    	line, err := buf.ReadSlice('!')
    	if string(line) != "And now, hello, " || err != ErrBufferFull {
    		t.Errorf("first ReadSlice(,) = %q, %v", line, err)
    	}
    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)
  8. doc/next/6-stdlib/1-time.md

    Earlier versions of Go did not collect unstopped `Timer`s until after
    they had fired and never collected unstopped `Ticker`s.
    
    Second, the timer channel associated with a `Timer` or `Ticker` is
    now unbuffered, with capacity 0.
    The main effect of this change is that Go now guarantees
    that for any call to a `Reset` or `Stop` method, no stale values
    prepared before that call will be sent or received after the call.
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 12 20:57:18 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  9. doc/next/6-stdlib/99-minor/debug/elf/66054.md

    The `debug/elf` package now defines [PT_OPENBSD_NOBTCFI]. This [ProgType] is
    used to disable Branch Tracking Control Flow Integrity (BTCFI) enforcement
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 12 20:57:18 GMT 2024
    - 173 bytes
    - Viewed (0)
  10. doc/next/6-stdlib/99-minor/net/63116.md

    The [DNSError] type now wraps errors caused by timeouts or cancellation.
    For example, `errors.Is(someDNSErr, context.DeadlineExceedeed)`
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Apr 24 13:37:36 GMT 2024
    - 198 bytes
    - Viewed (0)
Back to top