Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 166 for Undo (0.04 sec)

  1. src/cmd/compile/internal/ssa/poset_test.go

    		{SetOrder, 6, 100},
    		{Ordered, 6, 100},
    		{Ordered, 6, 101},
    		{Ordered, 1, 101},
    
    		// Undo 2 times: 1<4<7<12, 1<6<7
    		{Undo, 0, 0},
    		{Undo, 0, 0},
    		{Ordered, 1, 6},
    		{Ordered, 4, 12},
    		{Ordered_Fail, 4, 6},
    		{SetOrder_Fail, 6, 1},
    
    		// Undo 2 times: 1<4<7<12
    		{Undo, 0, 0},
    		{Undo, 0, 0},
    		{Ordered, 1, 12},
    		{Ordered, 7, 12},
    		{Ordered_Fail, 1, 6},
    		{Ordered_Fail, 6, 7},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Oct 26 07:52:35 UTC 2019
    - 18.1K bytes
    - Viewed (0)
  2. hack/testdata/deployment-revision2.yaml

    apiVersion: apps/v1
    kind: Deployment
    metadata:
      name: nginx
      labels:
        name: nginx-undo
    spec:
      replicas: 3
      selector:
        matchLabels:
          name: nginx-undo
      template:
        metadata:
          labels:
            name: nginx-undo
        spec:
          containers:
          - name: nginx
            image: registry.k8s.io/nginx:1.7.9
            ports:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 31 14:16:53 UTC 2022
    - 363 bytes
    - Viewed (0)
  3. hack/testdata/deployment-revision1.yaml

    apiVersion: apps/v1
    kind: Deployment
    metadata:
      name: nginx
      labels:
        name: nginx-undo
    spec:
      replicas: 3
      selector:
        matchLabels:
          name: nginx-undo
      template:
        metadata:
          labels:
            name: nginx-undo
        spec:
          containers:
          - name: nginx
            image: registry.k8s.io/nginx:test-cmd
            ports:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 31 14:16:53 UTC 2022
    - 366 bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/poset.go

    func (po *poset) Undo() {
    	if len(po.undo) == 0 {
    		panic("empty undo stack")
    	}
    	if debugPoset {
    		defer po.CheckIntegrity()
    	}
    
    	for len(po.undo) > 0 {
    		pass := po.undo[len(po.undo)-1]
    		po.undo = po.undo[:len(po.undo)-1]
    
    		switch pass.typ {
    		case undoCheckpoint:
    			return
    
    		case undoSetChl:
    			po.setchl(pass.idx, pass.edge)
    
    		case undoSetChr:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 04 17:23:05 UTC 2023
    - 37.2K bytes
    - Viewed (0)
  5. src/time/zoneinfo_android_test.go

    // license that can be found in the LICENSE file.
    
    package time_test
    
    import (
    	"testing"
    	. "time"
    )
    
    func TestAndroidTzdata(t *testing.T) {
    	undo := ForceAndroidTzdataForTest()
    	defer undo()
    	if _, err := LoadLocation("America/Los_Angeles"); err != nil {
    		t.Error(err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 18 20:57:35 UTC 2022
    - 386 bytes
    - Viewed (0)
  6. src/time/zoneinfo_test.go

    }
    
    func TestVersion3(t *testing.T) {
    	undo := time.DisablePlatformSources()
    	defer undo()
    	_, err := time.LoadLocation("Asia/Jerusalem")
    	if err != nil {
    		t.Fatal(err)
    	}
    }
    
    // Test that we get the correct results for times before the first
    // transition time. To do this we explicitly check early dates in a
    // couple of specific timezones.
    func TestFirstZone(t *testing.T) {
    	undo := time.DisablePlatformSources()
    	defer undo()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 13 17:06:56 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  7. src/time/tzdata_test.go

    import (
    	"reflect"
    	"testing"
    	"time"
    	_ "time/tzdata"
    )
    
    var zones = []string{
    	"Asia/Jerusalem",
    	"America/Los_Angeles",
    }
    
    func TestEmbeddedTZData(t *testing.T) {
    	undo := time.DisablePlatformSources()
    	defer undo()
    
    	for _, zone := range zones {
    		ref, err := time.LoadLocation(zone)
    		if err != nil {
    			t.Errorf("LoadLocation(%q): %v", zone, err)
    			continue
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 18 20:57:35 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  8. src/time/export_android_test.go

    // Copyright 2016 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.
    
    package time
    
    func ForceAndroidTzdataForTest() (undo func()) {
    	allowGorootSource = false
    	origLoadFromEmbeddedTZData := loadFromEmbeddedTZData
    	loadFromEmbeddedTZData = nil
    
    	return func() {
    		allowGorootSource = true
    		loadFromEmbeddedTZData = origLoadFromEmbeddedTZData
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 18 20:57:35 UTC 2022
    - 438 bytes
    - Viewed (0)
  9. src/runtime/os_wasm.go

    }
    
    // Called to initialize a new m (including the bootstrap m).
    // Called on the new thread, cannot allocate memory.
    func minit() {
    }
    
    // Called from dropm to undo the effect of an minit.
    func unminit() {
    }
    
    // Called from exitm, but not from drop, to undo the effect of thread-owned
    // resources in minit, semacreate, or elsewhere. Do not take locks after calling this.
    func mdestroy(mp *m) {
    }
    
    // wasm has no signals
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  10. src/runtime/os_openbsd.go

    func minit() {
    	getg().m.procid = uint64(getthrid())
    	minitSignals()
    }
    
    // Called from dropm to undo the effect of an minit.
    //
    //go:nosplit
    func unminit() {
    	unminitSignals()
    	getg().m.procid = 0
    }
    
    // Called from exitm, but not from drop, to undo the effect of thread-owned
    // resources in minit, semacreate, or elsewhere. Do not take locks after calling this.
    func mdestroy(mp *m) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 6.2K bytes
    - Viewed (0)
Back to top