Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 666 for Id (0.04 sec)

  1. src/runtime/pprof/proto.go

    // and returns the index of s in the string table.
    func (b *profileBuilder) stringIndex(s string) int64 {
    	id, ok := b.stringMap[s]
    	if !ok {
    		id = len(b.strings)
    		b.strings = append(b.strings, s)
    		b.stringMap[s] = id
    	}
    	return int64(id)
    }
    
    func (b *profileBuilder) flush() {
    	const dataFlush = 4096
    	if b.pb.nest == 0 && len(b.pb.data) > dataFlush {
    		b.zw.Write(b.pb.data)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 13 20:40:52 UTC 2023
    - 25.7K bytes
    - Viewed (0)
  2. src/encoding/xml/read_test.go

    </title><link href="http://codereview.appspot.com/126085" rel="alternate"></link><updated>2009-10-04T01:35:58+00:00</updated><author><name>email-address-removed</name></author><id>urn:md5:134d9179c41f806be79b3a5f7877d19a</id><summary type="html">
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 29.1K bytes
    - Viewed (0)
  3. pkg/volume/util/fsquota/quota_linux_test.go

    }
    
    func (v testVolumeQuota) SetQuotaOnDir(dir string, id common.QuotaID, _ int64) error {
    	odir, ok := testIDQuotaMap[id]
    	if ok && dir != odir {
    		return fmt.Errorf("ID %v is already in use", id)
    	}
    	oid, ok := testQuotaIDMap[dir]
    	if ok && id != oid {
    		return fmt.Errorf("directory %s already has a quota applied", dir)
    	}
    	testQuotaIDMap[dir] = id
    	testIDQuotaMap[id] = dir
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  4. cmd/background-newdisks-heal-ops.go

    		return nil, err
    	}
    	var h healingTracker
    	_, err = h.UnmarshalMsg(b)
    	if err != nil {
    		return nil, err
    	}
    	if h.ID != diskID && h.ID != "" {
    		return nil, fmt.Errorf("loadHealingTracker: drive id mismatch expected %s, got %s", h.ID, diskID)
    	}
    	h.disk = disk
    	h.ID = diskID
    	h.mu = &sync.RWMutex{}
    	return &h, nil
    }
    
    // newHealingTracker will create a new healing tracker for the disk.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 04 15:12:32 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  5. pkg/kubelet/cm/devicemanager/topology_hints_test.go

    	return m.hint
    }
    
    func (m *mockAffinityStore) GetPolicy() topologymanager.Policy {
    	return nil
    }
    
    func makeNUMADevice(id string, numa int) pluginapi.Device {
    	return pluginapi.Device{
    		ID:       id,
    		Topology: &pluginapi.TopologyInfo{Nodes: []*pluginapi.NUMANode{{ID: int64(numa)}}},
    	}
    }
    
    func makeSocketMask(sockets ...int) bitmask.BitMask {
    	mask, _ := bitmask.NewBitMask(sockets...)
    	return mask
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 27 13:02:15 UTC 2023
    - 47.5K bytes
    - Viewed (0)
  6. src/runtime/traceruntime.go

    		// Careful: don't use the event writer. We never want status or in-progress events
    		// to trigger more in-progress events.
    		w.w = w.w.writeProcStatus(uint64(pp.id), traceProcSyscallAbandoned, pp.trace.inSweep)
    	}
    	w.commit(traceEvProcSteal, traceArg(pp.id), pp.trace.nextSeq(tl.gen), traceArg(mStolenFrom))
    }
    
    // HeapAlloc emits a HeapAlloc event.
    func (tl traceLocker) HeapAlloc(live uint64) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  7. internal/dsync/drwmutex.go

    	isReadLock := false
    	return dm.lockBlocking(ctx, cancel, id, source, isReadLock, opts)
    }
    
    // RLock holds a read lock on dm.
    //
    // If one or more read locks are already in use, it will grant another lock.
    // Otherwise the calling go routine blocks until the mutex is available.
    func (dm *DRWMutex) RLock(id, source string) {
    	isReadLock := true
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  8. pkg/kubelet/container/testing/fake_runtime.go

    	f.Lock()
    	defer f.Unlock()
    
    	f.CalledFunctions = append(f.CalledFunctions, "GetImageRef")
    	for _, i := range f.ImageList {
    		if i.ID == image.Image {
    			return i.ID, nil
    		}
    	}
    	return "", f.InspectErr
    }
    
    func (f *FakeRuntime) GetImageSize(_ context.Context, image kubecontainer.ImageSpec) (uint64, error) {
    	f.Lock()
    	defer f.Unlock()
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 14 00:23:50 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  9. tests/associations_many2many_test.go

    	AssertEqual(t, nil, err)
    
    	var findUser1 User
    	err = DB.Preload("Languages").Where("id = ?", user1.ID).First(&findUser1).Error
    	AssertEqual(t, nil, err)
    	AssertEqual(t, user1, findUser1)
    
    	var findUser2 User
    	err = DB.Preload("Languages").Where("id = ?", user2.ID).First(&findUser2).Error
    	AssertEqual(t, nil, err)
    	AssertEqual(t, user2, findUser2)
    }
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Sat Jun 10 13:05:19 UTC 2023
    - 13.2K bytes
    - Viewed (0)
  10. pkg/kubelet/apis/podresources/server_v1_test.go

    				Nodes: []*podresourcesapi.NUMANode{
    					{
    						ID: 0,
    					},
    				},
    			},
    		},
    		{
    			ResourceName: "resource-mm",
    			DeviceIds:    []string{"devMM"},
    			Topology: &podresourcesapi.TopologyInfo{
    				Nodes: []*podresourcesapi.NUMANode{
    					{
    						ID: 0,
    					},
    					{
    						ID: 1,
    					},
    				},
    			},
    		},
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 45.9K bytes
    - Viewed (0)
Back to top