Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,495 for Id (0.02 sec)

  1. src/go/internal/gccgoimporter/parser_test.go

    	"text/scanner"
    )
    
    var typeParserTests = []struct {
    	id, typ, want, underlying, methods string
    }{
    	{id: "foo", typ: "<type -1>", want: "int8"},
    	{id: "foo", typ: "<type 1 *<type -19>>", want: "*error"},
    	{id: "foo", typ: "<type 1 *any>", want: "unsafe.Pointer"},
    	{id: "foo", typ: "<type 1 \"Bar\" <type 2 *<type 1>>>", want: "foo.Bar", underlying: "*foo.Bar"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 26 20:35:55 UTC 2018
    - 2.8K bytes
    - Viewed (0)
  2. tests/create_test.go

    	}
    
    	if _, ok := record["@id"]; ok && fmt.Sprint(res["id"]) != fmt.Sprint(record["@id"]) {
    		t.Fatalf("failed to create data from map with table, @id != id, got %v, expect %v", res["id"], record["@id"])
    	}
    
    	// case 2: create from *map[string]interface{}
    	record1 := map[string]interface{}{"name": "create_from_map_with_table_1", "age": 18}
    	tableDB2 := DB.Table("users")
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Tue Mar 19 03:50:28 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  3. pkg/kubelet/cm/devicemanager/pod_devices_test.go

    	expected = `{"bar":{"dev-bar1":{"ID":"bar1"},"dev-bar2":{"ID":"bar2"},"dev-bar3":{"ID":"bar3"}},"baz":{"dev-baz1":{"ID":"baz1"},"dev-baz2":{"ID":"baz2"},"dev-baz3":{"ID":"baz3"}},"foo":{"dev-foo1":{"ID":"foo1"},"dev-foo2":{"ID":"foo2"},"dev-foo3":{"ID":"foo3"}}}`
    	expectResourceDeviceInstances(t, resp, expected)
    
    	cond = map[string]sets.Set[string]{
    		"foo": sets.New[string]("dev-foo1", "dev-foo2", "dev-foo3", "dev-foo4"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  4. internal/event/config_test.go

    	dataCase1 := []byte(`
    <QueueConfiguration>
       <Id>1</Id>
       <Filter></Filter>
       <Queue>arn:minio:sqs:us-east-1:1:webhook</Queue>
       <Event>s3:ObjectAccessed:*</Event>
       <Event>s3:ObjectCreated:*</Event>
       <Event>s3:ObjectRemoved:*</Event>
    </QueueConfiguration>`)
    
    	dataCase2 := []byte(`
    <QueueConfiguration>
       <Id>1</Id>
        <Filter>
            <S3Key>
                <FilterRule>
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Dec 05 10:16:33 UTC 2023
    - 29K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/layout.go

    	for _, b := range f.Blocks {
    		idToBlock[b.ID] = b
    		if b.Kind == BlockExit {
    			exit.add(b.ID)
    		}
    	}
    
    	// Expand exit to include blocks post-dominated by exit blocks.
    	for {
    		changed := false
    		for _, id := range exit.contents() {
    			b := idToBlock[id]
    		NextPred:
    			for _, pe := range b.Preds {
    				p := pe.b
    				if exit.contains(p.ID) {
    					continue
    				}
    				for _, s := range p.Succs {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 31 21:41:20 UTC 2022
    - 5K bytes
    - Viewed (0)
  6. internal/config/lambda/event/targetlist.go

    type TargetList struct {
    	sync.RWMutex
    	targets map[TargetID]Target
    }
    
    // Add - adds unique target to target list.
    func (list *TargetList) Add(targets ...Target) error {
    	list.Lock()
    	defer list.Unlock()
    
    	for _, target := range targets {
    		if _, ok := list.targets[target.ID()]; ok {
    			return fmt.Errorf("target %v already exists", target.ID())
    		}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Mar 07 16:12:41 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/util/users/users_linux_test.go

    				}
    			}
    		})
    	}
    }
    
    func TestID(t *testing.T) {
    	e := &entry{name: "foo", id: 101}
    	m := &EntryMap{entries: map[string]*entry{
    		"foo": e,
    	}}
    	id := m.ID("foo")
    	if *id != 101 {
    		t.Fatalf("expected: id=%d; got: id=%d", 101, *id)
    	}
    	id = m.ID("bar")
    	if id != nil {
    		t.Fatalf("expected nil for unknown entry")
    	}
    }
    
    func TestAddUsersAndGroupsImpl(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 01 05:59:41 UTC 2022
    - 16.3K bytes
    - Viewed (0)
  8. src/internal/trace/traceviewer/emitter.go

    	for id != 0 {
    		f, ok := allFrames[strconv.Itoa(id)]
    		if !ok {
    			break
    		}
    		fn(id)
    		id = f.Parent
    	}
    }
    
    type Mode int
    
    const (
    	ModeGoroutineOriented Mode = 1 << iota
    	ModeTaskOriented
    	ModeThreadOriented // Mutually exclusive with ModeGoroutineOriented.
    )
    
    // NewEmitter returns a new Emitter that writes to c. The rangeStart and
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 21:29:58 UTC 2023
    - 20.4K bytes
    - Viewed (0)
  9. schema/schema_test.go

    	}
    
    	fields := []schema.Field{
    		{Name: "ID", DBName: "id", BindNames: []string{"CorpBase", "Model", "ID"}, DataType: schema.Uint, PrimaryKey: true, Size: 64, HasDefaultValue: true, AutoIncrement: true, TagSettings: map[string]string{"PRIMARYKEY": "PRIMARYKEY"}},
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Fri Dec 15 08:31:23 UTC 2023
    - 12.9K bytes
    - Viewed (0)
  10. pkg/proxy/winkernel/hns.go

    			continue
    		}
    
    		// Add to map with key endpoint ID or IP address
    		// Storing this is expensive in terms of memory, however there is a bug in Windows Server 2019 that can cause two endpoints to be created with the same IP address.
    		// TODO: Store by IP only and remove any lookups by endpoint ID.
    		endpointInfos[ep.Id] = &endpointInfo{
    			ip:         ep.IpConfigurations[0].IpAddress,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 09 21:21:12 UTC 2023
    - 15K bytes
    - Viewed (0)
Back to top