Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,484 for state2 (0.1 sec)

  1. test/fixedbugs/issue4932.dir/state2.go

    // Copyright 2013 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package state2
    
    import "./state"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 15:42:03 UTC 2013
    - 216 bytes
    - Viewed (0)
  2. subprojects/core/src/test/groovy/org/gradle/api/internal/project/DefaultProjectStateRegistryTest.groovy

                        assert !state2.hasMutableState()
                        state1.forceAccessToMutableState {
                            assertTrue state1.hasMutableState()
                            assertTrue !state2.hasMutableState()
                        }
                        state1.applyToMutableState {
                            assertTrue state1.hasMutableState()
                            assertTrue !state2.hasMutableState()
                        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 16:29:26 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  3. 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)
  4. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/history/changes/SummarizingChangeContainerTest.groovy

        def state1 = Mock(ChangeContainer)
        def state2 = Mock(ChangeContainer)
        def state = new SummarizingChangeContainer(state1, state2)
        def visitor = new CollectingChangeVisitor()
    
        def "looks for changes in all delegate change sets"() {
            when:
            state.accept(visitor)
    
            then:
            1 * state1.accept(_) >> true
            1 * state2.accept(_) >> true
            0 * _
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/AsmBackedClassGeneratedManagedStateTest.groovy

            !bean.isImmutable()
            def state = bean.unpackState()
            state.length == 1
            state[0] == null
    
            def copy = managedFactoryRegistry.lookup(bean.getFactoryId()).fromState(BeanWithAbstractProperty, state)
            !copy.is(bean)
            copy.name == null
    
            bean.setName("name")
            copy.name == null
    
            def state2 = bean.unpackState()
            state2.length == 1
            state2[0] == "name"
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 16.2K bytes
    - Viewed (0)
  6. src/internal/zstd/huff.go

    		if err != nil {
    			return 0, 0, err
    		}
    
    		state1, err := rbr.val(uint8(fseBits))
    		if err != nil {
    			return 0, 0, err
    		}
    
    		state2, err := rbr.val(uint8(fseBits))
    		if err != nil {
    			return 0, 0, err
    		}
    
    		// There are two independent FSE streams, tracked by
    		// state1 and state2. We decode them alternately.
    
    		for {
    			pt := &fseTable[state1]
    			if !rbr.fetch(pt.bits) {
    				if count >= 254 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 18 20:34:13 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/schema/extract/ManagedProxyClassGeneratorTest.groovy

            def impl2 = proxyClass.newInstance(state2, typeConverter)
    
            then:
            Matchers.strictlyEquals(impl1, sameState)
            Matchers.strictlyEquals(impl1, sameStateDifferentType)
            !impl1.equals(impl2)
        }
    
        def "Two views are equal when their state objects are equal"() {
            def state1 = Mock(GeneratedViewState)
            def state2 = Mock(GeneratedViewState)
    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. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/api/internal/provider/PropertySpec.groovy

        }
    
        def "can unpack state and recreate instance"() {
            given:
            def property = propertyWithNoValue()
    
            expect:
            property instanceof Managed
            !property.isImmutable()
            def state = property.unpackState()
            def copy = managedFactory().fromState(property.publicType(), state)
            !copy.is(property)
            !copy.present
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 87.8K bytes
    - Viewed (0)
  10. src/encoding/json/scanner.go

    func state1(s *scanner, c byte) int {
    	if '0' <= c && c <= '9' {
    		s.step = state1
    		return scanContinue
    	}
    	return state0(s, c)
    }
    
    // state0 is the state after reading `0` during a number.
    func state0(s *scanner, c byte) int {
    	if c == '.' {
    		s.step = stateDot
    		return scanContinue
    	}
    	if c == 'e' || c == 'E' {
    		s.step = stateE
    		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)
Back to top