Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1511 - 1520 of 1,628 for rethrow (0.09 sec)

  1. guava/src/com/google/common/collect/Ordering.java

          }
    
          // identityHashCode collision (rare, but not as rare as you'd think)
          int result = getUid(left).compareTo(getUid(right));
          if (result == 0) {
            throw new AssertionError(); // extremely, extremely unlikely.
          }
          return result;
        }
    
        @Override
        public String toString() {
          return "Ordering.arbitrary()";
        }
    
        /*
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/-HostnamesCommon.kt

        val address = canonicalizeInetAddress(inetAddressByteArray)
        if (address.size == 16) return inet6AddressToAscii(address)
        if (address.size == 4) return inet4AddressToAscii(address) // An IPv4-mapped IPv6 address.
        throw AssertionError("Invalid IPv6 address: '$host'")
      }
    
      val result = idnToAscii(host) ?: return null
      if (result.isEmpty()) return null
      if (result.containsInvalidHostnameAsciiCodes()) return null
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java

                clone.currentProject = ThreadLocal.withInitial(() -> current);
                return clone;
            } catch (CloneNotSupportedException e) {
                throw new RuntimeException("Bug", e);
            }
        }
    
        public Date getStartTime() {
            return request.getStartTime();
        }
    
        public boolean isParallel() {
            return parallel;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/IterablesTest.java

        List<Integer> nums = asList(1, 2, 3, 4, 5);
        List<Integer> collection =
            new ArrayList<Integer>(nums) {
              @Override
              public Iterator<Integer> iterator() {
                throw new AssertionFailedError("Don't iterate me!");
              }
            };
        assertEquals(5, Iterables.size(collection));
      }
    
      private static <T extends @Nullable Object> Iterable<T> iterable(T... elements) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:12:33 UTC 2024
    - 45K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/internal/connection/RouteSelectorTest.kt

              return null
            }
    
            override fun connectFailed(
              uri: URI,
              socketAddress: SocketAddress,
              e: IOException,
            ) {
              throw AssertionError()
            }
          }
    
        val address =
          factory.newAddress(
            proxySelector = nullProxySelector,
          )
        val routeSelector = newRouteSelector(address)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Mar 06 17:33:38 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  6. src/main/webapp/js/admin/bootstrap.min.js.map

    expectedTypes = configTypes[property]\n        const value = config[property]\n        const valueType = value && Util.isElement(value) ?\n          'element' : toType(value)\n\n        if (!new RegExp(expectedTypes).test(valueType)) {\n          throw new Error(\n            `${componentName.toUpperCase()}: ` +\n            `Option \"${property}\" provided type \"${valueType}\" ` +\n            `but expected type \"${expectedTypes}\".`)\n        }\n      }\n    }\n  },\n\n  findShadowRoot(element)...
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 180.9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/Streams.java

      }
    
      @SuppressWarnings("CatchingUnchecked") // sneaky checked exception
      private static void closeAll(BaseStream<?, ?>[] toClose) {
        // If one of the streams throws an exception, continue closing the others, then throw the
        // exception later. If more than one stream throws an exception, the later ones are added to the
        // first as suppressed exceptions. We don't catch Error on the grounds that it should be allowed
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/dict/protwords/AdminDictProtwordsAction.java

            try {
                return createProtwordsItem(this, form, hook);
            } catch (final ValidationErrorException e) {
                saveToken();
                throw e;
            }
        }
    
        public static OptionalEntity<ProtwordsItem> createProtwordsItem(final FessBaseAction action, final CreateForm form,
                final VaErrorHook hook) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/ResponseBody.kt

        private var delegate: Reader? = null
    
        @Throws(IOException::class)
        override fun read(
          cbuf: CharArray,
          off: Int,
          len: Int,
        ): Int {
          if (closed) throw IOException("Stream closed")
    
          val finalDelegate =
            delegate ?: InputStreamReader(
              source.inputStream(),
              source.readBomAsCharset(charset),
            ).also {
              delegate = it
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/hash/HashCodeTest.java

        }
      }
    
      private static class ExpectedHashCode {
        final byte[] bytes;
        final int asInt;
        final Long asLong; // null means that asLong should throw an exception
        final String toString;
    
        ExpectedHashCode(byte[] bytes, int asInt, @Nullable Long asLong, String toString) {
          this.bytes = bytes;
          this.asInt = asInt;
          this.asLong = asLong;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 13.1K bytes
    - Viewed (0)
Back to top