Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,430 for Id (0.11 sec)

  1. 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)
  2. src/cmd/compile/internal/types2/context.go

    		targs:    targs,
    		instance: inst,
    	})
    
    	return inst
    }
    
    // getID returns a unique ID for the type t.
    func (ctxt *Context) getID(t Type) int {
    	ctxt.mu.Lock()
    	defer ctxt.mu.Unlock()
    	id, ok := ctxt.originIDs[t]
    	if !ok {
    		id = ctxt.nextID
    		ctxt.originIDs[t] = id
    		ctxt.nextID++
    	}
    	return id
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 17:29:21 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/sparsemappos.go

    }
    
    func (s *sparseMapPos) size() int {
    	return len(s.dense)
    }
    
    func (s *sparseMapPos) contains(k ID) bool {
    	i := s.sparse[k]
    	return i < int32(len(s.dense)) && s.dense[i].key == k
    }
    
    // get returns the value for key k, or -1 if k does
    // not appear in the map.
    func (s *sparseMapPos) get(k ID) int32 {
    	i := s.sparse[k]
    	if i < int32(len(s.dense)) && s.dense[i].key == k {
    		return s.dense[i].val
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 31 21:41:06 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/text/internal/language/compact/language.go

    // index, exact will be false and the compact index will be returned for the
    // first match after repeatedly taking the Parent of t.
    func LanguageID(t Tag) (id ID, exact bool) {
    	return t.language, t.full == nil
    }
    
    // RegionalID returns the ID for the regional variant of this tag. This index is
    // used to indicate region-specific overrides, such as default currency, default
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. pilot/pkg/serviceregistry/provider/providers.go

    package provider
    
    // ID defines underlying platform supporting service registry
    type ID string
    
    const (
    	// Mock is a service registry that contains 2 hard-coded test services
    	Mock ID = "Mock"
    	// Kubernetes is a service registry backed by k8s API server
    	Kubernetes ID = "Kubernetes"
    	// External is a service registry for externally provided ServiceEntries
    	External ID = "External"
    )
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 20 16:41:15 UTC 2022
    - 1K bytes
    - Viewed (0)
  8. internal/dsync/drwmutex_test.go

    	"fmt"
    	"runtime"
    	"sync/atomic"
    	"testing"
    	"time"
    )
    
    const (
    	id     = "1234-5678"
    	source = "main.go"
    )
    
    func testSimpleWriteLock(t *testing.T, duration time.Duration) (locked bool) {
    	drwm1 := NewDRWMutex(ds, "simplelock")
    	ctx1, cancel1 := context.WithCancel(context.Background())
    	if !drwm1.GetRLock(ctx1, cancel1, id, source, Options{Timeout: time.Second}) {
    		panic("Failed to acquire read lock")
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Dec 24 03:49:07 UTC 2022
    - 9.7K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/tighten.go

    		top := changed[0]
    		changed = changed[1:]
    		mem := startMem[top.ID]
    		for i, p := range top.Preds {
    			pb := p.b
    			if endMem[pb.ID] != nil {
    				continue
    			}
    			if mem.Op == OpPhi && mem.Block == top {
    				endMem[pb.ID] = mem.Args[i]
    			} else {
    				endMem[pb.ID] = mem
    			}
    			if startMem[pb.ID] == nil {
    				startMem[pb.ID] = endMem[pb.ID]
    				changed = append(changed, pb)
    			}
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 16 01:01:38 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/util/staticpod/utils_linux.go

    			pod,
    			usersAndGroups.Users.ID(kubeadmconstants.KubeControllerManagerUserName),
    			usersAndGroups.Groups.ID(kubeadmconstants.KubeControllerManagerUserName),
    			usersAndGroups.Groups.ID(kubeadmconstants.ServiceAccountKeyReadersGroupName),
    			users.UpdatePathOwnerAndPermissions,
    			cfg,
    		)
    	case kubeadmconstants.KubeScheduler:
    		return runKubeSchedulerAsNonRoot(
    			pod,
    			usersAndGroups.Users.ID(kubeadmconstants.KubeSchedulerUserName),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 11 14:41:12 UTC 2023
    - 8.4K bytes
    - Viewed (0)
Back to top