Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 47 for newState (0.51 sec)

  1. src/text/template/exec.go

    	}
    	// Variables declared by the pipeline persist.
    	dot = s.evalPipeline(dot, t.Pipe)
    	newState := *s
    	newState.depth++
    	newState.tmpl = tmpl
    	// No dynamic scoping: template invocations inherit no variables.
    	newState.vars = []variable{{"$", dot}}
    	newState.walk(dot, tmpl.Root)
    }
    
    // Eval functions evaluate pipelines, commands, and their elements and extract
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:22:24 UTC 2024
    - 32K bytes
    - Viewed (0)
  2. src/internal/syscall/windows/zsyscall_windows.go

    )
    
    func adjustTokenPrivileges(token syscall.Token, disableAllPrivileges bool, newstate *TOKEN_PRIVILEGES, buflen uint32, prevstate *TOKEN_PRIVILEGES, returnlen *uint32) (ret uint32, err error) {
    	var _p0 uint32
    	if disableAllPrivileges {
    		_p0 = 1
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 11:49:46 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  3. subprojects/core/src/testFixtures/groovy/org/gradle/util/internal/MultithreadedTestRule.java

            }
    
            private void setState(State expected, State newState) {
                lock.lock();
                try {
                    if (state != expected) {
                        throw new IllegalStateException(String.format("In unexpected state. Expected %s, actual %s",
                                expected, state));
                    }
                    state = newState;
                    condition.signalAll();
                } finally {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 23.3K bytes
    - Viewed (0)
  4. pkg/scheduler/framework/plugins/interpodaffinity/filtering_test.go

    				t.Errorf("error adding pod to meta: %v", err)
    			}
    
    			newState, err := getPreFilterState(cycleState)
    			if err != nil {
    				t.Errorf("failed to get preFilterState from cycleState: %v", err)
    			}
    
    			if !reflect.DeepEqual(newState.antiAffinityCounts, test.expectedAntiAffinity) {
    				t.Errorf("State is not equal, got: %v, want: %v", newState.antiAffinityCounts, test.expectedAntiAffinity)
    			}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 01 10:24:54 UTC 2023
    - 58.2K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/configurations/DefaultConfiguration.java

                        .nagUser();
                    newState = domainObjectContext.getModel().fromMutableState(p -> resolveExclusivelyIfRequired());
                }
            } else {
                newState = resolveExclusivelyIfRequired();
            }
    
            return newState;
        }
    
        private ResolverResults resolveExclusivelyIfRequired() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 17:36:01 UTC 2024
    - 85.4K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/AbstractProperty.java

        private ModelObject producer;
        private DisplayName displayName;
        private ValueState<S> state;
        private S value;
    
        public AbstractProperty(PropertyHost host) {
            state = ValueState.newState(host);
        }
    
        protected void init(S initialValue, S convention) {
            this.value = initialValue;
            this.state.setConvention(convention);
        }
    
        protected void init(S initialValue) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:54 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  7. src/cmd/go/script_test.go

    			StartProxy()
    
    			workdir, err := os.MkdirTemp(testTmpDir, name)
    			if err != nil {
    				t.Fatal(err)
    			}
    			if !*testWork {
    				defer removeAll(workdir)
    			}
    
    			s, err := script.NewState(tbContext(ctx, t), workdir, env)
    			if err != nil {
    				t.Fatal(err)
    			}
    
    			// Unpack archive.
    			a, err := txtar.ParseFile(file)
    			if err != nil {
    				t.Fatal(err)
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 18:15:22 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  8. src/cmd/go/internal/vcweb/vcweb.go

    	if err != nil {
    		fmt.Fprintln(w, err)
    	}
    }
    
    // help serves a plain-text summary of the server's supported script language.
    func (s *Server) help(w http.ResponseWriter, req *http.Request) {
    	st, err := s.newState(req.Context(), s.workDir)
    	if err != nil {
    		http.Error(w, err.Error(), http.StatusInternalServerError)
    		return
    	}
    
    	scriptLog := new(strings.Builder)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

      }
    
      private void checkAndUpdateState(State oldState, State newState) {
        checkState(
            compareAndUpdateState(oldState, newState),
            "Expected state to be %s, but it was %s",
            oldState,
            newState);
      }
    
      private boolean compareAndUpdateState(State oldState, State newState) {
        return state.compareAndSet(oldState, newState);
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 12:37:15 UTC 2024
    - 98.3K bytes
    - Viewed (0)
  10. guava/src/com/google/common/util/concurrent/ClosingFuture.java

      }
    
      private void checkAndUpdateState(State oldState, State newState) {
        checkState(
            compareAndUpdateState(oldState, newState),
            "Expected state to be %s, but it was %s",
            oldState,
            newState);
      }
    
      private boolean compareAndUpdateState(State oldState, State newState) {
        return state.compareAndSet(oldState, newState);
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 98.7K bytes
    - Viewed (0)
Back to top