Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 749 for testone (0.23 sec)

  1. src/runtime/mkpreempt.go

    	l.regs = append(l.regs, regPos{saveOp: sop, restoreOp: rop, reg: reg, pos: l.stack})
    	l.stack += size
    }
    
    func (l *layout) addSpecial(save, restore string, size int) {
    	l.regs = append(l.regs, regPos{save: save, restore: restore, pos: l.stack})
    	l.stack += size
    }
    
    func (l *layout) save() {
    	for _, reg := range l.regs {
    		if reg.save != "" {
    			p(reg.save, reg.pos)
    		} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 17:19:36 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  2. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/source/PrintStreamLoggingSystemTest.groovy

            then:
            stream != originalStream
    
            when:
            loggingSystem.restore(snapshot)
    
            then:
            stream == originalStream
        }
    
        def originalStreamCanBeReplacedBetweenCapture() {
            def stream2 = new PrintStream(new ByteArrayOutputStream())
    
            given:
            loggingSystem.restore(loggingSystem.startCapture())
            stream = stream2
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/term/term.go

    }
    
    // GetState returns the current state of a terminal which may be useful to
    // restore the terminal after a signal.
    func GetState(fd int) (*State, error) {
    	return getState(fd)
    }
    
    // Restore restores the terminal connected to the given file descriptor to a
    // previous state.
    func Restore(fd int, oldState *State) error {
    	return restore(fd, oldState)
    }
    
    // GetSize returns the visible dimensions of the given terminal.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 16 22:24:28 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  4. docs/bucket/lifecycle/DESIGN.md

    ```
    ...
            "MetaUsr": {
             "X-Amz-Restore-Expiry-Days": "4",
              "X-Amz-Restore-Request-Date": "Mon, 22 Feb 2021 21:10:09 GMT",
              "x-amz-restore": "ongoing-request=false, expiry-date=Sat, 27 Feb 2021 00:00:00 GMT",
    ...
    ```
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Sep 29 04:28:45 UTC 2022
    - 4.3K bytes
    - Viewed (0)
  5. tools/istio-iptables/pkg/builder/testdata/append-insert-multi-restore.golden

    Leonardo Sarra <******@****.***> 1718116194 +0200
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 11 14:29:54 UTC 2024
    - 94 bytes
    - Viewed (0)
  6. src/os/executable_test.go

    // license that can be found in the LICENSE file.
    
    package os_test
    
    import (
    	"fmt"
    	"internal/testenv"
    	"os"
    	"path/filepath"
    	"runtime"
    	"testing"
    )
    
    const executable_EnvVar = "OSTEST_OUTPUT_EXECPATH"
    
    func TestExecutable(t *testing.T) {
    	testenv.MustHaveExec(t)
    	t.Parallel()
    
    	ep, err := os.Executable()
    	if err != nil {
    		t.Fatalf("Executable failed: %v", err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 23:35:32 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/testcarchive/carchive_test.go

    echo "testar" > PWD/testar.ran
    `
    
    func TestExtar(t *testing.T) {
    	switch GOOS {
    	case "windows":
    		t.Skip("skipping signal test on Windows")
    	}
    	if runtime.Compiler == "gccgo" {
    		t.Skip("skipping -extar test when using gccgo")
    	}
    	globalSkip(t)
    	testenv.MustHaveGoBuild(t)
    	testenv.MustHaveCGO(t)
    	testenv.MustHaveBuildMode(t, "c-archive")
    	testenv.MustHaveExecPath(t, "bash") // This test uses a bash script
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 00:43:51 UTC 2023
    - 34.8K bytes
    - Viewed (0)
  8. pkg/util/iptables/testing/fake_test.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package testing
    
    import (
    	"bytes"
    	"strings"
    	"testing"
    
    	"github.com/lithammer/dedent"
    
    	"k8s.io/kubernetes/pkg/util/iptables"
    )
    
    func TestFakeIPTables(t *testing.T) {
    	fake := NewFake()
    	buf := bytes.NewBuffer(nil)
    
    	err := fake.SaveInto("", buf)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 10.2K bytes
    - Viewed (0)
  9. pkg/scheduler/framework/plugins/volumebinding/assume_cache_test.go

    		t.Fatalf("Failed to GetPV() after Assume: %v", err)
    	}
    
    	// Restore PV
    	cache.Restore(oldPV.Name)
    	if err := verifyPV(cache, oldPV.Name, oldPV); err != nil {
    		t.Fatalf("Failed to GetPV() after restore: %v", err)
    	}
    }
    
    func TestBasicPVCache(t *testing.T) {
    	logger, _ := ktesting.NewTestContext(t)
    	cache := NewPVAssumeCache(logger, nil)
    
    	// Get object that doesn't exist
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 09:46:58 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  10. pkg/kubelet/cm/cpumanager/state/state_checkpoint_test.go

    import (
    	"os"
    	"reflect"
    	"strings"
    	"testing"
    
    	"github.com/stretchr/testify/require"
    	"k8s.io/kubernetes/pkg/kubelet/checkpointmanager"
    	"k8s.io/kubernetes/pkg/kubelet/cm/containermap"
    	testutil "k8s.io/kubernetes/pkg/kubelet/cm/cpumanager/state/testing"
    	"k8s.io/utils/cpuset"
    )
    
    const testingCheckpoint = "cpumanager_checkpoint_test"
    
    func TestCheckpointStateRestore(t *testing.T) {
    	testCases := []struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 03 16:26:09 UTC 2023
    - 10.9K bytes
    - Viewed (0)
Back to top