- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 310 for getter (0.05 sec)
-
android/guava/src/com/google/common/math/Quantiles.java
* greater than or equal to that. */ private static int partition(double[] array, int from, int to) { // Select a pivot, and move it to the start of the slice i.e. to index from. movePivotToStartOfSlice(array, from, to); double pivot = array[from]; // Move all elements with indexes in (from, to] which are greater than the pivot to the end of
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 30.1K bytes - Viewed (0) -
src/main/webapp/WEB-INF/view/profile/index.jsp
placeholder="${ph_confirm_password}" /> <div class="input-group-append"> <span class="input-group-text"><em class="fa fa-lock fa-fw"></span> </div> </div> <div class="text-center"> <la:link href="/" styleClass="btn btn-default"> <em class="fa fa-arrow-circle-left"> <la:message key="labels.profile.back" /> </la:link>
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jan 18 12:09:07 UTC 2025 - 3.6K bytes - Viewed (0) -
docs/features/interceptors.md
If you're in a tricky situation and prepared to deal with the consequences, rewriting response headers is a powerful way to work around problems. For example, you can fix a server's misconfigured `Cache-Control` response header to enable better response caching: ```java /** Dangerous interceptor that rewrites the server's cache-control header. */ private static final Interceptor REWRITE_CACHE_CONTROL_INTERCEPTOR = new Interceptor() {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Feb 06 02:19:09 UTC 2022 - 8.1K bytes - Viewed (0) -
docs/changelogs/changelog_3x.md
interface to track metrics and monitor HTTP requests' size and duration. * New: `okhttp-dnsoverhttps` is an experimental API for doing DNS queries over HTTPS. Using HTTPS for DNS offers better security and potentially better performance. This feature is a preview: the API is subject to change. * New: `okhttp-sse` is an early preview of Server-Sent Events (SSE). This feature is incomplete
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Feb 06 14:55:54 UTC 2022 - 50.8K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt
// Do blocking calls to plan a route for a new connection. val connect = planConnect() // Now that we have a set of IP addresses, make another attempt at getting a connection from // the pool. We have a better chance of matching thanks to connection coalescing. val pooled2 = planReusePooledConnection(connect, connect.routes) if (pooled2 != null) return pooled2 return connect } /**
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed May 28 23:28:25 UTC 2025 - 12K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java
int read = resp.decode(packet, 0, false); assertTrue(read >= SMB2_HEADER_LENGTH + body.length, "Should decode at least header+body"); // Validate simple getters assertEquals((byte) 0x7, resp.getOplockLevel()); assertEquals((byte) 0x2, resp.getOpenFlags()); assertEquals(0x11223344, resp.getCreateAction()); assertEquals(1111L, resp.getCreationTime());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfo.java
*/ public boolean isUsableForChannel() { return address != null && !address.isLoopbackAddress() && !address.isLinkLocalAddress(); } /** * Get a score for interface selection (higher is better) * * @return interface score */ public int getScore() { int score = linkSpeed; // Base score is link speed if (rssCapable)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 9.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvPipePeekResponseTest.java
assertArrayEquals(testData, response.getData()); // The decode method returns only the header size (16 bytes)\n assertEquals(16, bytesDecoded); } @Test @DisplayName("Test getters return initial null/zero values") void testInitialGetterValues() { // Create fresh instance SrvPipePeekResponse freshResponse = new SrvPipePeekResponse(); // Verify initial state
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.9K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt
* if (forceCacheResponse.code() != 504) { * // The resource was cached! Show it. * } else { * // The resource was not cached. * } * ``` * * This technique works even better in situations where a stale response is better than no response. * To permit stale cached responses, use the `max-stale` directive with the maximum staleness in * seconds: * * ```java * Request request = new Request.Builder()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 16 09:39:51 UTC 2025 - 26.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/compression/DefaultCompressionService.java
int uniqueBytes = countUniqueBytes(data); double entropy = (double) uniqueBytes / 256.0; // Estimate compression ratio based on entropy // Lower entropy = better compression return 0.3 + (entropy * 0.6); // Range from 30% to 90% } @Override public int getMinCompressionSize() { return MIN_COMPRESSION_SIZE; } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.2K bytes - Viewed (0)