Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 43 for osExit (0.25 sec)

  1. pkg/proxy/node_test.go

    	"testing"
    
    	v1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/klog/v2"
    )
    
    func TestNodePodCIDRHandlerAdd(t *testing.T) {
    	oldKlogOsExit := klog.OsExit
    	defer func() {
    		klog.OsExit = oldKlogOsExit
    	}()
    	klog.OsExit = customExit
    
    	tests := []struct {
    		name            string
    		oldNodePodCIDRs []string
    		newNodePodCIDRs []string
    		expectPanic     bool
    	}{
    		{
    			name: "both empty",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Sep 10 16:50:29 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  2. pkg/test/framework/suite.go

    		func(_ *suiteContext) int {
    			return m.Run()
    		},
    		os.Exit,
    		getSettings)
    }
    
    func newSuite(testID string, fn mRunFn, osExit func(int), getSettingsFn getSettingsFunc) *suiteImpl {
    	s := &suiteImpl{
    		testID:      testID,
    		mRun:        fn,
    		osExit:      osExit,
    		getSettings: getSettingsFn,
    		labels:      label.NewSet(),
    	}
    
    	return s
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  3. pkg/test/framework/suite_test.go

    	defer rtMu.Unlock()
    	rt = nil
    }
    
    // Create a bogus environment for testing. This can be removed when "environments" are removed
    func newTestSuite(testID string, fn mRunFn, osExit func(int), getSettingsFn getSettingsFunc) *suiteImpl {
    	s := newSuite(testID, fn, osExit, getSettingsFn)
    	s.envFactory = func(ctx resource.Context) (resource.Environment, error) {
    		return kube.FakeEnvironment{}, nil
    	}
    	return s
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  4. apache-maven/src/assembly/maven/bin/mvnyjp

    if [ ! -f "$YJPLIB" ]; then
      echo "Error: Unable to autodetect the YJP library location. Please set YJPLIB variable" >&2
      exit 1
    fi
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sat May 23 09:02:45 UTC 2020
    - 1.5K bytes
    - Viewed (0)
  5. src/internal/cpu/cpu_ppc64x.go

    const CacheLinePadSize = 128
    
    func doinit() {
    	options = []option{
    		{Name: "darn", Feature: &PPC64.HasDARN},
    		{Name: "scv", Feature: &PPC64.HasSCV},
    		{Name: "power9", Feature: &PPC64.IsPOWER9},
    	}
    
    	osinit()
    }
    
    func isSet(hwc uint, value uint) bool {
    	return hwc&value != 0
    }
    
    func Name() string {
    	switch {
    	case PPC64.IsPOWER10:
    		return "POWER10"
    	case PPC64.IsPOWER9:
    		return "POWER9"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 10 20:05:43 UTC 2022
    - 651 bytes
    - Viewed (0)
  6. release/downloadIstioCtl.sh

    #
    # where ${BRANCH} is either your branch name (e.g. release-1.4) or master.
    #
    
    # Determines the operating system.
    OS="${TARGET_OS:-$(uname)}"
    if [ "${OS}" = "Darwin" ] ; then
      OSEXT="osx"
    else
      OSEXT="linux"
    fi
    
    # Determine the latest Istio version by version number ignoring alpha, beta, and rc versions.
    if [ "${ISTIO_VERSION}" = "" ] ; then
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 11 14:11:30 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  7. release/downloadIstioCandidate.sh

    set -e
    
    # Determines the operating system.
    OS="${TARGET_OS:-$(uname)}"
    if [ "${OS}" = "Darwin" ] ; then
      OSEXT="osx"
    else
      OSEXT="linux"
    fi
    
    # Determine the latest Istio version by version number ignoring alpha, beta, and rc versions.
    if [ "${ISTIO_VERSION}" = "" ] ; then
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jul 11 14:13:46 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  8. src/internal/cpu/cpu_ppc64x_linux.go

    const (
    	// ISA Level
    	hwcap2_ARCH_2_07 = 0x80000000
    	hwcap2_ARCH_3_00 = 0x00800000
    	hwcap2_ARCH_3_1  = 0x00040000
    
    	// CPU features
    	hwcap2_DARN = 0x00200000
    	hwcap2_SCV  = 0x00100000
    )
    
    func osinit() {
    	PPC64.IsPOWER8 = isSet(HWCap2, hwcap2_ARCH_2_07)
    	PPC64.IsPOWER9 = isSet(HWCap2, hwcap2_ARCH_3_00)
    	PPC64.IsPOWER10 = isSet(HWCap2, hwcap2_ARCH_3_1)
    	PPC64.HasDARN = isSet(HWCap2, hwcap2_DARN)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 10 20:05:43 UTC 2022
    - 885 bytes
    - Viewed (0)
  9. src/internal/cpu/cpu_arm64_linux.go

    // Copyright 2020 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build arm64 && linux && !android
    
    package cpu
    
    func osInit() {
    	hwcapInit("linux")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 250 bytes
    - Viewed (0)
  10. src/internal/cpu/cpu_arm64_freebsd.go

    // Copyright 2020 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build arm64
    
    package cpu
    
    func osInit() {
    	// Retrieve info from system register ID_AA64ISAR0_EL1.
    	isar0 := getisar0()
    
    	parseARM64SystemRegisters(isar0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 26 16:42:53 UTC 2022
    - 322 bytes
    - Viewed (0)
Back to top