Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 215 for reserves (0.14 sec)

  1. src/runtime/malloc.go

    }
    
    // linearAlloc is a simple linear allocator that pre-reserves a region
    // of memory and then optionally maps that region into the Ready state
    // as needed.
    //
    // The caller is responsible for locking.
    type linearAlloc struct {
    	next   uintptr // next free byte
    	mapped uintptr // one byte past end of mapped space
    	end    uintptr // end of reserved space
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/plugins/dynamicresources/dynamicresources.go

    	}
    	for _, node := range nodes {
    		if !slices.Contains(schedulingCtx.Spec.PotentialNodes, node.Node().Name) {
    			return false
    		}
    	}
    	return true
    }
    
    // Reserve reserves claims for the pod.
    func (pl *dynamicResources) Reserve(ctx context.Context, cs *framework.CycleState, pod *v1.Pod, nodeName string) (status *framework.Status) {
    	if !pl.enabled {
    		return nil
    	}
    	state, err := getStateData(cs)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 15:22:37 UTC 2024
    - 75.9K bytes
    - Viewed (0)
  3. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/gtest.h

      // be as small as possible.  This is important because gcc is incapable of
      // re-using stack space even for temporary variables, so every EXPECT_EQ
      // reserves stack space for another AssertHelper.
      struct AssertHelperData {
        AssertHelperData(TestPartResult::Type t,
                         const char* srcfile,
                         int line_num,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 86.4K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/gtest.h

      // be as small as possible.  This is important because gcc is incapable of
      // re-using stack space even for temporary variables, so every EXPECT_EQ
      // reserves stack space for another AssertHelper.
      struct AssertHelperData {
        AssertHelperData(TestPartResult::Type t,
                         const char* srcfile,
                         int line_num,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 86.4K bytes
    - Viewed (0)
  5. cmd/kubelet/app/server.go

    		if err != nil {
    			return err
    		}
    		if reservedSystemCPUs.Size() > 0 {
    			// at cmd option validation phase it is tested either --system-reserved-cgroup or --kube-reserved-cgroup is specified, so overwrite should be ok
    			klog.InfoS("Option --reserved-cpus is specified, it will overwrite the cpu setting in KubeReserved and SystemReserved", "kubeReserved", s.KubeReserved, "systemReserved", s.SystemReserved)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:34 UTC 2024
    - 53.9K bytes
    - Viewed (0)
  6. pkg/kubelet/cm/memorymanager/memory_manager_test.go

    				},
    			},
    			"",
    		},
    	}
    
    	for _, tc := range testCases {
    		t.Run(tc.description, func(t *testing.T) {
    			reserved, _ := convertReserved(&machineInfo, tc.systemReserved)
    			if !reflect.DeepEqual(reserved, tc.systemReservedExpected) {
    				t.Errorf("got %v, expected %v", reserved, tc.systemReservedExpected)
    			}
    		})
    	}
    }
    
    func TestGetSystemReservedMemory(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 05 13:01:40 UTC 2023
    - 70.2K bytes
    - Viewed (0)
  7. pkg/scheduler/framework/plugins/dynamicresources/dynamicresources_test.go

    				initialObjects = testCtx.listAll(t)
    				initialObjects = testCtx.updateAPIServer(t, initialObjects, tc.prepare.reserve)
    				status := testCtx.p.Reserve(testCtx.ctx, testCtx.state, tc.pod, selectedNode.Node().Name)
    				t.Run("reserve", func(t *testing.T) {
    					testCtx.verify(t, tc.want.reserve, initialObjects, nil, status)
    				})
    				if status.Code() != framework.Success {
    					unschedulable = true
    				}
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 07:57:10 UTC 2024
    - 61.9K bytes
    - Viewed (0)
  8. src/syscall/syscall_windows.go

    //sys	RegQueryInfoKey(key Handle, class *uint16, classLen *uint32, reserved *uint32, subkeysLen *uint32, maxSubkeyLen *uint32, maxClassLen *uint32, valuesLen *uint32, maxValueNameLen *uint32, maxValueLen *uint32, saLen *uint32, lastWriteTime *Filetime) (regerrno error) = advapi32.RegQueryInfoKeyW
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 11:49:46 UTC 2024
    - 52.7K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_pipelining.cc

    /* Copyright 2023 The TensorFlow Authors. All Rights Reserved.
    
    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at
    
        http://www.apache.org/licenses/LICENSE-2.0
    
    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 92.9K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/catalog/VersionCatalogExtensionIntegrationTest.groovy

                contextualLabel == "Problem: In version catalog libs, alias '$reserved' is not a valid alias."
                details == "Alias '$reserved' is a reserved name in Gradle which prevents generation of accessors."
                solutions == [ 'Use a different alias which doesn\'t contain any of \'convention\' or \'extensions\'.' ]
            }
    
            where:
            reserved << [
                "extensions",
                "convention"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 13:37:31 UTC 2024
    - 77.8K bytes
    - Viewed (0)
Back to top