Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 273 for Id (0.02 sec)

  1. internal/config/lambda/target/webhook.go

    	failedRequests int64
    
    	lazyInit lazyInit
    
    	id         event.TargetID
    	args       WebhookArgs
    	transport  *http.Transport
    	httpClient *http.Client
    	loggerOnce logger.LogOnce
    	cancel     context.CancelFunc
    	cancelCh   <-chan struct{}
    }
    
    // ID - returns target ID.
    func (target *WebhookTarget) ID() event.TargetID {
    	return target.id
    }
    
    // IsActive - Return true if target is up and active
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/typeparam.go

    }
    
    // check may be nil
    func (check *Checker) newTypeParam(obj *TypeName, constraint Type) *TypeParam {
    	// Always increment lastID, even if it is not used.
    	id := nextID()
    	if check != nil {
    		check.nextID++
    		id = check.nextID
    	}
    	typ := &TypeParam{check: check, id: id, obj: obj, index: -1, bound: constraint}
    	if obj.typ == nil {
    		obj.typ = typ
    	}
    	// iface may mutate typ.bound, so we must ensure that iface() is called
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 20:03:31 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  3. src/internal/trace/parser.go

    	EvUserTaskEnd       = 46 // end of task [timestamp, internal task id, stack]
    	EvUserRegion        = 47 // trace.WithRegion [timestamp, internal task id, mode(0:start, 1:end), name string, stack]
    	EvUserLog           = 48 // trace.Log [timestamp, internal id, key string id, stack, value string]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:31:04 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  4. cmd/metacache-bucket.go

    			b.debugf("cache %s not worth keeping", id)
    			remove[id] = struct{}{}
    			continue
    		}
    		if cache.id != id {
    			logger.Info("cache ID mismatch %s != %s", id, cache.id)
    			remove[id] = struct{}{}
    			continue
    		}
    		if cache.bucket != b.bucket {
    			logger.Info("cache bucket mismatch %s != %s", b.bucket, cache.bucket)
    			remove[id] = struct{}{}
    			continue
    		}
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  5. src/cmd/buildid/buildid.go

    	}
    
    	newID := id[:strings.LastIndex(id, "/")] + "/" + buildid.HashToString(hash)
    	if len(newID) != len(id) {
    		log.Fatalf("%s: build ID length mismatch %q vs %q", file, id, newID)
    	}
    
    	if len(matches) == 0 {
    		return
    	}
    
    	f, err = os.OpenFile(file, os.O_RDWR, 0)
    	if err != nil {
    		log.Fatal(err)
    	}
    	if err := buildid.Rewrite(f, matches, newID); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. src/internal/concurrent/hashtriemap_test.go

    			wg.Add(1)
    			go func(id int) {
    				defer wg.Done()
    
    				makeKey := func(s string) string {
    					return s + "-" + strconv.Itoa(id)
    				}
    				for _, s := range testData {
    					key := makeKey(s)
    					expectMissing(t, key, 0)(m.Load(key))
    					expectStored(t, key, id)(m.LoadOrStore(key, id))
    					expectPresent(t, key, id)(m.Load(key))
    					expectLoaded(t, key, id)(m.LoadOrStore(key, 0))
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 16:01:55 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  7. cmd/storage-rest-common.go

    	storageRESTBitrotHash    = "bitrot-hash"
    	storageRESTDiskID        = "disk-id"
    	storageRESTForceDelete   = "force-delete"
    	storageRESTGlob          = "glob"
    	storageRESTMetrics       = "metrics"
    	storageRESTDriveQuorum   = "drive-quorum"
    	storageRESTOrigVolume    = "orig-volume"
    )
    
    type nsScannerOptions struct {
    	DiskID   string          `msg:"id"`
    	ScanMode int             `msg:"m"`
    	Cache    *dataUsageCache `msg:"c"`
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  8. src/internal/trace/resources.go

    }
    
    // ResourceID represents a generic resource ID.
    type ResourceID struct {
    	// Kind is the kind of resource this ID is for.
    	Kind ResourceKind
    	id   int64
    }
    
    // MakeResourceID creates a general resource ID from a specific resource's ID.
    func MakeResourceID[T interface{ GoID | ProcID | ThreadID }](id T) ResourceID {
    	var rd ResourceID
    	var a any = id
    	switch a.(type) {
    	case GoID:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 8K bytes
    - Viewed (0)
  9. src/runtime/trace2map_test.go

    			"aa",
    			"ab",
    			"ba",
    			"bb",
    		}
    		for i, s := range d {
    			id, inserted := m.PutString(s)
    			if !inserted {
    				t.Errorf("expected to have inserted string %q, but did not", s)
    			}
    			if id != uint64(i+1) {
    				t.Errorf("expected string %q to have ID %d, but got %d instead", s, i+1, id)
    			}
    		}
    		for i, s := range d {
    			id, inserted := m.PutString(s)
    			if inserted {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 10 18:52:49 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. internal/event/targetlist.go

    		if _, ok := list.targets[target.ID()]; ok {
    			return fmt.Errorf("target %v already exists", target.ID())
    		}
    		list.targets[target.ID()] = target
    	}
    
    	return nil
    }
    
    // Exists - checks whether target by target ID exists or not.
    func (list *TargetList) Exists(id TargetID) bool {
    	list.RLock()
    	defer list.RUnlock()
    
    	_, found := list.targets[id]
    	return found
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 9.2K bytes
    - Viewed (0)
Back to top