Search Options

Results per page
Sort
Preferred Languages
Advance

Results 941 - 950 of 1,205 for Exceptions (0.07 sec)

  1. android/guava-tests/test/com/google/common/io/ByteSinkTester.java

      ByteSinkTester(
          ByteSinkFactory factory, byte[] data, String suiteName, String caseDesc, Method method) {
        super(factory, data, suiteName, caseDesc, method);
      }
    
      @Override
      protected void setUp() throws Exception {
        sink = factory.createSink();
      }
    
      public void testOpenStream() throws IOException {
        OutputStream out = sink.openStream();
        try {
          ByteStreams.copy(new ByteArrayInputStream(data), out);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/ByteSinkTester.java

      ByteSinkTester(
          ByteSinkFactory factory, byte[] data, String suiteName, String caseDesc, Method method) {
        super(factory, data, suiteName, caseDesc, method);
      }
    
      @Override
      protected void setUp() throws Exception {
        sink = factory.createSink();
      }
    
      public void testOpenStream() throws IOException {
        OutputStream out = sink.openStream();
        try {
          ByteStreams.copy(new ByteArrayInputStream(data), out);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/io/InputStreamUtil.java

    import java.io.ByteArrayOutputStream;
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.IOException;
    import java.io.InputStream;
    
    import org.codelibs.core.exception.IORuntimeException;
    
    /**
     * {@link InputStream}用のユーティリティクラスです。
     *
     * @author higa
     */
    public abstract class InputStreamUtil {
    
        /** デフォルトのバッファサイズ */
        private static final int BUF_SIZE = 4096;
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/helper/RoleQueryHelperTest.java

    import jakarta.servlet.http.Cookie;
    import jakarta.servlet.http.HttpServletRequest;
    
    public class RoleQueryHelperTest extends UnitFessTestCase {
        public CachedCipher cipher;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            cipher = new CachedCipher();
            cipher.setKey("1234567890123456");
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java

       * Call the {@code setCount()} method under test, but do not check its return value. Callers
       * should use this method over {@link #setCountCheckReturnValue(Object, int)} when they expect
       * {@code setCount()} to throw an exception, as checking the return value could produce an
       * incorrect error message like "setCount() should return the original count" instead of the
       * message passed to a later invocation of {@code fail()}, like "setCount should throw
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 13K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/helper/PermissionHelperTest.java

    import org.codelibs.fess.util.ComponentUtil;
    
    public class PermissionHelperTest extends UnitFessTestCase {
    
        public PermissionHelper permissionHelper;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            permissionHelper = new PermissionHelper();
            permissionHelper.systemHelper = new SystemHelper();
        }
    
        public void test_encode() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessApiFailureHook.java

    import org.codelibs.fess.util.ComponentUtil;
    import org.dbflute.optional.OptionalThing;
    import org.lastaflute.web.api.ApiFailureHook;
    import org.lastaflute.web.api.ApiFailureResource;
    import org.lastaflute.web.login.exception.LoginUnauthorizedException;
    import org.lastaflute.web.response.ApiResponse;
    import org.lastaflute.web.response.JsonResponse;
    
    /**
     * @author jflute
     */
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/LinkedHashMultisetTest.java

        ms.add("a", 3);
        ms.add("c", 1);
        ms.add("b", 2);
    
        assertEquals("[a x 3, c, b x 2]", ms.toString());
      }
    
      public void testLosesPlaceInLine() throws Exception {
        Multiset<String> ms = LinkedHashMultiset.create();
        ms.add("a");
        ms.add("b", 2);
        ms.add("c");
        assertThat(ms.elementSet()).containsExactly("a", "b", "c").inOrder();
        ms.remove("b");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/Callables.java

        /*
         * setName should usually succeed, but the security manager can prohibit it. Is there a way to
         * see if we have the modifyThread permission without catching an exception?
         */
        try {
          currentThread.setName(threadName);
          return true;
        } catch (SecurityException e) {
          return false;
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 18:32:03 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  10. android/guava-testlib/test/com/google/common/collect/testing/features/FeatureEnumTest.java

          return (Class<? extends Annotation>) clazz;
        } else {
          throw new IllegalArgumentException(rootLocaleFormat("%s is not an annotation.", clazz));
        }
      }
    
      public void testFeatureEnums() throws Exception {
        assertGoodFeatureEnum(CollectionFeature.class);
        assertGoodFeatureEnum(ListFeature.class);
        assertGoodFeatureEnum(SetFeature.class);
        assertGoodFeatureEnum(CollectionSize.class);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:09:00 UTC 2024
    - 4.3K bytes
    - Viewed (0)
Back to top