Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 20 for newGState (0.17 sec)

  1. internal/grid/connection.go

    	defer cancel()
    	changed := make(chan State, 1)
    	go func() {
    		defer xioutil.SafeClose(changed)
    		for {
    			c.connChange.Wait()
    			newState := c.State()
    			select {
    			case changed <- newState:
    				if newState == StateConnected || newState == StateShutdown {
    					c.connChange.L.Unlock()
    					return
    				}
    			case <-ctx.Done():
    				c.connChange.L.Unlock()
    				return
    			}
    		}
    	}()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 44.8K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/ValueState.java

    public abstract class ValueState<S> {
        private static final ValueState<Object> FINALIZED_VALUE = new FinalizedValue<>();
    
        /**
         * Creates a new non-finalized state.
         */
        public static <S> ValueState<S> newState(PropertyHost host) {
            return new ValueState.NonFinalizedValue<>(host, Function.identity());
        }
    
        /**
         * Creates a new non-finalized state.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/stablehlo/passes/quantization_patterns.cc

          OperationState new_state(op_with_region->getLoc(),
                                   op_with_region->getName().getStringRef(), inputs,
                                   output_types, op_with_region->getAttrs());
          for (int i = 0; i < op_with_region->getNumRegions(); ++i) {
            new_state.addRegion();
          }
          Operation* quantized_op = rewriter.create(new_state);
          for (const auto& [index, region] :
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 06:04:36 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tfr/passes/raise_to_tf.cc

      Location loc = call_op.getLoc();
      rewriter.setInsertionPointAfter(call_op);
      std::string tf_op_name = GetTFOpName(call_op.getCallee());
      OperationState new_state(loc, tf_op_name, inputs, output_types, attr_list);
      Operation* new_op = rewriter.create(new_state);
      if (materialize_derived_attrs_) {
        for (const auto& attr : derived_attrs) {
          // Add or update the derived attribute with the value. Skip the fixed
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/collections/DefaultConfigurableFileCollection.java

            this.displayName = displayName;
            this.resolver = fileResolver;
            this.dependencyFactory = dependencyFactory;
            this.host = host;
            this.valueState = ValueState.newState(host, ValueCollector::isolated);
            init(EMPTY_COLLECTOR, EMPTY_COLLECTOR);
            filesWrapper = new PathSet();
            buildDependency = dependencyFactory.configurableDependency();
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 16:06:55 UTC 2024
    - 30.2K bytes
    - Viewed (0)
Back to top