Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 281 for Id (0.14 sec)

  1. src/internal/trace/testdata/generators/go122-create-syscall-reuse-thread-id.go

    //
    // Specifically, it tests a scenerio wherein a C
    // thread is calling into Go, creating a goroutine in
    // a syscall (in the tracer's model). The system is free
    // to reuse thread IDs, so first a thread ID is used to
    // call into Go, and then is used for a Go-created thread.
    //
    // This is a regression test. The trace parser didn't correctly
    // model GoDestroySyscall as dropping its P (even if the runtime
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/text/internal/language/match.go

    	scriptInFrom
    	regionInFrom
    )
    
    func (t *Tag) setUndefinedLang(id Language) {
    	if t.LangID == 0 {
    		t.LangID = id
    	}
    }
    
    func (t *Tag) setUndefinedScript(id Script) {
    	if t.ScriptID == 0 {
    		t.ScriptID = id
    	}
    }
    
    func (t *Tag) setUndefinedRegion(id Region) {
    	if t.RegionID == 0 || t.RegionID.Contains(id) {
    		t.RegionID = id
    	}
    }
    
    // ErrMissingLikelyTagsData indicates no information was available
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  3. pkg/kube/multicluster/fake.go

    }
    
    func (f *Fake) Add(id cluster.ID, client kube.Client, stop chan struct{}) {
    	for _, handler := range f.handlers {
    		handler.clusterAdded(&Cluster{
    			ID:            id,
    			Client:        client,
    			kubeConfigSha: [32]byte{},
    			stop:          stop,
    		})
    	}
    }
    
    func (f *Fake) Delete(id cluster.ID) {
    	for _, handler := range f.handlers {
    		handler.clusterDeleted(id)
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 23 19:18:21 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/testinggoroutine/util.go

    		id, _ := x.(*ast.Ident)
    		return id
    	case *ast.Ident:
    		return fun
    	default:
    		return nil
    	}
    }
    
    // funcLitInScope returns a FuncLit that id is at least initially assigned to.
    //
    // TODO: This is closely tied to id.Obj which is deprecated.
    func funcLitInScope(id *ast.Ident) *ast.FuncLit {
    	// Compare to (*ast.Object).Pos().
    	if id.Obj == nil {
    		return nil
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. src/internal/trace/base.go

    	for id, data := range d.sparse {
    		d.dense[id] = data
    		d.present[id/8] |= uint8(1) << (id % 8)
    	}
    	d.sparse = nil
    }
    
    // get returns the E for id or false if it doesn't
    // exist. This should be used for validation during parsing.
    func (d *dataTable[EI, E]) get(id EI) (E, bool) {
    	if id == 0 {
    		return *new(E), true
    	}
    	if uint64(id) < uint64(len(d.dense)) {
    		if d.present[id/8]&(uint8(1)<<(id%8)) != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/text/internal/language/compact/compact.go

    func (id ID) Parent() ID {
    	return parents[id]
    }
    
    // Tag converts id to an internal language Tag.
    func (id ID) Tag() language.Tag {
    	if int(id) >= len(coreTags) {
    		return specialTags[int(id)-len(coreTags)]
    	}
    	return coreTags[id].Tag()
    }
    
    var specialTags []language.Tag
    
    func init() {
    	tags := strings.Split(specialTagsStr, " ")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  7. src/net/textproto/textproto.go

    //	if err != nil {
    //		return nil, err
    //	}
    //	return c.ReadCodeLine(250)
    func (c *Conn) Cmd(format string, args ...any) (id uint, err error) {
    	id = c.Next()
    	c.StartRequest(id)
    	err = c.PrintfLine(format, args...)
    	c.EndRequest(id)
    	if err != nil {
    		return 0, err
    	}
    	return id, nil
    }
    
    // TrimString returns s without leading and trailing ASCII space.
    func TrimString(s string) string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/sysvshm_unix.go

    // shared memory identifier id.
    func SysvShmAttach(id int, addr uintptr, flag int) ([]byte, error) {
    	addr, errno := shmat(id, addr, flag)
    	if errno != nil {
    		return nil, errno
    	}
    
    	// Retrieve the size of the shared memory to enable slice creation
    	var info SysvShmDesc
    
    	_, err := SysvShmCtl(id, IPC_STAT, &info)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  9. cmd/logging.go

    	logger.LogIf(ctx, "replication", err, errKind...)
    }
    
    func replLogOnceIf(ctx context.Context, err error, id string, errKind ...interface{}) {
    	logger.LogOnceIf(ctx, "replication", err, id, errKind...)
    }
    
    func iamLogOnceIf(ctx context.Context, err error, id string, errKind ...interface{}) {
    	logger.LogOnceIf(ctx, "iam", err, id, errKind...)
    }
    
    func iamLogIf(ctx context.Context, err error, errKind ...interface{}) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  10. internal/grid/muxserver.go

    func (m *muxServer) disconnect(msg string, locked bool) {
    	if debugPrint {
    		fmt.Println("Mux", m.ID, "disconnecting. Reason:", msg)
    	}
    	if msg != "" {
    		m.send(message{Op: OpMuxServerMsg, MuxID: m.ID, Flags: FlagPayloadIsErr | FlagEOF, Payload: []byte(msg)})
    	} else {
    		m.send(message{Op: OpDisconnectClientMux, MuxID: m.ID})
    	}
    	// Unlock, since we are calling deleteMux, which will call close - which will lock recvMu.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 9.7K bytes
    - Viewed (0)
Back to top