Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 562 for refStore (0.12 sec)

  1. src/testing/run_example.go

    	}()
    
    	finished := false
    	start := time.Now()
    
    	// Clean up in a deferred call so we can recover if the example panics.
    	defer func() {
    		timeSpent := time.Since(start)
    
    		// Close pipe, restore stdout, get output.
    		w.Close()
    		os.Stdout = stdout
    		out := <-outC
    
    		err := recover()
    		ok = eg.processRunResult(out, timeSpent, finished, err)
    	}()
    
    	// Run example.
    	eg.F()
    	finished = true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 11 20:56:32 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/serialization/codecs/UnitCodecTest.kt

    import org.junit.Test
    import spock.lang.Issue
    
    
    class UnitCodecTest : AbstractUserTypeCodecTest() {
    
        @Test
        @Issue("https://github.com/gradle/gradle/issues/25560")
        fun `same Unit instance is used upon restore`() {
            configurationCacheRoundtripOf(Unit).run {
                assertThat(this, sameInstance(Unit))
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  3. pkg/util/iptables/save_restore.go

    limitations under the License.
    */
    
    package iptables
    
    import (
    	"bytes"
    	"fmt"
    
    	"k8s.io/apimachinery/pkg/util/sets"
    )
    
    // MakeChainLine return an iptables-save/restore formatted chain line given a Chain
    func MakeChainLine(chain Chain) string {
    	return fmt.Sprintf(":%s - [0:0]", chain)
    }
    
    // GetChainsFromTable parses iptables-save data to find the chains that are defined. It
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/cover_main_import_path.txt

    go build -cover -o $WORK/prog.exe .
    
    # Save off old GOCOVERDIR setting
    env SAVEGOCOVERDIR=$GOCOVERDIR
    
    mkdir $WORK/covdata
    env GOCOVERDIR=$WORK/covdata
    exec $WORK/prog.exe
    
    # Restore previous GOCOVERDIR setting
    env GOCOVERDIR=$SAVEGOCOVERDIR
    
    # Report percent lines covered.
    go tool covdata percent -i=$WORK/covdata
    stdout '\s*mainwithtest\s+coverage:'
    ! stdout 'main\s+coverage:'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 11:36:17 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  5. test/codegen/issue61356.go

    // asmcheck
    
    // Copyright 2023 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.
    
    // Make sure this code doesn't generate spill/restore.
    
    package codegen
    
    func pack20(in *[20]uint64) uint64 {
    	var out uint64
    	out |= 4
    	// amd64:-`.*SP.*`
    	out |= in[0] << 4
    	// amd64:-`.*SP.*`
    	out |= in[1] << 7
    	// amd64:-`.*SP.*`
    	out |= in[2] << 10
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 26 17:19:14 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  6. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/execution/Lexer.kt

                return null; // ignoring file annotation
            }
    
            restore(startIndex)
            if (let(kotlinGrammar.annotation) is ParserResult.Success<*>) {
                return startIndex.offset until currentPosition.offset
            }
    
            restore(startIndex)
            advance()
    
            return null
        }
    
        KotlinLexer().apply {
            start(script)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  7. pkg/registry/core/service/allocator/storage/storage_test.go

    		t.Fatal(err)
    	}
    	if allocation.Range != "rangeSpecValue" {
    		t.Errorf("unexpected stored Range: %s", allocation.Range)
    	}
    	if err := other.Restore("rangeSpecValue", allocation.Data); err != nil {
    		t.Fatal(err)
    	}
    	if !other.Has(2) {
    		t.Fatalf("could not restore allocated IP: %#v", other)
    	}
    
    	other = allocator.NewAllocationMap(100, "rangeSpecValue")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 01 20:54:26 UTC 2021
    - 4.8K bytes
    - Viewed (0)
  8. src/runtime/sys_linux_arm.s

    	MOVW	$0, R8
    	MOVW	R8, (R7) // clear g slot
    
    	JMP	finish
    
    nosaveg:
    	BL	(R4)
    
    finish:
    	MOVW	R5, R13		// Restore real SP
    	// Restore vdsoPC, vdsoSP
    	// We don't worry about being signaled between the two stores.
    	// If we are not in a signal handler, we'll restore vdsoSP to 0,
    	// and no one will care about vdsoPC. If we are in a signal handler,
    	// we cannot receive another signal.
    	MOVW	8(R13), R7
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 24 18:53:44 UTC 2023
    - 13.5K bytes
    - Viewed (0)
  9. src/math/big/arith_s390x.s

    	BLT v1 // if n < 0 goto v1
    
    U1:  // n >= 0
    	// regular loop body unrolled 4x
    	MOVD 0(R8)(R10*1), R5
    	MOVD 8(R8)(R10*1), R6
    	MOVD 16(R8)(R10*1), R7
    	MOVD 24(R8)(R10*1), R1
    	ADDC R4, R4             // restore CF
    	MOVD 0(R9)(R10*1), R11
    	ADDE R11, R5
    	MOVD 8(R9)(R10*1), R11
    	ADDE R11, R6
    	MOVD 16(R9)(R10*1), R11
    	ADDE R11, R7
    	MOVD 24(R9)(R10*1), R11
    	ADDE R11, R1
    	MOVD R0, R4
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:27 UTC 2023
    - 20.3K bytes
    - Viewed (0)
  10. src/runtime/asm_amd64.s

    	MOVQ	$8, R12
    	BYTE	$0xcc
    	JMP	restore
    
    restore:
    	// Calls and failures resume here.
    	//
    	// Set R12 to 16 and invoke INT3. The debugger should restore
    	// all registers except RIP and RSP and resume execution.
    	MOVQ	$16, R12
    	BYTE	$0xcc
    	// We must not modify flags after this point.
    
    	// Restore pointer-containing registers, which may have been
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 11 20:38:24 UTC 2024
    - 60.4K bytes
    - Viewed (0)
Back to top