Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 62 for Spec (0.32 sec)

  1. guava-tests/test/com/google/common/cache/CacheBuilderSpecTest.java

      }
    
      public void testParse_initialCapacity() {
        CacheBuilderSpec spec = parse("initialCapacity=10");
        assertEquals(10, spec.initialCapacity.intValue());
        assertNull(spec.maximumSize);
        assertNull(spec.maximumWeight);
        assertNull(spec.concurrencyLevel);
        assertNull(spec.keyStrength);
        assertNull(spec.valueStrength);
        assertNull(spec.writeExpirationTimeUnit);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 19.2K bytes
    - Viewed (0)
  2. maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/DefaultArtifactCollectorTest.java

            public void addArtifact(ArtifactSpec spec) {
                artifacts.put(getKey(spec.artifact), spec);
    
                String key = spec.artifact.getDependencyConflictId();
                List<ArtifactVersion> artifactVersions = versions.computeIfAbsent(key, k -> new ArrayList<>());
                if (spec.artifact.getVersion() != null) {
                    artifactVersions.add(new DefaultArtifactVersion(spec.artifact.getVersion()));
                }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  3. maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java

            boolean lowerBoundInclusive = spec.startsWith("[");
            boolean upperBoundInclusive = spec.endsWith("]");
    
            String process = spec.substring(1, spec.length() - 1).trim();
    
            Restriction restriction;
    
            int index = process.indexOf(',');
    
            if (index < 0) {
                if (!lowerBoundInclusive || !upperBoundInclusive) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 07:40:37 GMT 2024
    - 18.9K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/cache/CacheBuilderSpecTest.java

      }
    
      public void testParse_initialCapacity() {
        CacheBuilderSpec spec = parse("initialCapacity=10");
        assertEquals(10, spec.initialCapacity.intValue());
        assertNull(spec.maximumSize);
        assertNull(spec.maximumWeight);
        assertNull(spec.concurrencyLevel);
        assertNull(spec.keyStrength);
        assertNull(spec.valueStrength);
        assertNull(spec.writeExpirationTimeUnit);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 19.2K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/MapEntrySetTester.java

        } catch (ClassCastException acceptable) {
          // allowed by the spec
        }
      }
    
      public void testContainsEntryWithIncomparableValue() {
        try {
          assertFalse(getMap().entrySet().contains(Helpers.mapEntry(k0(), IncomparableType.INSTANCE)));
        } catch (ClassCastException acceptable) {
          // allowed by the spec
        }
      }
    
      @MapFeature.Require(ALLOWS_NULL_KEY_QUERIES)
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  6. maven-artifact/src/test/java/org/apache/maven/artifact/versioning/VersionRangeTest.java

            assertSame(range, VersionRange.createFromVersionSpec("[1.0,1.2]")); // same instance from spec cache
    
            VersionRange spec = VersionRange.createFromVersionSpec("1.0");
            assertSame(spec, VersionRange.createFromVersionSpec("1.0")); // same instance from spec cache
            List<Restriction> restrictions = spec.getRestrictions();
            assertEquals(1, restrictions.size(), CHECK_NUM_RESTRICTIONS);
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 44.3K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/zip/ZipFileUtilTest.java

            final URL url = new URL(null, "zip:/Program Files/foo.zip!/", new URLStreamHandler() {
                @Override
                protected void parseURL(final URL u, final String spec, final int start, final int limit) {
                    setURL(u, "zip", null, 0, null, null, spec.substring(4), null, null);
                }
    
                @Override
                protected URLConnection openConnection(final URL u) throws IOException {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleKotlinDslReferencePlugin.java

            kotlinSourceSet.register("kotlin_dsl", spec -> {
                spec.getDisplayName().set("DSL");
                spec.getSourceRoots().from(extension.getKotlinDslSource());
                spec.getSourceRoots().from(runtimeExtensions.flatMap(GradleKotlinDslRuntimeGeneratedSources::getGeneratedSources));
                spec.getClasspath().from(extension.getClasspath());
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Jan 15 14:00:14 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java

        // corresponding Comparable wrapper in java.lang.
        for (int i = 0; i < VALUES.length; i++) {
          for (int j = 0; j < VALUES.length; j++) {
            byte x = VALUES[i];
            byte y = VALUES[j];
            // note: spec requires only that the sign is the same
            assertWithMessage(x + ", " + y)
                .that(Math.signum(Ints.compare(i, j)))
                .isEqualTo(Math.signum(UnsignedBytes.compare(x, y)));
          }
        }
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/net/URLUtil.java

        }
    
        /**
         * 文字列表現から<code>URL</code>オブジェクトを作成します。
         *
         * @param spec
         *            <code>URL</code>として構文解析される文字列。{@literal null}や空文字列であってはいけません
         * @return <code>URL</code>
         */
        public static URL create(final String spec) {
            assertArgumentNotEmpty("spec", spec);
    
            try {
                return new URL(spec);
            } catch (final IOException e) {
                throw new IORuntimeException(e);
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 7.3K bytes
    - Viewed (0)
Back to top