Search Options

Results per page
Sort
Preferred Languages
Advance

Results 261 - 270 of 1,790 for threw (0.03 sec)

  1. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

       * @throws IllegalArgumentException {@inheritDoc}
       */
      @CanIgnoreReturnValue
      @Override
      public int drainTo(Collection<? super E> c) {
        if (c == null) throw new NullPointerException();
        if (c == this) throw new IllegalArgumentException();
        final E[] items = this.items;
        final Monitor monitor = this.monitor;
        monitor.enter();
        try {
          int i = takeIndex;
          int n = 0;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 22.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/Encdec.java

                    if ( ( ch & 0xC0 ) != 0x80 ) {
                        throw new IOException("Invalid UTF-8 sequence");
                    }
                    uni[ ui ] |= ( ch & 0x3F ) << 6;
                    ch = src[ si++ ] & 0xFF;
                    uni[ ui ] |= ch & 0x3F;
                    if ( ( ch & 0xC0 ) != 0x80 || uni[ ui ] < 0x800 ) {
                        throw new IOException("Invalid UTF-8 sequence");
                    }
                }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 11K bytes
    - Viewed (0)
  3. .teamcity/src/test/kotlin/PromotionProjectTests.kt

            val steps = sanityCheck.steps.items
            val gradleBuildStep = gradleStep(steps, 0)
            gradleBuildStep.assertTasks("tasks")
        }
    
        @Test
        fun `nightly promotion build type runs three gradle invocations`() {
            val model = setupModelFor("release")
            val nightlySnapshot = model.findBuildTypeByName("Nightly Snapshot")
    
            val steps = nightlySnapshot.steps.items
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Feb 13 14:18:23 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/suggest/Suggester.java

                return created;
            } catch (final Exception e) {
                if (logger.isDebugEnabled()) {
                    logger.debug("Failed to create index. index: {}", index, e);
                }
                throw new SuggesterException("Failed to create index.", e);
            }
        }
    
        public void createNextIndex() {
            try {
                final List<String> prevIndices = new ArrayList<>();
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  5. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/RegularImmutableMultiset.java

      }
    
      @Override
      public int count(@Nullable Object element) {
        throw new AssertionError();
      }
    
      @Override
      public ImmutableSet<E> elementSet() {
        throw new AssertionError();
      }
    
      @Override
      Entry<E> getEntry(int index) {
        throw new AssertionError();
      }
    
      @Override
      boolean isPartialView() {
        throw new AssertionError();
      }
    
      @Override
      public int size() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 23 18:43:40 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

        Iterator<String> iterator = asList("one", "two", "three", "four", "five").iterator();
        IllegalArgumentException expected =
            assertThrows(IllegalArgumentException.class, () -> getOnlyElement(iterator));
        assertThat(expected)
            .hasMessageThat()
            .isEqualTo("expected one element but was: <one, two, three, four, five>");
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 54.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/naming/InitialContextUtil.java

         *
         * @return 初期コンテキスト
         */
        public static InitialContext create() {
            try {
                return new InitialContext();
            } catch (final NamingException ex) {
                throw new NamingRuntimeException(ex);
            }
        }
    
        /**
         * 指定した環境を使用して初期コンテキストを作成して返します。
         *
         * @param env
         *            初期コンテキストの作成に使用される環境。<code>mull</code>は空の環境を示す
         * @return 初期コンテキスト
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/util/Strings.java

            if ( str == null ) {
                return new byte[0];
            }
            try {
                return str.getBytes(config.getOemEncoding());
            }
            catch ( UnsupportedEncodingException e ) {
                throw new RuntimeCIFSException("Unsupported OEM encoding " + config.getOemEncoding(), e);
            }
        }
    
    
        /**
         * @param src
         * @param srcIndex
         * @param len
         * @return decoded string
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  9. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsOverHttps.kt

          val privateHost = isPrivateHost(hostname)
    
          if (privateHost && !resolvePrivateAddresses) {
            throw UnknownHostException("private hosts not resolved")
          }
    
          if (!privateHost && !resolvePublicAddresses) {
            throw UnknownHostException("public hosts not resolved")
          }
        }
    
        return lookupHttps(hostname)
      }
    
      @Throws(UnknownHostException::class)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Oct 31 09:27:31 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

                        this.failCounts.put(hostAddress, failCount + 1);
                    }
                    ex = e;
                }
            }
    
            if ( ex != null ) {
                throw ex;
            }
            throw new TransportException("All connection attempts failed");
        }
    
    
        /**
         * 
         * @param trans
         * @return whether (non-exclusive) connection is in the pool
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Dec 20 14:09:34 UTC 2020
    - 12.5K bytes
    - Viewed (0)
Back to top