Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,119 for nothings (0.16 sec)

  1. platforms/core-runtime/base-services/src/main/java/org/gradle/util/internal/CollectionUtils.java

        }
    
        public static <T> List<T> toList(T[] things) {
            if (things == null || things.length == 0) {
                return new ArrayList<T>(0);
            }
    
            List<T> list = new ArrayList<T>(things.length);
            Collections.addAll(list, things);
            return list;
        }
    
        public static <T> Set<T> toSet(Iterable<? extends T> things) {
            if (things == null) {
                return new HashSet<T>(0);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:40 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  2. pkg/controller/resourceclaim/controller.go

    			claimName, _, err := resourceclaim.Name(pod, &podClaim)
    			switch {
    			case err != nil:
    				// Either the claim was not created (nothing to do here) or
    				// the API changed. The later will also get reported elsewhere,
    				// so here it's just a debug message.
    				logger.V(6).Info("Nothing to do for claim during pod change", "err", err, "reason", reason)
    			case claimName != nil:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 03:34:25 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  3. subprojects/core-api/src/main/java/org/gradle/util/CollectionUtils.java

        }
    
        /**
         * Recursively unpacks all the given things into a flat list.
         *
         * Nulls are not removed, they are left intact.
         *
         * @param things The things to flatten
         * @return A flattened list of the given things
         */
        public static List<?> flattenCollections(Object... things) {
            return flattenCollections(Object.class, things);
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 22 11:17:19 UTC 2024
    - 26K bytes
    - Viewed (0)
  4. src/internal/concurrent/hashtriemap.go

    	var n *node[K, V]
    	for {
    		// Find the key or return when there's nothing to delete.
    		i = ht.root
    		hashShift = 8 * goarch.PtrSize
    		found := false
    		for hashShift != 0 {
    			hashShift -= nChildrenLog2
    
    			slot = &i.children[(hash>>hashShift)&nChildrenMask]
    			n = slot.Load()
    			if n == nil {
    				// Nothing to delete. Give up.
    				return
    			}
    			if n.isEntry {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 16:01:55 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  5. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/text/TreeFormatterTest.groovy

      - child 1.
    Some other things.
      - child 1.
      - child 2.""")
        }
    
        def "formats node with trailing ':'"() {
            when:
            formatter.node("Some things:")
            formatter.startChildren()
            formatter.node("child 1.")
            formatter.endChildren()
            formatter.node("Some other things:")
            formatter.startChildren()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  6. platforms/core-runtime/files/src/test/groovy/org/gradle/internal/file/impl/DefaultDeleterTest.groovy

        }
    
        def "creates directory if nothing existed before"() {
            given:
            TestFile dir = tmpDir.getTestDirectory()
            def file = dir.file("someFile")
    
            when:
            boolean didWork = deleter.ensureEmptyDirectory(file)
    
            then:
            file.assertIsDir()
            didWork
        }
    
        def "didWork is false when nothing has been deleted"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 09 12:40:48 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  7. platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/event/BroadcastDispatchTest.groovy

    import java.lang.reflect.Method
    import java.lang.reflect.Proxy
    
    class BroadcastDispatchTest extends Specification {
        def method = TestListener.getMethod("doSomething", String)
    
        def "does nothing when no listeners"() {
            expect:
            def dispatch = BroadcastDispatch.empty(TestListener)
            dispatch.empty
            dispatch.size() == 0
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 14.9K bytes
    - Viewed (0)
  8. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt

          BitString::class to BIT_STRING,
          ByteString::class to OCTET_STRING,
          Unit::class to NULL,
          Nothing::class to OBJECT_IDENTIFIER,
          Nothing::class to UTF8_STRING,
          String::class to PRINTABLE_STRING,
          Nothing::class to IA5_STRING,
          Nothing::class to UTC_TIME,
          Long::class to GENERALIZED_TIME,
          AnyValue::class to ANY_VALUE,
        )
    
      fun any(
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 15K bytes
    - Viewed (0)
  9. pkg/scheduler/framework/plugins/volumerestrictions/volume_restrictions_test.go

    		preFilterWantStatus *framework.Status
    		wantStatus          *framework.Status
    	}{
    		{
    			pod:                 &v1.Pod{},
    			nodeInfo:            framework.NewNodeInfo(),
    			name:                "nothing",
    			preFilterWantStatus: framework.NewStatus(framework.Skip),
    			wantStatus:          nil,
    		},
    		{
    			pod:                 &v1.Pod{},
    			nodeInfo:            framework.NewNodeInfo(st.MakePod().Volume(volState).Obj()),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 20 17:40:39 UTC 2023
    - 17.3K bytes
    - Viewed (0)
  10. platforms/jvm/jvm-services/src/main/java/org/gradle/api/internal/artifacts/JavaEcosystemSupport.java

                    if (candidateValues.contains(javaRuntimeJars)) {
                        // Use the Jars when nothing has been requested
                        details.closestMatch(javaRuntimeJars);
                    } else if (candidateValues.contains(javaRuntime)) {
                        // Use the runtime when nothing has been requested
                        details.closestMatch(javaRuntime);
                    }
                } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 19:13:00 UTC 2024
    - 18.1K bytes
    - Viewed (0)
Back to top