Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,679 for _empty (0.08 sec)

  1. src/cmd/cover/cover_test.go

    		case *ast.FuncDecl:
    			name = d.Name.Name
    		case *ast.GenDecl:
    			if len(d.Specs) == 0 {
    				// An empty group declaration. We still want to check that
    				// directives can be associated with it, so we make up a name
    				// to match directives in the test data.
    				name = "_empty"
    			} else if spec, ok := d.Specs[0].(*ast.TypeSpec); ok {
    				name = spec.Name.Name
    			}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 07 16:54:28 UTC 2023
    - 18.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableRangeSet.java

      }
    
      /**
       * Returns an empty immutable range set.
       *
       * <p><b>Performance note:</b> the instance returned is a singleton.
       */
      @SuppressWarnings("unchecked")
      public static <C extends Comparable> ImmutableRangeSet<C> of() {
        return (ImmutableRangeSet<C>) EMPTY;
      }
    
      /**
       * Returns an immutable range set containing the specified single range. If {@link Range#isEmpty()
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/quota/v1/resources_test.go

    			b:        corev1.ResourceList{},
    			expected: corev1.ResourceList{},
    		},
    		"value-empty": {
    			a:        corev1.ResourceList{corev1.ResourceCPU: resource.MustParse("100m")},
    			b:        corev1.ResourceList{},
    			expected: corev1.ResourceList{corev1.ResourceCPU: resource.MustParse("100m")},
    		},
    		"empty-value": {
    			a:        corev1.ResourceList{},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 12 01:57:38 UTC 2021
    - 15.6K bytes
    - Viewed (0)
  4. guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java

        assertTrue(ArbitraryInstances.get(NavigableMap.class).isEmpty());
        assertTrue(ArbitraryInstances.get(LinkedList.class).isEmpty());
        assertTrue(ArbitraryInstances.get(Deque.class).isEmpty());
        assertTrue(ArbitraryInstances.get(Queue.class).isEmpty());
        assertTrue(ArbitraryInstances.get(PriorityQueue.class).isEmpty());
        assertTrue(ArbitraryInstances.get(BitSet.class).isEmpty());
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 22.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/RangeSet.java

       * range set.
       *
       * @throws NoSuchElementException if this range set is {@linkplain #isEmpty() empty}
       */
      Range<C> span();
    
      // Views
    
      /**
       * Returns a view of the {@linkplain Range#isConnected disconnected} ranges that make up this
       * range set. The returned set may be empty. The iterators returned by its {@link
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableRangeMap.java

         *
         * @throws IllegalArgumentException if {@code range} is empty
         */
        @CanIgnoreReturnValue
        public Builder<K, V> put(Range<K> range, V value) {
          checkNotNull(range);
          checkNotNull(value);
          checkArgument(!range.isEmpty(), "Range must not be empty, but was %s", range);
          entries.add(Maps.immutableEntry(range, value));
          return this;
        }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 04 14:31:50 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  7. testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/BNDSmokeTest.groovy

            buildFile << """
    ${addBNDBuilderPlugin()}
    
    dependencies {
        implementation "org.apache.commons:commons-lang3:$commonsVersion"
    }
    
    tasks.named("jar") {
        bundle {
            properties.empty() // Make this work with CC per: https://github.com/bndtools/bnd/blob/master/gradle-plugins/README.md#gradle-configuration-cache-support
    
            bnd('Import-Package': 'org.apache.*')
        }
    }
    """
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  8. platforms/jvm/language-java/src/test/groovy/org/gradle/api/internal/tasks/compile/incremental/deps/ClassSetAnalysisTest.groovy

            def a = analysis(
                [:], [:], empty(), empty(), "Some cause"
            )
    
            expect:
            a.findTransitiveDependents(["DoesNotMatter"], [:]).isDependencyToAll()
        }
    
        def "marks as dependency to all if constants has change and compilerApi is not available"() {
            given:
            def a = analysis(
                [:], [:], empty(), empty(), null,
                CompilerApiData.unavailable()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 13.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ContiguousSet.java

        } catch (NoSuchElementException e) {
          throw new IllegalArgumentException(e);
        }
    
        boolean empty;
        if (effectiveRange.isEmpty()) {
          empty = true;
        } else {
          /*
           * requireNonNull is safe because the effectiveRange operations above would have thrown or
           * effectiveRange.isEmpty() would have returned true.
           */
          C afterLower = requireNonNull(range.lowerBound.leastValueAbove(domain));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  10. platforms/software/ivy/src/test/groovy/org/gradle/api/publish/ivy/internal/publisher/IvyDescriptorFileGeneratorTest.groovy

        }
    
        def "writes empty descriptor with module values"() {
            expect:
            with (ivyXml) {
                info.@organisation == "my-org"
                info.@module == "my-name"
                info.@revision == "my-version"
                info.@status.isEmpty()
                info.@branch.isEmpty()
                configurations.size() == 1
                configurations.conf.isEmpty()
                publications.size() == 1
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 13.7K bytes
    - Viewed (0)
Back to top