Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 951 - 960 of 5,014 for new1 (0.07 seconds)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/ProtoSession.java

            try {
                return new Builder(
                        getUserProperties(), getSystemProperties(), getStartTime(), getTopDirectory(), getRootDirectory());
            } catch (IllegalStateException e) {
                return new Builder(getUserProperties(), getSystemProperties(), getStartTime(), getTopDirectory(), null);
            }
        }
    
        /**
         * Returns new builder from scratch.
         */
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Jul 03 14:18:26 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb1/UniAddressTest.java

            // Act
            UniAddress ua = new UniAddress(dummy);
            // Assert
            assertSame(dummy, ua.getAddress(), "constructor should store the supplied address");
        }
    
        @Test
        void constructorRejectsNull() {
            // Expect constructor to throw IllegalArgumentException when passed null
            assertThrows(IllegalArgumentException.class, () -> new UniAddress(null));
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/SimpleTimeLimiterTest.java

          () -> {
            MILLISECONDS.sleep(DELAY_MS);
            throw new SampleException();
          };
      private static final Runnable GOOD_RUNNABLE =
          () -> {
            try {
              MILLISECONDS.sleep(DELAY_MS);
            } catch (InterruptedException e) {
              throw new RuntimeException(e);
            }
          };
      private static final Runnable BAD_RUNNABLE =
          () -> {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 9.4K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/ConsumerPomArtifactTransformer.java

                    }
                    return null;
                }
            };
            return new TransformedArtifact(
                    this,
                    project,
                    consumer,
                    session,
                    new ProjectArtifact(project),
                    () -> source,
                    CONSUMER_POM_CLASSIFIER,
                    "pom");
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Mar 04 19:49:40 GMT 2026
    - 8.9K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/Sets.java

      public static <E extends @Nullable Object> HashSet<E> newHashSet(Iterator<? extends E> elements) {
        HashSet<E> set = new HashSet<>();
        Iterators.addAll(set, elements);
        return set;
      }
    
      /**
       * Returns a new hash set using the smallest initial table size that can hold {@code expectedSize}
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 81.4K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/job/GenerateThumbnailJob.java

            final File targetDir = new File(userDir, "target");
            final File targetClassesDir = new File(targetDir, "classes");
            if (targetClassesDir.isDirectory()) {
                buf.append(cpSeparator);
                buf.append(targetClassesDir.getAbsolutePath());
            }
            // WEB-INF/lib
            appendJarFile(cpSeparator, buf, new File(servletContext.getRealPath("/WEB-INF/lib")),
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  7. guava/src/com/google/common/base/Verify.java

     * usual form:
     *
     * {@snippet :
     * Bill bill = remoteService.getLastUnpaidBill();
     * if (bill.status() != Status.UNPAID) {
     *   throw new VerifyException("Unexpected bill status: " + bill.status());
     * }
     * }
     *
     * <h3>Only {@code %s} is supported</h3>
     *
     * <p>As with {@link Preconditions}, {@code Verify} uses {@link Strings#lenientFormat} to format
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Dec 29 17:36:00 GMT 2025
    - 18.5K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb1/ntlmssp/Type3Message.java

                        final HMACT64 hmac = new HMACT64(userSessionKey);
                        hmac.update(sessionNonce);
                        final byte[] ntlm2SessionKey = hmac.digest();
    
                        if ((getFlags() & NTLMSSP_NEGOTIATE_KEY_EXCH) != 0) {
                            masterKey = new byte[16];
                            RANDOM.nextBytes(masterKey);
    
                            final byte[] exchangedKey = new byte[16];
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 24.1K bytes
    - Click Count (0)
  9. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

        List<ParameterNotInstantiableException> paramErrors = new ArrayList<>();
        List<ParameterHasNoDistinctValueException> distinctValueErrors = new ArrayList<>();
        List<InvocationTargetException> instantiationExceptions = new ArrayList<>();
        List<FactoryMethodReturnsNullException> nullErrors = new ArrayList<>();
        // Try factories with the greatest number of parameters.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 32.5K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/crawler/serializer/DataSerializer.java

            kryo.register(ArrayList.class, new CollectionSerializer<>());
            kryo.register(LinkedList.class, new CollectionSerializer<>());
            kryo.register(HashSet.class, new CollectionSerializer<>());
            kryo.register(LinkedHashSet.class, new CollectionSerializer<>());
            kryo.register(TreeSet.class, new CollectionSerializer<>());
    
            // Maps - with explicit serializers for safety
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Jan 10 01:54:09 GMT 2026
    - 10.5K bytes
    - Click Count (3)
Back to Top