Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1111 - 1120 of 1,651 for Exceptions (0.06 sec)

  1. okhttp/src/main/kotlin/okhttp3/Challenge.kt

      @get:JvmName("charset")
      val charset: Charset
        get() {
          val charset = authParams["charset"]
          if (charset != null) {
            try {
              return Charset.forName(charset)
            } catch (ignore: Exception) {
            }
          }
          return ISO_8859_1
        }
    
      constructor(scheme: String, realm: String) : this(scheme, singletonMap("realm", realm))
    
      init {
        val newAuthParams = mutableMapOf<String?, String>()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/cache/CacheLoaderTest.java

        @Override
        public void execute(Runnable task) {
          tasks.add(task);
        }
    
        private void runNext() {
          tasks.removeFirst().run();
        }
      }
    
      public void testAsyncReload() throws Exception {
        final AtomicInteger loadCount = new AtomicInteger();
        final AtomicInteger reloadCount = new AtomicInteger();
        final AtomicInteger loadAllCount = new AtomicInteger();
    
        CacheLoader<Object, Object> baseLoader =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/AtomicLongMapBasherTest.java

     */
    @J2ktIncompatible // threads
    @GwtIncompatible // threads
    public class AtomicLongMapBasherTest extends TestCase {
      private final Random random = new Random(301);
    
      public void testModify_basher() throws Exception {
        int nTasks = 3000;
        int nThreads = 100;
        final int getsPerTask = 1000;
        final int deltaRange = 10000;
        final String key = "key";
    
        final AtomicLongMap<String> map = AtomicLongMap.create();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 13 14:28:25 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/Config.java

         * required to use SMB URLs with the <tt>java.net.URL</tt> class. If this
         * method is not called before attempting to create an SMB URL with the
         * URL class the following exception will occur:
         * <blockquote>
         * 
         * <pre>
         * Exception MalformedURLException: unknown protocol: smb
         *     at java.net.URL.&lt;init&gt;(URL.java:480)
         *     at java.net.URL.&lt;init&gt;(URL.java:376)
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Multiset.java

      /**
       * Removes a <i>single</i> occurrence of the specified element from this multiset, if present.
       *
       * <p>This method refines {@link Collection#remove} to further specify that it <b>may not</b>
       * throw an exception in response to {@code element} being null or of the wrong type.
       *
       * <p>To both remove the element and obtain the previous count of that element, use {@link
       * #remove(Object, int) remove}{@code (element, 1)} instead.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Jun 17 14:40:53 UTC 2023
    - 19.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/tests/FileLocationTest.java

                Address a = r.getLocator().getAddress();
                assertEquals("1.2.3.4", a.getHostAddress());
            }
        }
    
    
        @Test
        @Ignore
        public void testRelativeWhitespaceStart () throws Exception {
            try ( SmbResource r = new SmbFile("smb://0.0.0.0/asdasf/", getContext());
                  SmbResource c = new SmbFile(r, " test") ) {
                assertEquals(' ', c.getName().charAt(0));
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 08 13:16:07 UTC 2020
    - 23K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideFileTest.java

    import org.codelibs.fess.unit.UnitFessTestCase;
    
    public class StemmerOverrideFileTest extends UnitFessTestCase {
        private StemmerOverrideFile stemmerOverrideFile;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            stemmerOverrideFile = new StemmerOverrideFile("1", "dummy", new Date());
            List<StemmerOverrideItem> itemList = new ArrayList<>();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/io/OutputStreamUtil.java

    import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull;
    
    import java.io.File;
    import java.io.FileOutputStream;
    import java.io.IOException;
    import java.io.OutputStream;
    
    import org.codelibs.core.exception.IORuntimeException;
    
    /**
     * {@link OutputStream}用のユーティリティクラスです。
     *
     * @author shot
     */
    public abstract class OutputStreamUtil {
    
        /**
         * {@link FileOutputStream}を作成します。
         *
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/repository/VersionNotFoundException.java

    import org.apache.maven.model.Dependency;
    
    /**
     * Thrown if a dependency has an invalid version.
     *
     */
    @Deprecated
    public class VersionNotFoundException extends Exception {
        private Dependency dependency;
    
        private String projectId;
        private File pomFile;
        private InvalidVersionSpecificationException cause;
    
        public VersionNotFoundException(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  10. compat/maven-compat/src/test/java/org/apache/maven/artifact/installer/ArtifactInstallerTest.java

        @Inject
        private SessionScope sessionScope;
    
        protected String component() {
            return "installer";
        }
    
        @Test
        void testArtifactInstallation() throws Exception {
            sessionScope.enter();
            try {
                sessionScope.seed(MavenSession.class, mock(MavenSession.class));
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
Back to top