Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1321 - 1330 of 2,436 for exception (0.25 sec)

  1. src/test/java/org/codelibs/fess/util/MemoryUtilTest.java

        }
    
        public void test_getUsedMemory() {
            assertTrue(MemoryUtil.getUsedMemory() >= 0);
        }
    
        public void test_sizeOf() throws Exception {
            // System.out.println("size: " + getObjectSize(""));
            assertEquals(24L, MemoryUtil.sizeOf(Integer.MAX_VALUE));
            assertEquals(24L, MemoryUtil.sizeOf(Long.MAX_VALUE));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/ByteSinkTest.java

      private final byte[] bytes = newPreFilledByteArray(10000);
    
      private TestByteSink sink;
    
      @Override
      protected void setUp() throws Exception {
        sink = new TestByteSink();
      }
    
      public void testOpenBufferedStream() throws IOException {
        OutputStream out = sink.openBufferedStream();
        assertTrue(sink.wasStreamOpened());
        assertFalse(sink.wasStreamClosed());
    
        out.write(new byte[] {1, 2, 3, 4});
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/ByteSinkTest.java

      private final byte[] bytes = newPreFilledByteArray(10000);
    
      private TestByteSink sink;
    
      @Override
      protected void setUp() throws Exception {
        sink = new TestByteSink();
      }
    
      public void testOpenBufferedStream() throws IOException {
        OutputStream out = sink.openBufferedStream();
        assertTrue(sink.wasStreamOpened());
        assertFalse(sink.wasStreamClosed());
    
        out.write(new byte[] {1, 2, 3, 4});
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  4. compat/maven-embedder/src/main/java/org/apache/maven/cli/configuration/SettingsXmlConfigurationProcessor.java

    import org.apache.maven.bridge.MavenRepositorySystem;
    import org.apache.maven.building.Source;
    import org.apache.maven.cli.CLIManager;
    import org.apache.maven.cli.CliRequest;
    import org.apache.maven.execution.MavenExecutionRequest;
    import org.apache.maven.execution.MavenExecutionRequestPopulationException;
    import org.apache.maven.settings.Mirror;
    import org.apache.maven.settings.Profile;
    import org.apache.maven.settings.Proxy;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/RecordedResponse.kt

    import assertk.assertions.isTrue
    import java.io.IOException
    import java.text.SimpleDateFormat
    import java.util.Date
    
    /**
     * A received response or failure recorded by the response recorder.
     */
    class RecordedResponse(
      @JvmField val request: Request,
      val response: Response?,
      val webSocket: WebSocket?,
      val body: String?,
      val failure: IOException?,
    ) {
      fun assertRequestUrl(url: HttpUrl) =
        apply {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/timer/TimeoutTask.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.timer;
    
    import org.codelibs.core.exception.ClIllegalStateException;
    
    /**
     * タイムアウトを管理するクラスです。
     *
     * @author higa
     *
     */
    public class TimeoutTask {
    
        private static final int ACTIVE = 0;
    
        private static final int STOPPED = 1;
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  7. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t04/ProjectInheritanceTest.java

        // prefer to use version 1.0.
        //
        // ----------------------------------------------------------------------
    
        @Test
        void testDependencyManagementOverridesTransitiveDependencyVersion() throws Exception {
            File localRepo = getLocalRepositoryPath();
            File pom0 = new File(localRepo, "p0/pom.xml");
            File pom0Basedir = pom0.getParentFile();
            File pom1 = new File(pom0Basedir, "p1/pom.xml");
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  8. compat/maven-artifact/src/main/java/org/apache/maven/repository/legacy/metadata/ArtifactMetadata.java

    /**
     * Contains metadata about an artifact, and methods to retrieve/store it from an artifact repository.
     * TODO merge with artifactmetadatasource
     * TODO retrieval exception not appropriate for store
     *
     */
    public interface ArtifactMetadata {
        /**
         * Whether this metadata should be stored alongside the artifact.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/UncheckedThrowingFuture.java

        if (!super.setException(new WrapperException(checkNotNull(e)))) {
          throw new IllegalStateException("Future was already complete: " + this);
        }
      }
    
      private static final class WrapperException extends Exception {
        WrapperException(Throwable t) {
          super(t);
        }
      }
    
      private static void rethrow(ExecutionException e) throws ExecutionException {
        Throwable wrapper = e.getCause();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 12 20:02:10 UTC 2018
    - 3.2K bytes
    - Viewed (0)
  10. test-site/app/models/ContentsCreator.java

                        .setCreate(true)
                        .setSource(source)
                        .execute()
                        .actionGet();
                    count++;
                    Thread.sleep(500);
                } catch(Exception e) {
                    Logger.warn(e.getMessage(), e);
                }
            }
        }
    
        protected void addSubLink(final Queue<String> queue, final String html, final HttpUriRequest request) {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Fri Nov 06 08:48:32 UTC 2015
    - 3.7K bytes
    - Viewed (0)
Back to top