Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 108 for cpuinit (0.28 sec)

  1. src/cmd/go/internal/modcmd/init.go

    Gopkg.lock), and the current directory (if in GOPATH).
    
    See https://golang.org/ref/mod#go-mod-init for more about 'go mod init'.
    `,
    	Run: runInit,
    }
    
    func init() {
    	base.AddChdirFlag(&cmdInit.Flag)
    	base.AddModCommonFlags(&cmdInit.Flag)
    }
    
    func runInit(ctx context.Context, cmd *base.Command, args []string) {
    	if len(args) > 1 {
    		base.Fatalf("go: 'go mod init' accepts at most one argument")
    	}
    	var modPath string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 19 15:51:46 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  2. pkg/kubelet/kuberuntime/kuberuntime_container_linux.go

    		if runtimeStatusResources.MemoryLimitInBytes > 0 {
    			memLimit = resource.NewQuantity(runtimeStatusResources.MemoryLimitInBytes, resource.BinarySI)
    		}
    		if cpuLimit != nil || memLimit != nil || cpuRequest != nil {
    			cStatusResources = &kubecontainer.ContainerResources{
    				CPULimit:    cpuLimit,
    				CPURequest:  cpuRequest,
    				MemoryLimit: memLimit,
    			}
    		}
    	}
    	return cStatusResources
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  3. CITATION.cff

    # This CITATION.cff file was generated with cffinit.
    # Visit https://bit.ly/cffinit to generate yours today!
    
    cff-version: 1.2.0
    title: FastAPI
    message: >-
      If you use this software, please cite it using the
      metadata from this file.
    type: software
    authors:
      - given-names: Sebastián
        family-names: Ramírez
        email: ******@****.***
    identifiers:
    repository-code: 'https://github.com/tiangolo/fastapi'
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sun Oct 22 10:03:38 UTC 2023
    - 615 bytes
    - Viewed (0)
  4. pilot/cmd/pilot-agent/config/config.go

    		// only 2 CPUs allocated, we want to have 2 threads, not 100, or we will get excessively throttled.
    		if CPULimit != 0 {
    			log.Infof("cpu limit detected as %v, setting concurrency", CPULimit)
    			proxyConfig.Concurrency = wrapperspb.Int32(int32(CPULimit))
    		}
    	}
    	// Respect the old flag, if they set it. This should never be set in typical installation.
    	if concurrency != 0 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/native-binaries/cunit/groovy/build.gradle

                cunit {
                    headers.srcDir "libs/cunit/2.1-2/include"
                    binaries.withType(StaticLibraryBinary) {
                        staticLibraryFile =
                            file("libs/cunit/2.1-2/lib/" +
                                 findCUnitLibForPlatform(targetPlatform))
                    }
                }
            }
        }
    // tag::terse-example[]
        components {
            operators(NativeLibrarySpec) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  6. platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/cunit/CUnitSamplesIntegrationTest.groovy

        @Rule public final Sample cunit = sample(temporaryFolder, 'cunit')
    
        private static Sample sample(TestDirectoryProvider testDirectoryProvider, String name) {
            return new Sample(testDirectoryProvider, "native-binaries/${name}/groovy", name)
        }
    
        @ToBeFixedForConfigurationCache(because = ":components")
        def "cunit components"() {
            given:
            sample cunit
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  7. pkg/api/v1/resource/helpers_test.go

    )
    
    func TestResourceHelpers(t *testing.T) {
    	cpuLimit := resource.MustParse("10")
    	memoryLimit := resource.MustParse("10G")
    	resourceSpec := v1.ResourceRequirements{
    		Limits: v1.ResourceList{
    			v1.ResourceCPU:    cpuLimit,
    			v1.ResourceMemory: memoryLimit,
    		},
    	}
    	if res := resourceSpec.Limits.Cpu(); res.Cmp(cpuLimit) != 0 {
    		t.Errorf("expected cpulimit %v, got %v", cpuLimit, res)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 07 22:26:13 UTC 2023
    - 38.3K bytes
    - Viewed (0)
  8. platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/cunit/CUnitDependentComponentsIntegrationSpec.groovy

        def prebuiltPath = TextUtil.normaliseFileSeparators(prebuiltDir.path)
        def app = new CHelloWorldApp()
    
        def setup() {
            prebuiltDir.file("cunit/2.1-2/lib/${toolChain.unitTestPlatform}/${cunitLibName}").assumeExists()
            settingsFile << "rootProject.name = 'test'"
            buildFile << """
                apply plugin: 'cunit-test-suite'
    
                model {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  9. platforms/native/testing-native/src/main/resources/META-INF/gradle-plugins/org.gradle.cunit.properties

    # See the License for the specific language governing permissions and
    # limitations under the License.
    #
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 689 bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/native-binaries/cunit/groovy/libs/cunit/2.1-2/include/CUnit/CUError.h

    /* Error handling & reporting functions. */
    
    #include "CUnit.h"
    
    #ifdef __cplusplus
    extern "C" {
    #endif
    
    CU_EXPORT CU_ErrorCode   CU_get_error(void);
    /**<
     *  Retrieves the current CUnit framework error code.
     *  CUnit implementation functions set the error code to indicate the
     *  status of the most recent operation.  In general, the CUnit functions
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 7.6K bytes
    - Viewed (0)
Back to top