Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 79 for stateFa (0.14 sec)

  1. src/encoding/json/scanner.go

    }
    
    // stateFa is the state after reading `fa`.
    func stateFa(s *scanner, c byte) int {
    	if c == 'l' {
    		s.step = stateFal
    		return scanContinue
    	}
    	return s.error(c, "in literal false (expecting 'l')")
    }
    
    // stateFal is the state after reading `fal`.
    func stateFal(s *scanner, c byte) int {
    	if c == 's' {
    		s.step = stateFals
    		return scanContinue
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:04:28 UTC 2023
    - 16.1K bytes
    - Viewed (0)
  2. src/html/template/transition.go

    	}
    	switch c.state {
    	case stateJSBlockCmt:
    		c.state = stateJS
    	case stateCSSBlockCmt:
    		c.state = stateCSS
    	default:
    		panic(c.state.String())
    	}
    	return c, i + 2
    }
    
    // tLineCmt is the context transition function for //comment states, and the JS HTML-like comment state.
    func tLineCmt(c context, s []byte) (context, int) {
    	var lineTerminators string
    	var endState state
    	switch c.state {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 19:54:31 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/schema/extract/ManagedProxyClassGeneratorTest.groovy

        }
    
        def "Two node backed views are equal when their state objects are equal"() {
            def state1 = Mock(ModelElementState)
            def state2 = Mock(ModelElementState)
    
            when:
            Class<? extends SomeType> proxyClass = generate(SomeType)
            def impl1 = proxyClass.newInstance(state1, typeConverter)
            def sameState = proxyClass.newInstance(state1, typeConverter)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 27.6K bytes
    - Viewed (0)
  4. subprojects/core/src/test/groovy/org/gradle/invocation/DefaultGradleSpec.groovy

            when:
            gradle.attachSettings(state2)
    
            then:
            1 * state1.close()
        }
    
        def "closes settings when discarded"() {
            def state = Mock(SettingsState)
    
            given:
            gradle.attachSettings(state)
    
            when:
            gradle.resetState()
    
            then:
            1 * state.close()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 22:53:34 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  5. src/text/template/parse/lex.go

    	trimMarkerLen = Pos(1 + 1) // marker plus space before or after
    )
    
    // stateFn represents the state of the scanner as a function that returns the next state.
    type stateFn func(*lexer) stateFn
    
    // lexer holds the state of the scanner.
    type lexer struct {
    	name         string // the name of the input; used only for error reports
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 04 22:36:12 UTC 2022
    - 18.1K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/process/internal/DefaultExecHandle.java

            lock.lock();
            try {
                return state;
            } finally {
                lock.unlock();
            }
        }
    
        private void setState(ExecHandleState state) {
            lock.lock();
            try {
                LOGGER.debug("Changing state to: {}", state);
                this.state = state;
                this.stateChanged.signalAll();
            } finally {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  7. pilot/pkg/networking/grpcgen/grpcgen_test.go

    // is to store the state received from the resolver locally and signal that
    // event through a channel.
    type testClientConn struct {
    	resolver.ClientConn
    	stateCh chan resolver.State
    	errorCh chan error
    }
    
    func (t *testClientConn) UpdateState(s resolver.State) error {
    	t.stateCh <- s
    	return nil
    }
    
    func (t *testClientConn) ReportError(err error) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 09:04:02 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/quantization/quantization_context.h

        // `as_result` is true or index-th operand if `as_result` is false. The
        // state is immutable if the type is a quantized type. Returns the index of
        // this new state in the state vector.
        int InitializeState(quantfork::QuantizeRegionOp op, int index,
                            bool as_result);
    
        // Sets the state of the index-th operand of the op. If this operand is
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 08 01:38:03 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/rangefunc/rewrite.go

    becomes
    
    	{
    		var #next int
    		var #state1 = abi.RF_READY
    		f(func() { // 1,2
    			if #state1 != abi.RF_READY { runtime.panicrangestate(#state1) }
    			#state1 = abi.RF_PANIC
    			var #state2 = abi.RF_READY
    			g(func() { // 3,4
    				if #state2 != abi.RF_READY { runtime.panicrangestate(#state2) }
    				#state2 = abi.RF_PANIC
    				var #state3 = abi.RF_READY
    				h(func() { // 5,6
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:05:44 UTC 2024
    - 41.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_driver.h

      // result without creating new entry in the state vector. Otherwise, allocate
      // a new entry in the state vector.
      void InitializeArgState(BlockArgument arg, Value arg_value);
    
      // Sets the state of the index-th operand of the op. If this operand is
      // cached, uses the cached result without creating new entry in the state
      // vector. Otherwise, allocate a new entry in the state vector.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 20 11:42:17 UTC 2024
    - 16.8K bytes
    - Viewed (0)
Back to top