Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 562 for refStore (0.15 sec)

  1. pkg/test/framework/components/istio/configmap.go

    			}
    
    			// Get the MeshConfig yaml from the config map.
    			mcYAML, err := getInjectConfigYaml(cfgMap, "config")
    			if err != nil {
    				return err
    			}
    
    			// Store the original YAML so we can restore later.
    			mu.Lock()
    			origCfg[c.Name()] = mcYAML
    			mu.Unlock()
    
    			// Parse the YAML.
    			mc, err := yamlToInjectConfig(mcYAML)
    			if err != nil {
    				return err
    			}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/InputTrackingState.kt

         * [disableForCurrentThread].
         */
        fun restoreForCurrentThread() {
            Preconditions.checkState(inputTrackingDisabledCounterForThread > 0, "Restore input tracking state without prior disable is detected")
            --inputTrackingDisabledCounterForThread
        }
    }
    
    
    private
    operator fun <T> ThreadLocal<T>.getValue(thisRef: Any?, property: KProperty<*>) = get()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/term/term_windows.go

    }
    
    func getState(fd int) (*State, error) {
    	var st uint32
    	if err := windows.GetConsoleMode(windows.Handle(fd), &st); err != nil {
    		return nil, err
    	}
    	return &State{state{st}}, nil
    }
    
    func restore(fd int, state *State) error {
    	return windows.SetConsoleMode(windows.Handle(fd), state.mode)
    }
    
    func getSize(fd int) (width, height int, err error) {
    	var info windows.ConsoleScreenBufferInfo
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 15 19:02:39 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  4. src/runtime/cgo/asm_s390x.s

    	FMOVD	40(R15), F9
    	FMOVD	48(R15), F10
    	FMOVD	56(R15), F11
    	FMOVD	64(R15), F12
    	FMOVD	72(R15), F13
    	FMOVD	80(R15), F14
    	FMOVD	88(R15), F15
    
    	// De-allocate stack frame.
    	MOVD	$96(R15), R15
    
    	// Restore R6-R15.
    	LMG	48(R15), R6, R15
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 00:43:51 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/restore_function_name.mlir

    // RUN: stablehlo-quant-opt %s -split-input-file -stablehlo-restore-function-name | FileCheck %s
    
    module attributes {tf.versions = {bad_consumers = [], min_consumer = 12 : i32, producer = 1646 : i32}, tf_saved_model.semantics} {
      // CHECK-LABEL: @serving_default
      // CHECK-SAME: %[[ARG0:[^:[:space:]]+]]
      // CHECK-SAME: %[[ARG1:[^:[:space:]]+]]
      func.func private @serving_default(%arg0: tensor<1x4xf32>, %arg1: tensor<4x3xf32>) -> tensor<1x3xf32> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 08 22:40:14 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/test/sigaltstack.go

    	// This is OK since we allocated this much space in mpreinit,
    	// it was just removed from the buffer by stackalloc.
    	oss.ss_size = MINSIGSTKSZ;
    #endif
    	if (sigaltstack(&oss, NULL) < 0) {
    		perror("sigaltstack restore");
    		abort();
    	}
    }
    
    static int zero(void) {
    	return 0;
    }
    */
    import "C"
    
    import (
    	"runtime"
    	"testing"
    )
    
    func testSigaltstack(t *testing.T) {
    	switch {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  7. src/math/big/arith_amd64.s

    	MOVQ $0, SI		// i = 0
    
    	// s/JL/JMP/ below to disable the unrolled loop
    	SUBQ $4, DI		// n -= 4
    	JL V1			// if n < 0 goto V1
    
    U1:	// n >= 0
    	// regular loop body unrolled 4x
    	ADDQ CX, CX		// restore CF
    	MOVQ 0(R8)(SI*8), R11
    	MOVQ 8(R8)(SI*8), R12
    	MOVQ 16(R8)(SI*8), R13
    	MOVQ 24(R8)(SI*8), R14
    	ADCQ 0(R9)(SI*8), R11
    	ADCQ 8(R9)(SI*8), R12
    	ADCQ 16(R9)(SI*8), R13
    	ADCQ 24(R9)(SI*8), R14
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:27 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/util/runtime/runtime_stack_test.go

    	"flag"
    	"fmt"
    	"regexp"
    
    	"k8s.io/klog/v2"
    )
    
    //nolint:logcheck // Several functions are normally not okay in a package.
    func ExampleHandleErrorWithContext() {
    	state := klog.CaptureState()
    	defer state.Restore()
    	var fs flag.FlagSet
    	klog.InitFlags(&fs)
    	for flag, value := range map[string]string{
    		"one_output":  "true",
    		"logtostderr": "false",
    	} {
    		if err := fs.Set(flag, value); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 26 16:28:45 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  9. src/math/big/arith_386.s

    TEXT ·addVV(SB),NOSPLIT,$0
    	MOVL z+0(FP), DI
    	MOVL x+12(FP), SI
    	MOVL y+24(FP), CX
    	MOVL z_len+4(FP), BP
    	MOVL $0, BX		// i = 0
    	MOVL $0, DX		// c = 0
    	JMP E1
    
    L1:	MOVL (SI)(BX*4), AX
    	ADDL DX, DX		// restore CF
    	ADCL (CX)(BX*4), AX
    	SBBL DX, DX		// save CF
    	MOVL AX, (DI)(BX*4)
    	ADDL $1, BX		// i++
    
    E1:	CMPL BX, BP		// i < n
    	JL L1
    
    	NEGL DX
    	MOVL DX, c+36(FP)
    	RET
    
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:27 UTC 2023
    - 4K bytes
    - Viewed (0)
  10. src/runtime/cgocall.go

    	if raceenabled {
    		racereleasemerge(unsafe.Pointer(&racecgosync))
    	}
    
    	// Do not unwind m->g0->sched.sp.
    	// Our caller, cgocallback, will do that.
    	restore = false
    }
    
    func unwindm(restore *bool) {
    	if *restore {
    		// Restore sp saved by cgocallback during
    		// unwind of g's stack (see comment at top of file).
    		mp := acquirem()
    		sched := &mp.g0.sched
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:47 UTC 2024
    - 24.2K bytes
    - Viewed (0)
Back to top