Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 391 - 400 of 515 for hege (0.05 seconds)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt

         */
        @Throws(IOException::class)
        constructor(rawSource: Source) {
          rawSource.use {
            val source = rawSource.buffer()
            val urlLine = source.readUtf8LineStrict()
            // Choice here is between failing with a correct RuntimeException
            // or mostly silently with an IOException
            url = urlLine.toHttpUrlOrNull() ?: throw IOException("Cache corruption for $urlLine").also {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Mar 20 09:13:37 GMT 2026
    - 26.9K bytes
    - Click Count (0)
  2. guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java

          this.wrapped = checkNotNull(wrapped);
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          // In general getClass().isInstance() is bad for equals.
          // But here we fully control the subclasses to ensure symmetry.
          if (getClass().isInstance(obj)) {
            Wrapper that = (Wrapper) obj;
            return wrapped.equals(that.wrapped);
          }
          return false;
        }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 36.3K bytes
    - Click Count (0)
  3. src/main/java/jcifs/smb1/smb1/SmbTransport.java

                    }
                }
    
                out.write(sbuf, 0, 4 + n);
                out.flush();
                /* Note the Transport thread isn't running yet so we can
                 * read from the socket here.
                 */
                if (peekKey() == null) { /* try to read header */
                    throw new IOException("transport closed in negotiate");
                }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 31.8K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/primitives/Bytes.java

       *     {@code toIndex > fromIndex}
       * @since 32.0.0
       */
      public static void rotate(byte[] array, int distance, int fromIndex, int toIndex) {
        // See Ints.rotate for more details about possible algorithms here.
        checkNotNull(array);
        checkPositionIndexes(fromIndex, toIndex, array.length);
        if (array.length <= 1) {
          return;
        }
    
        int length = toIndex - fromIndex;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jul 17 15:26:41 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  5. guava/src/com/google/common/base/Optional.java

     * class was added for Java 8. The two classes are extremely similar, but incompatible (they cannot
     * share a common supertype). <i>All</i> known differences are listed either here or with the
     * relevant methods below.
     *
     * <ul>
     *   <li>This class is serializable; {@code java.util.Optional} is not.
     *   <li>{@code java.util.Optional} has the additional methods {@code ifPresent}, {@code filter},
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jun 04 13:03:16 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/DiskLruCache.kt

            checkNotNull(removeSnapshot) { "remove() before next()" }
            try {
              ******@****.***(removeSnapshot.key())
            } catch (_: IOException) {
              // Nothing useful to do here. We failed to remove from the cache. Most likely that's
              // because we couldn't update the journal, but the cached entry will still be gone.
            } finally {
              this.removeSnapshot = null
            }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 34.7K bytes
    - Click Count (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

        assertNull(map.get(unmappedKey));
      }
    
      public void testGetNull() {
        Map<K, V> map = makeEitherMap();
        if (allowsNullKeys) {
          if (allowsNullValues) {
            // TODO: decide what to test here.
          } else {
            assertEquals(map.containsKey(null), map.get(null) != null);
          }
        } else {
          try {
            V unused = map.get(null);
          } catch (NullPointerException optional) {
          }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 43.9K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

       * that use {@code comparator} to determine the least and greatest elements.
       */
      /*
       * TODO(cpovirk): Change to Comparator<? super B> to permit Comparator<@Nullable ...> and
       * Comparator<SupertypeOfB>? What we have here matches the immutable collections, but those also
       * expose a public Builder constructor that accepts "? super." So maybe we should do *that*
       * instead.
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 13:11:08 GMT 2026
    - 34K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/HashBiMap.java

        int size = stream.readInt();
        init(16); // resist hostile attempts to allocate gratuitous heap
        Serialization.populateMap(this, stream, size);
      }
    
      // TODO(cpovirk): Should we have a serialVersionUID here?
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 37K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/base/Joiner.java

       * previously configured separator between each.
       */
      public String join(Iterable<?> parts) {
        // We don't use the same optimization here as in the JRE flavor.
        // TODO: b/381289911 - Evaluate the performance impact of doing so.
        return join(parts.iterator());
      }
    
      /*
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 19.3K bytes
    - Click Count (0)
Back to Top