Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 336 for Map (0.02 sec)

  1. src/runtime/funcdata.h

    // to other functions that might be preempted or grow the stack.
    // NOSPLIT functions that make no calls do not need to use these macros.
    
    // GO_ARGS indicates that the Go prototype for this assembly function
    // defines the pointer map for the function's arguments.
    // GO_ARGS should be the first instruction in a function that uses it.
    // It can be omitted if there are no arguments at all.
    // GO_ARGS is inserted implicitly by the assembler for any function
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 29 18:28:09 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  2. src/runtime/trace_cgo_test.go

    	t.Parallel()
    
    	exe, err := buildTestProg(t, "testprogcgo")
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	wantLogs := []string{
    		"goCalledFromC",
    		"goCalledFromCThread",
    	}
    	logs := make(map[string]*trace.Event)
    	for _, category := range wantLogs {
    		logs[category] = nil
    	}
    	for _, tracefpunwindoff := range []int{1, 0} {
    		env := fmt.Sprintf("GODEBUG=tracefpunwindoff=%d", tracefpunwindoff)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  3. src/encoding/pem/pem.go

    //	-----END Type-----
    //
    // where [Block.Headers] is a possibly empty sequence of Key: Value lines.
    type Block struct {
    	Type    string            // The type, taken from the preamble (i.e. "RSA PRIVATE KEY").
    	Headers map[string]string // Optional headers.
    	Bytes   []byte            // The decoded bytes of the contents. Typically a DER encoded ASN.1 structure.
    }
    
    // getLine results the first \r\n or \n delineated line from the given byte
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  4. src/net/resolverdialfunc_test.go

    				t.Logf("Header: %+v for %q (type=%v, class=%v)", h,
    					q.Name.String(), q.Type, q.Class)
    			},
    			// TODO: add test without HandleA* hooks specified at all, that Go
    			// doesn't issue retries; map to something terminal.
    			HandleA: func(w AWriter, name string) error {
    				w.AddIP([4]byte{1, 2, 3, 4})
    				w.AddIP([4]byte{5, 6, 7, 8})
    				return nil
    			},
    			HandleAAAA: func(w AAAAWriter, name string) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  5. src/crypto/internal/hpke/hpke.go

    	}
    	return out
    }
    
    // dhKEM implements the KEM specified in RFC 9180, Section 4.1.
    type dhKEM struct {
    	dh  ecdh.Curve
    	kdf hkdfKDF
    
    	suiteID []byte
    	nSecret uint16
    }
    
    var SupportedKEMs = map[uint16]struct {
    	curve   ecdh.Curve
    	hash    crypto.Hash
    	nSecret uint16
    }{
    	// RFC 9180 Section 7.1
    	0x0020: {ecdh.X25519(), crypto.SHA256, 32},
    }
    
    func newDHKem(kemID uint16) (*dhKEM, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:33:33 UTC 2024
    - 7K bytes
    - Viewed (0)
  6. src/net/rpc/client.go

    // multiple goroutines simultaneously.
    type Client struct {
    	codec ClientCodec
    
    	reqMutex sync.Mutex // protects following
    	request  Request
    
    	mutex    sync.Mutex // protects following
    	seq      uint64
    	pending  map[uint64]*Call
    	closing  bool // user has called Close
    	shutdown bool // server has told us to stop
    }
    
    // A ClientCodec implements writing of RPC requests and
    // reading of RPC responses for the client side of an RPC session.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 9K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/syntax/testdata/issue23434.go

    package p
    
    type T /* ERROR unexpected newline */
    
    type Map map[int] /* ERROR unexpected newline */
    
    // Examples from go.dev/issue/23434:
    
    func g() {
    	m := make(map[string] /* ERROR unexpected ! */ !)
    	for {
    		x := 1
    		print(x)
    	}
    }
    
    func f() {
    	m := make(map[string] /* ERROR unexpected \) */ )
    	for {
    		x := 1
    		print(x)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 01 12:49:49 UTC 2023
    - 653 bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/build_pgo_auto_multi.txt

    stderr 'preprofile.*-i.*b(/|\\\\)default\.pgo'
    
    # a and b built once each with PGO.
    # Ideally we would check that the passed profile is the expected profile (here
    # and for dependencies). Unfortunately there is no nice way to map the expected
    # paths after preprocessing.
    stderr -count=1 'compile.*-pgoprofile=.*a(/|\\\\)a\.go'
    stderr -count=1 'compile.*-pgoprofile=.*b(/|\\\\)b\.go'
    
    # nopgo should be built without PGO.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:38:19 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  9. src/cmd/go/internal/script/scripttest/scripttest.go

    //
    // This set includes all of the commands in script.DefaultCmds,
    // as well as a "skip" command that halts the script and causes the
    // testing.TB passed to Run to be skipped.
    func DefaultCmds() map[string]script.Cmd {
    	cmds := script.DefaultCmds()
    	cmds["skip"] = Skip()
    	return cmds
    }
    
    // DefaultConds returns a set of broadly useful script conditions.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 11 20:12:18 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types/sizeof_test.go

    	var tests = []struct {
    		val    interface{} // type as a value
    		_32bit uintptr     // size on 32bit platforms
    		_64bit uintptr     // size on 64bit platforms
    	}{
    		{Sym{}, 32, 64},
    		{Type{}, 64, 104},
    		{Map{}, 12, 24},
    		{Forward{}, 20, 32},
    		{Func{}, 32, 56},
    		{Struct{}, 12, 24},
    		{Interface{}, 0, 0},
    		{Chan{}, 8, 16},
    		{Array{}, 12, 16},
    		{FuncArgs{}, 4, 8},
    		{ChanArgs{}, 4, 8},
    		{Ptr{}, 4, 8},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 18 17:08:44 UTC 2024
    - 1K bytes
    - Viewed (0)
Back to top