Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 525 for retSize (0.18 sec)

  1. platforms/core-configuration/model-groovy/src/test/groovy/org/gradle/model/dsl/internal/NonTransformedModelDslBackingTest.groovy

            given:
            register("foo", [])
    
            when:
            modelDsl.configure {
                foo {
                    add 1
                }
            }
    
            then:
            registry.realize("foo", List) == [1]
        }
    
        @Managed
        interface Thing {
            void setName(String name)
    
            String getName()
        }
    
        @Managed
        interface Foo {
            ModelSet<Thing> getBar()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/NodeBackedModelMapSpec.groovy

        }
    
        void realize() {
            registry.realizeNode(path)
        }
    
        void selfClose() {
            registry.atState(path, ModelNode.State.SelfClosed)
        }
    
        ModelMap<T> realizeAsModelMap() {
            registry.realize(path, modelMapType)
        }
    
        T realizeChild(String name) {
            registry.realize(path.child(name), itemType)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 38.3K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/schema/extract/ScalarTypesInManagedModelTest.groovy

                    void setUnmanagedReadWriteProperty($type type)
                }
    
            """
    
            then:
            realize(clazz)
    
            where:
            type << ['List<Date>', 'Set<Date>']
    
        }
    
        private void failWhenRealized(Class type, String expected) {
            try {
                realize(type)
                throw new AssertionError("node realisation of type ${type.name} should have failed with a cause of:\n$expected\n")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/term/term.go

    // previous state.
    func Restore(fd int, oldState *State) error {
    	return restore(fd, oldState)
    }
    
    // GetSize returns the visible dimensions of the given terminal.
    //
    // These dimensions don't include any scrollback buffer height.
    func GetSize(fd int) (width, height int, err error) {
    	return getSize(fd)
    }
    
    // ReadPassword reads a line of input from a terminal without local echo.  This
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 16 22:24:28 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/api/internal/collections/SortedSetElementSource.java

                    if (collector.getType() == null || type.isAssignableFrom(collector.getType())) {
                        copied.add(collector);
                    }
                }
                realize(copied);
            }
        }
    
        private void realize(Iterable<Collectors.TypedCollector<T>> collectors) {
            for (Collectors.TypedCollector<T> collector : collectors) {
                pending.remove(collector);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/SmallCharMatcher.java

       * can hold setSize elements with the desired load factor.
       */
      @VisibleForTesting
      static int chooseTableSize(int setSize) {
        if (setSize == 1) {
          return 2;
        }
        // Correct the size for open addressing to match desired load factor.
        // Round up to the next highest power of 2.
        int tableSize = Integer.highestOneBit(setSize - 1) << 1;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  7. src/runtime/mkpreempt.go

    	var l = layout{sp: "R29", stack: regsize} // add slot to save PC of interrupted instruction (in LR)
    	for i := 1; i <= 25; i++ {
    		if i == 23 {
    			continue // R23 is REGTMP
    		}
    		reg := fmt.Sprintf("R%d", i)
    		l.add(mov, reg, regsize)
    	}
    	l.add(mov, r28, regsize)
    	l.addSpecial(
    		mov+" HI, R1\n"+mov+" R1, %d(R29)",
    		mov+" %d(R29), R1\n"+mov+" R1, HI",
    		regsize)
    	l.addSpecial(
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 17:19:36 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/config.go

    // and shared across all compilations.
    type Config struct {
    	arch           string // "amd64", etc.
    	PtrSize        int64  // 4 or 8; copy of cmd/internal/sys.Arch.PtrSize
    	RegSize        int64  // 4 or 8; copy of cmd/internal/sys.Arch.RegSize
    	Types          Types
    	lowerBlock     blockRewriter  // block lowering function, first round
    	lowerValue     valueRewriter  // value lowering function, first round
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:11:47 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  9. src/os/removeall_noat.go

    		if err != nil {
    			if IsNotExist(err) {
    				// Already deleted by someone else.
    				return nil
    			}
    			return err
    		}
    
    		const reqSize = 1024
    		var names []string
    		var readErr error
    
    		for {
    			numErr := 0
    			names, readErr = fd.Readdirnames(reqSize)
    
    			for _, name := range names {
    				err1 := RemoveAll(path + string(PathSeparator) + name)
    				if err == nil {
    					err = err1
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 29 16:24:51 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/api/internal/tasks/TaskContainerInternal.java

        DynamicObject getTasksAsDynamicObject();
    
        /**
         * Force the task graph to come into existence.
         */
        void realize();
    
        /**
         * Performs work to discover more tasks.
         *
         * This method differs from {@link #realize} in that it does not realize the whole subtree.
         */
        void discoverTasks();
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 08 09:35:04 UTC 2023
    - 2.4K bytes
    - Viewed (0)
Back to top