Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 525 for retSize (0.24 sec)

  1. android/guava/src/com/google/common/collect/ImmutableSet.java

       * can hold setSize elements with the desired load factor. Always returns at least setSize + 2.
       */
      @VisibleForTesting
      static int chooseTableSize(int setSize) {
        setSize = Math.max(setSize, 2);
        // Correct the size for open addressing to match desired load factor.
        if (setSize < CUTOFF) {
          // Round up to the next highest power of 2.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/projection/AbstractCollectionModelProjectionTest.groovy

            }
    
            then:
            def list = registry.realize(collectionPath, collectionType)
            list == checkable(['bar'])
        }
    
        def "can remove all elements"() {
            when:
            mutate {
                add 'foo'
                add 'bar'
                clear()
            }
    
            then:
            def list = registry.realize(collectionPath, collectionType)
            list == checkable([])
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  3. src/cmd/internal/sys/arch.go

    	Family ArchFamily
    
    	ByteOrder binary.ByteOrder
    
    	// PtrSize is the size in bytes of pointers and the
    	// predeclared "int", "uint", and "uintptr" types.
    	PtrSize int
    
    	// RegSize is the size in bytes of general purpose registers.
    	RegSize int
    
    	// MinLC is the minimum length of an instruction code.
    	MinLC int
    
    	// Alignment is maximum alignment required by the architecture
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 13 19:51:03 UTC 2022
    - 6.2K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/registry/DefaultModelRegistryTest.groovy

            registry.realize("parent") // TODO - should not need this: parent mutations should be applied before mutating element
    
            expect:
            registry.realize("parent.bar", Bean).value == "prefix: bar"
            registry.realize("parent.foo", String) == "ignore me"
            registry.realize("parent.bar.child1", Bean).value == "prefix: baz"
            registry.realize("parent.bar.child2", String) == "ignore me too"
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 56K bytes
    - Viewed (0)
  5. src/cmd/link/internal/ld/data_test.go

    	tests := []struct {
    		arch    *sys.Arch
    		ht      objabi.HeadType
    		bm, lm  string
    		rel     string
    		relsize int
    		gotsize int
    	}{
    		{
    			arch:    sys.Arch386,
    			ht:      objabi.Hlinux,
    			bm:      "pie",
    			lm:      "internal",
    			rel:     ".rel",
    			relsize: 2 * sys.Arch386.PtrSize,
    			gotsize: sys.Arch386.PtrSize,
    		},
    		{
    			arch:    sys.ArchAMD64,
    			ht:      objabi.Hlinux,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 05 19:20:01 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskCreationBuildOperationIntegrationTest.groovy

            verifyTaskIds()
            verifyTaskDetails(RegisterTaskBuildOperationType, withPath(':', ':foo')).children.empty
            def realize = verifyTaskDetails(RealizeTaskBuildOperationType, withPath(':', ':foo'))
            realize.children.empty
            realize.details.eager == false
        }
    
        def "op during realize are child ops"() {
            given:
            register('foo')
            register('bar')
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/projection/ListModelProjectionTest.groovy

                remove(1)
            }
    
            then:
            def list = registry.realize(collectionPath, collectionType)
            list == checkable(['foo', 'baz'])
        }
    
        def "can add using index"() {
            when:
            mutate {
                add 'foo'
                add(0, 'bar')
            }
    
            then:
            def list = registry.realize(collectionPath, collectionType)
            list == ['bar', 'foo']
    
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/x86/ggen.go

    		p = pp.Append(p, x86.AMOVL, obj.TYPE_CONST, 0, 0, obj.TYPE_REG, x86.REG_AX, 0)
    		*ax = 1
    	}
    
    	if cnt <= int64(4*types.RegSize) {
    		for i := int64(0); i < cnt; i += int64(types.RegSize) {
    			p = pp.Append(p, x86.AMOVL, obj.TYPE_REG, x86.REG_AX, 0, obj.TYPE_MEM, x86.REG_SP, off+i)
    		}
    	} else if cnt <= int64(128*types.RegSize) {
    		p = pp.Append(p, x86.ALEAL, obj.TYPE_MEM, x86.REG_SP, off, obj.TYPE_REG, x86.REG_DI, 0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 23 06:38:47 UTC 2020
    - 1.5K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/ManagedNamedTest.groovy

            registry.registerWithInitializer("foo", NamedThingInterface, nodeInitializerRegistry)
    
            then:
            registry.realize("foo", NamedThingInterface).name == "foo"
    
            when:
            registry.registerWithInitializer("bar", NamedThingInterface, nodeInitializerRegistry)
    
            then:
            registry.realize("bar", NamedThingInterface).name == "bar"
        }
    
    
        @Managed
        static abstract class NonNamedThing {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/projection/ModelSetModelProjectionTest.groovy

            then:
            def set = registry.realize(collectionPath, collectionType)
            def e1 = set.find { it.name == '1' }
            def e2 = set.find { it.name == '1' }
            e1.is(e2)
        }
    
        def "can query set size"() {
            when:
            mutate {
                create { name = '1' }
                create { name = '2' }
            }
    
            then:
            !registry.realize(collectionPath, collectionType).isEmpty()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.7K bytes
    - Viewed (0)
Back to top