Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 679 for Id (0.03 sec)

  1. pkg/kubelet/images/image_gc_manager_test.go

    	return &vCopy, ok
    }
    
    // Returns the id of the image with the given ID.
    func imageID(id int) string {
    	return fmt.Sprintf("image-%d", id)
    }
    
    // Returns the name of the image with the given ID.
    func imageName(id int) string {
    	return imageID(id) + "-name"
    }
    
    // Make an image with the specified ID.
    func makeImage(id int, size int64) container.Image {
    	return container.Image{
    		ID:   imageID(id),
    		Size: size,
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 15:38:20 UTC 2024
    - 29.2K bytes
    - Viewed (0)
  2. 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)
  3. src/cmd/compile/internal/ssa/debug.go

    		panic("unexpected pointer size")
    	}
    	if ID(int16(b)) != b || ID(int16(v)) != v {
    		return 0, false
    	}
    	return uint64(b)<<16 | uint64(uint16(v)), true
    }
    
    // Unpack a value and block ID encoded by encodeValue.
    func decodeValue(ctxt *obj.Link, word uint64) (ID, ID) {
    	if ctxt.Arch.PtrSize == 8 {
    		b, v := ID(word>>32), ID(word)
    		//ctxt.Logf("%#x -> b %#x (%d) v %#x (%d)\n", word, b, b, v, v)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 58.4K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. internal/event/target/kafka.go

    	initOnce once.Init
    
    	id         event.TargetID
    	args       KafkaArgs
    	client     sarama.Client
    	producer   sarama.SyncProducer
    	config     *sarama.Config
    	store      store.Store[event.Event]
    	batch      *store.Batch[string, *sarama.ProducerMessage]
    	loggerOnce logger.LogOnce
    	quitCh     chan struct{}
    }
    
    // ID - returns target ID.
    func (target *KafkaTarget) ID() event.TargetID {
    	return target.id
    }
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Jun 01 15:02:59 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  8. internal/bucket/lifecycle/lifecycle.go

    // unique id to rules with empty ID.
    func ParseLifecycleConfigWithID(r io.Reader) (*Lifecycle, error) {
    	var lc Lifecycle
    	if err := xml.NewDecoder(r).Decode(&lc); err != nil {
    		return nil, err
    	}
    	// assign a unique id for rules with empty ID
    	for i := range lc.Rules {
    		if lc.Rules[i].ID == "" {
    			lc.Rules[i].ID = uuid.New().String()
    		}
    	}
    	return &lc, nil
    }
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 23 01:12:48 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  9. internal/event/target/webhook.go

    		if err := queueStore.Open(); err != nil {
    			cancel()
    			return nil, fmt.Errorf("unable to initialize the queue store of Webhook `%s`: %w", id, err)
    		}
    	}
    
    	target := &WebhookTarget{
    		id:         event.TargetID{ID: id, Name: "webhook"},
    		args:       args,
    		loggerOnce: loggerOnce,
    		transport:  transport,
    		store:      queueStore,
    		cancel:     cancel,
    		cancelCh:   ctx.Done(),
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  10. pilot/pkg/serviceregistry/kube/controller/network.go

    	n.Lock()
    	defer n.Unlock()
    	oldDefaultNetwork := n.network
    	n.network = network.ID(nw)
    	return oldDefaultNetwork != n.network
    }
    
    func (n *networkManager) networkFromSystemNamespace() network.ID {
    	n.RLock()
    	defer n.RUnlock()
    	return n.network
    }
    
    func (n *networkManager) networkFromMeshNetworks(endpointIP string) network.ID {
    	n.RLock()
    	defer n.RUnlock()
    	if n.networkFromMeshConfig != "" {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 22:23:22 UTC 2024
    - 15.4K bytes
    - Viewed (0)
Back to top