Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 61 for Allocate (0.3 sec)

  1. src/runtime/coro.go

    // These switches continue until a call to coroexit(c),
    // which ends the use of the coro by releasing the blocked
    // goroutine in c and exiting the current goroutine.
    //
    // Coros are heap allocated and garbage collected, so that user code
    // can hold a pointer to a coro without causing potential dangling
    // pointer errors.
    type coro struct {
    	gp guintptr
    	f  func(*coro)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:09:18 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  2. pkg/apis/resource/validation/validation_resourceclaim_test.go

    						})
    				}
    				return claim
    			},
    		},
    		"invalid-reserved-for-no-allocation": {
    			wantFailures: field.ErrorList{field.Forbidden(field.NewPath("status", "reservedFor"), "may not be specified when `allocated` is not set")},
    			oldClaim:     validClaim,
    			update: func(claim *resource.ResourceClaim) *resource.ResourceClaim {
    				claim.Status.DriverName = "valid"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 09:18:10 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/process/internal/worker/child/WorkerProcessClassPathProvider.java

                URL resource = WorkerProcessClassPathProvider.class.getClassLoader().getResource(resourceName);
                if (resource == null) {
                    throw new IllegalStateException("Could not locate classpath resource for class " + classToMap.getName());
                }
                InputStream inputStream = resource.openStream();
                ClassReader classReader;
                try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  4. src/sync/map.go

    	} else if e, ok := m.dirty[key]; ok {
    		actual, loaded, _ = e.tryLoadOrStore(value)
    		m.missLocked()
    	} else {
    		if !read.amended {
    			// We're adding the first new key to the dirty map.
    			// Make sure it is allocated and mark the read-only map as incomplete.
    			m.dirtyLocked()
    			m.read.Store(&readOnly{m: read.m, amended: true})
    		}
    		m.dirty[key] = newEntry(value)
    		actual, loaded = value, false
    	}
    	m.mu.Unlock()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  5. manifests/addons/dashboards/pilot-dashboard.gen.json

                      "uid": "$datasource"
                   },
                   "expr": "sum by (pod) (\n  go_memstats_heap_alloc_bytes{app=\"istiod\"}\n)",
                   "legendFormat": "Heap (Allocated) ({{pod}})"
                }
             ],
             "title": "Memory Usage",
             "type": "timeseries"
          },
          {
             "datasource": {
                "type": "datasource",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 20:46:28 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  6. src/sync/atomic/doc.go

    // for 64-bit alignment of 64-bit words accessed atomically via the primitive
    // atomic functions (types [Int64] and [Uint64] are automatically aligned).
    // The first word in an allocated struct, array, or slice; in a global
    // variable; or in a local variable (because the subject of all atomic operations
    // will escape to the heap) can be relied upon to be 64-bit aligned.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  7. cmd/encryption-v1.go

    	//
    	// 2. the (decrypted) start offset `off` and (decrypted)
    	//    length to read `length`
    	//
    	// These are the inputs to the rest of the algorithm below.
    
    	// Locate the part containing the start of the required range
    	var partEnd int
    	var cumulativeSum, encCumulativeSum int64
    	for i, size := range sizes {
    		if off < cumulativeSum+size {
    			partStart = i
    			break
    		}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  8. pkg/apis/resource/validation/validation.go

    	if len(resourceClaim.Status.ReservedFor) > 0 {
    		if resourceClaim.Status.Allocation == nil {
    			allErrs = append(allErrs, field.Forbidden(fldPath.Child("reservedFor"), "may not be specified when `allocated` is not set"))
    		} else {
    			if !resourceClaim.Status.Allocation.Shareable && len(resourceClaim.Status.ReservedFor) > 1 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 09:18:10 UTC 2024
    - 28.3K bytes
    - Viewed (0)
  9. cmd/metacache-entries.go

    	for i, entry := range m {
    		if entry.name != "" {
    			n++
    			if first == nil {
    				first = &m[i]
    			}
    		}
    	}
    	return first, n
    }
    
    // names will return all names in order.
    // Since this allocates it should not be used in critical functions.
    func (m metaCacheEntries) names() []string {
    	res := make([]string, 0, len(m))
    	for _, obj := range m {
    		res = append(res, obj.name)
    	}
    	return res
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 04:34:26 UTC 2024
    - 24K bytes
    - Viewed (0)
  10. pkg/kubelet/container/runtime.go

    	SandboxStatuses []*runtimeapi.PodSandboxStatus
    	// Timestamp at which container and pod statuses were recorded
    	TimeStamp time.Time
    }
    
    // ContainerResources represents the Resources allocated to the running container.
    type ContainerResources struct {
    	// CPU capacity reserved for the container
    	CPURequest *resource.Quantity
    	// CPU limit enforced on the container
    	CPULimit *resource.Quantity
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:23 UTC 2024
    - 27.8K bytes
    - Viewed (0)
Back to top