Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for osExit (0.26 sec)

  1. 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)
  2. 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)
  3. 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)
  4. src/internal/cpu/cpu_arm64_darwin.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build arm64 && darwin && !ios
    
    package cpu
    
    import _ "unsafe" // for linkname
    
    func osInit() {
    	ARM64.HasATOMICS = sysctlEnabled([]byte("hw.optional.armv8_1_atomics\x00"))
    	ARM64.HasCRC32 = sysctlEnabled([]byte("hw.optional.armv8_crc32\x00"))
    	ARM64.HasSHA512 = sysctlEnabled([]byte("hw.optional.armv8_2_sha512\x00"))
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  5. src/runtime/stubs2.go

    //
    //go:noescape
    func write1(fd uintptr, p unsafe.Pointer, n int32) int32
    
    //go:noescape
    func open(name *byte, mode, perm int32) int32
    
    // return value is only set on linux to be used in osinit().
    func madvise(addr unsafe.Pointer, n uintptr, flags int32) int32
    
    // exitThread terminates the current thread, writing *wait = freeMStack when
    // the stack is safe to reclaim.
    //
    //go:noescape
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  6. src/runtime/os_openbsd_syscall2.go

    //
    //go:noescape
    func write1(fd uintptr, p unsafe.Pointer, n int32) int32
    
    //go:noescape
    func open(name *byte, mode, perm int32) int32
    
    // return value is only set on linux to be used in osinit().
    func madvise(addr unsafe.Pointer, n uintptr, flags int32) int32
    
    // exitThread terminates the current thread, writing *wait = freeMStack when
    // the stack is safe to reclaim.
    //
    //go:noescape
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  7. src/runtime/os_wasm.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package runtime
    
    import (
    	"internal/runtime/atomic"
    	"unsafe"
    )
    
    func osinit() {
    	// https://webassembly.github.io/spec/core/exec/runtime.html#memory-instances
    	physPageSize = 64 * 1024
    	initBloc()
    	ncpu = 1
    	getg().m.procid = 2
    }
    
    const _SIGSEGV = 0xb
    
    func sigpanic() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  8. src/runtime/os_openbsd.go

    		// semawakeup can be called on signal stack.
    		systemstack(func() {
    			print("thrwakeup addr=", &mp.waitsemacount, " sem=", mp.waitsemacount, " ret=", ret, "\n")
    		})
    	}
    }
    
    func osinit() {
    	ncpu = getncpu()
    	physPageSize = getPageSize()
    }
    
    var urandom_dev = []byte("/dev/urandom\x00")
    
    //go:nosplit
    func readRandom(r []byte) int {
    	fd := open(&urandom_dev[0], 0 /* O_RDONLY */, 0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  9. src/runtime/os_aix.go

    			continue
    		}
    		throw("sem_wait")
    	}
    	return 0
    }
    
    //go:nosplit
    func semawakeup(mp *m) {
    	if sem_post((*semt)(unsafe.Pointer(mp.waitsema))) != 0 {
    		throw("sem_post")
    	}
    }
    
    func osinit() {
    	// Call miniterrno so that we can safely make system calls
    	// before calling minit on m0.
    	miniterrno()
    
    	ncpu = int32(sysconf(__SC_NPROCESSORS_ONLN))
    	physPageSize = sysconf(__SC_PAGE_SIZE)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  10. tensorflow/compiler/jit/xla_cluster_util.cc

          frame_id = cycles->NewNode();
        }
        return frame_id;
      };
    
      for (Edge const* edge : graph->edges()) {
        if (edge->dst()->IsEnter() || edge->src()->IsExit()) {
          const char* src_type = "pre-enter";
          const char* dst_type = "post-exit";
          int src = edge->src()->id();
          int dst = edge->dst()->id();
    
          if (edge->dst()->IsEnter()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 29 08:39:39 UTC 2024
    - 21.3K bytes
    - Viewed (0)
Back to top