Search Options

Results per page
Sort
Preferred Languages
Advance

Results 341 - 350 of 447 for INSTANCES (0.08 sec)

  1. android/guava/src/com/google/common/hash/HashCode.java

        }
        return false;
      }
    
      /**
       * Returns a "Java hash code" for this {@code HashCode} instance; this is well-defined (so, for
       * example, you can safely put {@code HashCode} instances into a {@code HashSet}) but is otherwise
       * probably not what you want to use.
       */
      @Override
      public final int hashCode() {
        // If we have at least 4 bytes (32 bits), just take the first 4 bytes. Since this is
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  2. src/bytes/bytes.go

    			a[na] = s
    			na++
    			break
    		}
    		_, size = utf8.DecodeRune(s)
    		a[na] = s[0:size:size]
    		s = s[size:]
    		na++
    	}
    	return a[0:na]
    }
    
    // Count counts the number of non-overlapping instances of sep in s.
    // If sep is an empty slice, Count returns 1 + the number of UTF-8-encoded code points in s.
    func Count(s, sep []byte) int {
    	// special case
    	if len(sep) == 0 {
    		return utf8.RuneCount(s) + 1
    	}
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Sep 03 14:04:47 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java

      }
    
      /*
       * Whenever an implementation uses `instanceof` on a parameter instance, the test has to know that
       * (so much for "black box") and try instances that both do and don't pass the check. The "don't"
       * half of that is more awkward to arrange...
       */
      private static <T> Iterable<T> iterable(Collection<T> collection) {
        // return collection::iterator;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt

    import okhttp3.HttpUrl.Companion.toHttpUrl
    import okhttp3.internal.http.GzipRequestBody
    import okhttp3.internal.http.HttpMethod
    import okhttp3.internal.isSensitiveHeader
    
    /**
     * An HTTP request. Instances of this class are immutable if their [body] is null or itself
     * immutable.
     */
    class Request internal constructor(
      builder: Builder,
    ) {
      @get:JvmName("url")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 13.1K bytes
    - Viewed (1)
  5. android/guava/src/com/google/common/collect/MapMaker.java

    import java.util.Map;
    import java.util.concurrent.ConcurrentHashMap;
    import java.util.concurrent.ConcurrentMap;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A builder of {@link ConcurrentMap} instances that can have keys or values automatically wrapped
     * in {@linkplain WeakReference weak} references.
     *
     * <p>Usage example:
     *
     * {@snippet :
     * ConcurrentMap<Request, Stopwatch> timers = new MapMaker()
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponseTest.java

                assertEquals(8388608, response.getTotalBytesWritten()); // 8MB total
            }
    
            @Test
            @DisplayName("Should create multiple independent instances")
            void testMultipleInstances() throws SMBProtocolDecodingException {
                SrvCopyChunkCopyResponse response1 = new SrvCopyChunkCopyResponse();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.8K bytes
    - Viewed (0)
  7. docs/changelogs/changelog_2x.md

        created.
     *  Fix: Avoid crashing when cache writing fails due to a full disk.
     *  Fix: Improve caching of private responses.
     *  Fix: Update cache-by-default response codes.
     *  Fix: Reused `Request.Builder` instances no longer hold stale URL fields.
     *  New: ConnectionSpec can now be configured to use the SSL socket's default
        cipher suites. To use, set the cipher suites to `null`.
     *  New: Support `DELETE` with a request body.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 26.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/cache/CacheStats.java

    import com.google.common.base.MoreObjects;
    import java.util.Objects;
    import java.util.concurrent.Callable;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Statistics about the performance of a {@link Cache}. Instances of this class are immutable.
     *
     * <p>Cache statistics are incremented according to the following rules:
     *
     * <ul>
     *   <li>When a cache lookup encounters an existing cache entry {@code hitCount} is incremented.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableRangeMap.java

        }
        return false;
      }
    
      @Override
      public String toString() {
        return asMapOfRanges().toString();
      }
    
      /**
       * This class is used to serialize ImmutableRangeMap instances. Serializes the {@link
       * #asMapOfRanges()} form.
       */
      private static final class SerializedForm<K extends Comparable<?>, V> implements Serializable {
    
        private final ImmutableMap<Range<K>, V> mapOfRanges;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

            } catch (AuthorizationException e) {
                throw new TransferFailedException("Authorization failed: " + e.getMessage(), e);
            } finally {
                // Remove remaining TransferListener instances (checksum handlers removed in above finally clause)
                if (downloadMonitor != null) {
                    wagon.removeTransferListener(downloadMonitor);
                }
    
                disconnectWagon(wagon);
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 29.9K bytes
    - Viewed (0)
Back to top