Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,354 for Id (0.02 sec)

  1. src/encoding/gob/type.go

    )
    
    func idToType(id typeId) gobType {
    	if id < 0 || int(id) >= len(idToTypeSlice) {
    		return nil
    	}
    	return idToTypeSlice[id]
    }
    
    func builtinIdToType(id typeId) gobType {
    	if id < 0 || int(id) >= len(builtinIdToTypeSlice) {
    		return nil
    	}
    	return builtinIdToTypeSlice[id]
    }
    
    func setTypeId(typ gobType) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 02:00:26 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  2. pkg/volume/util/fsquota/common/quota_common_linux.go

    	// Implementations should not check /etc/project or /etc/projid,
    	// only whether their underlying mechanism already has the ID in
    	// use.
    	// Return value of false with no error means that the ID is not
    	// in use; true means that it is already in use.  An error
    	// return means that any quota ID will fail.
    	QuotaIDIsInUse(id QuotaID) (bool, error)
    
    	// GetConsumption returns the consumption (in bytes) of the
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jan 28 06:09:31 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/sparseset.go

    	return len(s.dense)
    }
    
    func (s *sparseSet) contains(x ID) bool {
    	i := s.sparse[x]
    	return i < int32(len(s.dense)) && s.dense[i] == x
    }
    
    func (s *sparseSet) add(x ID) {
    	i := s.sparse[x]
    	if i < int32(len(s.dense)) && s.dense[i] == x {
    		return
    	}
    	s.dense = append(s.dense, x)
    	s.sparse[x] = int32(len(s.dense)) - 1
    }
    
    func (s *sparseSet) addAll(a []ID) {
    	for _, x := range a {
    		s.add(x)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 17:59:44 UTC 2022
    - 1.5K 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/cmd/compile/internal/ssa/deadcode.go

    			}
    			if !reachable[c.ID] {
    				reachable[c.ID] = true
    				p = append(p, c) // push
    			}
    		}
    	}
    	return reachable
    }
    
    // liveValues returns the live values in f and a list of values that are eligible
    // to be statements in reversed data flow order.
    // The second result is used to help conserve statement boundaries for debugging.
    // reachable is a map from block ID to whether the block is reachable.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 08 00:29:01 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/flagalloc.go

    			end[b.ID] = nil
    			continue
    		}
    		for _, v := range b.ControlValues() {
    			if v.Type.IsFlags() && end[b.ID] != v {
    				end[b.ID] = nil
    			}
    		}
    	}
    
    	// Compute which flags values will need to be spilled.
    	spill := map[ID]bool{}
    	for _, b := range f.Blocks {
    		var flag *Value
    		if len(b.Preds) > 0 {
    			flag = end[b.Preds[0].b.ID]
    		}
    		for _, v := range b.Values {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 31 21:41:20 UTC 2022
    - 6.7K bytes
    - Viewed (0)
  7. pilot/pkg/model/addressmap.go

    	}
    }
    
    // GetAddresses returns the mapping of clusters to addresses.
    func (m *AddressMap) GetAddresses() map[cluster.ID][]string {
    	if m == nil {
    		return nil
    	}
    
    	m.mutex.RLock()
    	defer m.mutex.RUnlock()
    
    	if m.Addresses == nil {
    		return nil
    	}
    
    	out := make(map[cluster.ID][]string)
    	for k, v := range m.Addresses {
    		if v == nil {
    			out[k] = nil
    		} else {
    			out[k] = append([]string{}, v...)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 06 14:34:57 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  8. internal/dsync/dsync_test.go

    	dm.Lock(id, source)
    	time.Sleep(time.Duration(10+(rand.Float32()*50)) * time.Millisecond)
    	dm.Unlock(context.Background())
    
    	dm.Lock(id, source)
    	time.Sleep(time.Duration(10+(rand.Float32()*50)) * time.Millisecond)
    	dm.Unlock(context.Background())
    
    	dm.Lock(id, source)
    	time.Sleep(time.Duration(10+(rand.Float32()*50)) * time.Millisecond)
    	dm.Unlock(context.Background())
    
    	dm.Lock(id, source)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Dec 24 03:49:07 UTC 2022
    - 11K bytes
    - Viewed (0)
  9. pkg/proxy/winkernel/hns_test.go

    	Network := mustTestNetwork(t)
    
    	network, err := hns.getNetworkByName(Network.Name)
    	if err != nil {
    		t.Error(err)
    	}
    
    	if !strings.EqualFold(network.id, Network.Id) {
    		t.Errorf("%v does not match %v", network.id, Network.Id)
    	}
    	err = Network.Delete()
    	if err != nil {
    		t.Error(err)
    	}
    }
    
    func TestGetAllEndpointsByNetwork(t *testing.T) {
    	// TODO: remove skip once the test has been fixed.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  10. pkg/kubelet/kuberuntime/kuberuntime_container_test.go

    		expected *kubecontainer.Status
    	}{
    		"created container": {
    			input: &runtimeapi.ContainerStatus{
    				Id:        cid.ID,
    				Metadata:  meta,
    				Image:     imageSpec,
    				State:     runtimeapi.ContainerState_CONTAINER_CREATED,
    				CreatedAt: createdAt,
    			},
    			expected: &kubecontainer.Status{
    				ID:        *cid,
    				Image:     imageSpec.Image,
    				State:     kubecontainer.ContainerStateCreated,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 28K bytes
    - Viewed (0)
Back to top