Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1221 - 1230 of 5,324 for newA (0.02 sec)

  1. guava/src/com/google/common/util/concurrent/ServiceManager.java

       *
       * @return this
       * @throws IllegalStateException if any of the Services are not {@link State#NEW new} when the
       *     method is called.
       */
      @CanIgnoreReturnValue
      public ServiceManager startAsync() {
        for (Service service : services) {
          checkState(service.state() == NEW, "Not all services are NEW, cannot start %s", this);
        }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 17:49:12 UTC 2025
    - 32.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/io/FileUtil.java

                        if (newBufferSize > MAX_BUF_SIZE) {
                            throw new IORuntimeException(new IOException("Content too large: exceeds maximum buffer size of " + MAX_BUF_SIZE + " bytes. Use streaming APIs for large content."));
                        }
                        final char[] newBuf = new char[newBufferSize];
                        System.arraycopy(buf, 0, newBuf, 0, bufferSize);
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  3. compat/maven-artifact/src/test/java/org/apache/maven/artifact/DefaultArtifactTest.java

        void setUp() throws Exception {
            artifactHandler = new ArtifactHandlerMock();
            versionRange = VersionRange.createFromVersion(version);
            artifact = new DefaultArtifact(groupId, artifactId, versionRange, scope, type, classifier, artifactHandler);
    
            snapshotVersionRange = VersionRange.createFromVersion(snapshotResolvedVersion);
            snapshotArtifact = new DefaultArtifact(
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  4. impl/maven-core/src/test/java/org/apache/maven/di/DiTest.java

                container = new DefaultPlexusContainer(
                        new DefaultContainerConfiguration(),
                        new AbstractModule() {
                            @Override
                            protected void configure() {
                                bind(ModelParser.class).to(TestModelParser.class);
                            }
                        },
                        new SisuDiBridgeModule(false));
            }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Feb 10 23:18:32 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/TextExtractorEnhancedTest.java

            // Create a stream that will cause an error during reading
            final InputStream errorStream = new InputStream() {
                @Override
                public int read() throws IOException {
                    throw new IOException("Simulated read error");
                }
            };
    
            final String customEncoding = "ISO-8859-1";
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  6. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/RepositorySystemTest.java

        }
    
        @Test
        void testResolveArtifacts() throws Exception {
            ArtifactRequest req1 = new ArtifactRequest();
            req1.setArtifact(new DefaultArtifact("ut.simple:artifact:1.0"));
            req1.addRepository(newTestRepository());
    
            ArtifactRequest req2 = new ArtifactRequest();
            req2.setArtifact(new DefaultArtifact("ut.simple:artifact:zip:1.0"));
            req2.addRepository(newTestRepository());
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/exec/SuggestCreator.java

                SingletonLaContainerFactory.setExternalContext(new GenericExternalContext());
                SingletonLaContainerFactory.setExternalContextComponentDefRegister(new GenericExternalContextComponentDefRegister());
                SingletonLaContainerFactory.init();
    
                final Thread shutdownCallback = new Thread("ShutdownHook") {
                    @Override
                    public void run() {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/CollectSpliteratorsTest.java

                    CollectSpliterators.map(
                        Arrays.spliterator(new String[] {"a", "b", "c", "d", "e"}), Ascii::toUpperCase))
            .expect("A", "B", "C", "D", "E");
      }
    
      public void testFlatMap() {
        SpliteratorTester.of(
                () ->
                    CollectSpliterators.flatMap(
                        Arrays.spliterator(new String[] {"abc", "", "de", "f", "g", ""}),
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/EmptyContiguousSet.java

      @Override
      public C first() {
        throw new NoSuchElementException();
      }
    
      @Override
      public C last() {
        throw new NoSuchElementException();
      }
    
      @Override
      public int size() {
        return 0;
      }
    
      @Override
      public ContiguousSet<C> intersection(ContiguousSet<C> other) {
        return this;
      }
    
      @Override
      public Range<C> range() {
        throw new NoSuchElementException();
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/CallablesTest.java

        assertSame(expected, future.get());
      }
    
      @J2ktIncompatible
      @GwtIncompatible
      public void testAsAsyncCallable_exception() throws Exception {
        Exception expected = new IllegalArgumentException();
        Callable<String> callable =
            new Callable<String>() {
              @Override
              public String call() throws Exception {
                throw expected;
              }
            };
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 4.4K bytes
    - Viewed (0)
Back to top