Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 166 for Undo (5.13 sec)

  1. src/os/signal/signal_test.go

    	// Either way, this should undo both calls to Notify above.
    	if ignore {
    		Ignore(syscall.SIGWINCH, syscall.SIGHUP)
    		// Don't bother deferring a call to Reset: it is documented to undo Notify,
    		// but its documentation says nothing about Ignore, and (as of the time of
    		// writing) it empirically does not undo an Ignore.
    	} else {
    		Reset(syscall.SIGWINCH, syscall.SIGHUP)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 15:34:56 UTC 2023
    - 27.2K bytes
    - Viewed (0)
  2. pkg/controller/deployment/rolling.go

    	// * A node fails and causes one of the oldRS pods to become unavailable. However, 13 - 8 - 5 = 0, so the oldRS won't be scaled down.
    	// * The user notices the crashloop and does kubectl rollout undo to rollback.
    	// * newRSPodsUnavailable is 1, since we rolled back to the good replica set, so maxScaledDown = 13 - 8 - 1 = 4. 4 of the crashlooping pods will be scaled down.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 07:09:11 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  3. src/cmd/dist/test.go

    	for i := len(dirs) - 1; i >= 0; i-- {
    		err := os.Chmod(dirs[i].path, dirs[i].mode&^0222)
    		if err != nil {
    			dirs = dirs[i:] // Only undo what we did so far.
    			undo()
    			fatalf("failed to make GOROOT read-only: %v", err)
    		}
    	}
    
    	return undo
    }
    
    // raceDetectorSupported is a copy of the function
    // internal/platform.RaceDetectorSupported, which can't be used here
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 16:01:35 UTC 2024
    - 50K bytes
    - Viewed (0)
  4. src/runtime/stkframe.go

    		// context register and immediately save it to 0(SP).
    		// Get the methodValue from 0(SP).
    		arg0 := frame.sp + sys.MinFrameSize
    
    		minSP := frame.fp
    		if !usesLR {
    			// The CALL itself pushes a word.
    			// Undo that adjustment.
    			minSP -= goarch.PtrSize
    		}
    		if arg0 >= minSP {
    			// The function hasn't started yet.
    			// This only happens if f was the
    			// start function of a new goroutine
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 15:10:48 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  5. build-logic/jvm/src/main/kotlin/gradlebuild.unittest-and-compile.gradle.kts

                    server = uri("https://ge.gradle.org")
                    enabled.convention(project.predictiveTestSelectionEnabled)
                }
            }
        }
    }
    
    fun removeTeamcityTempProperty() {
        // Undo: https://github.com/JetBrains/teamcity-gradle/blob/e1dc98db0505748df7bea2e61b5ee3a3ba9933db/gradle-runner-agent/src/main/scripts/init.gradle#L818
        if (project.hasProperty("teamcity")) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 07:43:28 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ComparisonChain.java

      /**
       * Discouraged synonym for {@link #compareFalseFirst}.
       *
       * @deprecated Use {@link #compareFalseFirst}; or, if the parameters passed are being either
       *     negated or reversed, undo the negation or reversal and use {@link #compareTrueFirst}.
       * @since 19.0
       */
      @Deprecated
      public final ComparisonChain compare(Boolean left, Boolean right) {
        return compareFalseFirst(left, right);
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 21 17:28:11 UTC 2022
    - 11.2K bytes
    - Viewed (0)
  7. src/compress/lzw/reader.go

    			break loop
    		}
    		r.last, r.hi = code, r.hi+1
    		if r.hi >= r.overflow {
    			if r.hi > r.overflow {
    				panic("unreachable")
    			}
    			if r.width == maxWidth {
    				r.last = decoderInvalidCode
    				// Undo the d.hi++ a few lines above, so that (1) we maintain
    				// the invariant that d.hi < d.overflow, and (2) d.hi does not
    				// eventually overflow a uint16.
    				r.hi--
    			} else {
    				r.width++
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 14:39:39 UTC 2023
    - 8K bytes
    - Viewed (0)
  8. src/go/printer/nodes.go

    	case *ast.IndexExpr:
    		// TODO(gri): should treat[] like parentheses and undo one level of depth
    		p.expr1(x.X, token.HighestPrec, 1)
    		p.setPos(x.Lbrack)
    		p.print(token.LBRACK)
    		p.expr0(x.Index, depth+1)
    		p.setPos(x.Rbrack)
    		p.print(token.RBRACK)
    
    	case *ast.IndexListExpr:
    		// TODO(gri): as for IndexExpr, should treat [] like parentheses and undo
    		// one level of depth
    		p.expr1(x.X, token.HighestPrec, 1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 17 18:53:17 UTC 2023
    - 52.6K bytes
    - Viewed (0)
  9. pkg/volume/util/fsquota/project.go

    			// point we've successfully renamed tmpProjid
    			// to the real thing, but renaming tmpProject
    			// to the real file failed.  There's not much we
    			// can do in this position.  Anything we could do
    			// to try to undo it would itself be likely to fail.
    		}
    		os.Remove(tmpProjects)
    	}
    	return fmt.Errorf("unable to write project files: %v", err)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 20 14:49:03 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  10. src/runtime/mcache.go

    			gcController.totalAlloc.Add(slotsUsed * int64(s.elemsize))
    
    			if s.sweepgen != sg+1 {
    				// refill conservatively counted unallocated slots in gcController.heapLive.
    				// Undo this.
    				//
    				// If this span was cached before sweep, then gcController.heapLive was totally
    				// recomputed since caching this span, so we don't do this for stale spans.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 10K bytes
    - Viewed (0)
Back to top