Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 123 for stateFa (0.16 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/escape_test.go

    			context{state: stateHTMLCmt},
    		},
    		{
    			`<!--->`,
    			context{state: stateHTMLCmt},
    		},
    		{
    			`<!-- foo -->`,
    			context{state: stateText},
    		},
    		{
    			`<script`,
    			context{state: stateTag, element: elementScript},
    		},
    		{
    			`<script `,
    			context{state: stateTag, element: elementScript},
    		},
    		{
    			`<script src="foo.js" `,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 16 03:29:27 UTC 2023
    - 56.2K bytes
    - Viewed (0)
  3. src/html/template/state_string.go

    var _state_index = [...]uint16{0, 9, 17, 30, 44, 60, 72, 83, 92, 100, 111, 118, 130, 142, 156, 169, 184, 198, 216, 235, 243, 256, 269, 282, 295, 306, 322, 337, 347, 356}
    
    func (i state) String() string {
    	if i >= state(len(_state_index)-1) {
    		return "state(" + strconv.FormatInt(int64(i), 10) + ")"
    	}
    	return _state_name[_state_index[i]:_state_index[i+1]]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 02 15:18:39 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  4. 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)
  5. src/html/template/context.go

    type state uint8
    
    //go:generate stringer -type state
    
    const (
    	// stateText is parsed character data. An HTML parser is in
    	// this state when its parse position is outside an HTML tag,
    	// directive, comment, and special element body.
    	stateText state = iota
    	// stateTag occurs before an HTML attribute or the end of a tag.
    	stateTag
    	// stateAttrName occurs inside an attribute name.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 16 03:29:27 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  6. src/cmd/go/internal/script/state.go

    }
    
    // Chdir changes the State's working directory to the given path.
    func (s *State) Chdir(path string) error {
    	dir := s.Path(path)
    	if _, err := os.Stat(dir); err != nil {
    		return &fs.PathError{Op: "Chdir", Path: dir, Err: err}
    	}
    	s.pwd = dir
    	s.Setenv("PWD", dir)
    	return nil
    }
    
    // Context returns the Context with which the State was created.
    func (s *State) Context() context.Context {
    	return s.ctx
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 31 20:33:02 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. maven-core/src/main/java/org/apache/maven/project/Graph.java

        private static List<String> visitAll(
                Collection<Vertex> children, Map<Vertex, DfsState> stateMap, List<String> list) {
            for (Vertex v : children) {
                DfsState state = stateMap.putIfAbsent(v, DfsState.VISITING);
                if (state == null) {
                    visitAll(v.children, stateMap, list);
                    stateMap.put(v, DfsState.VISITED);
                    list.add(v.label);
                }
            }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Sep 22 06:02:04 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  10. src/cmd/vendor/github.com/google/pprof/third_party/svgpan/svgpan.js

    	) {
    		// Pan mode
    		state = 'pan';
    
    		stateTf = g.getCTM().inverse();
    
    		stateOrigin = getEventPoint(evt).matrixTransform(stateTf);
    	} else {
    		// Drag mode
    		state = 'drag';
    
    		stateTarget = evt.target;
    
    		stateTf = g.getCTM().inverse();
    
    		stateOrigin = getEventPoint(evt).matrixTransform(stateTf);
    	}
    }
    
    /**
     * Handle mouse button release event.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 7K bytes
    - Viewed (0)
Back to top