- Sort Score
- Num 10 results
- Language All
Results 801 - 810 of 1,004 for Helpers (0.07 seconds)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt
private var lazyCacheControl: CacheControl? = null val isHttps: Boolean get() = url.isHttps /** * Constructs a new request. * * Use [Builder] for more fluent construction, including helper methods for various HTTP methods. * * @param method defaults to "GET" if [body] is null, and "POST" otherwise. */ constructor( url: HttpUrl, headers: Headers = headersOf(),Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Oct 30 13:46:58 GMT 2025 - 14.7K bytes - Click Count (1) -
android/guava/src/com/google/common/escape/UnicodeEscaper.java
+ " in '" + seq + "'"); } } throw new IndexOutOfBoundsException("Index exceeds specified range"); } /** * Helper method to grow the character buffer as needed, this only happens once in a while so it's * ok if it's in a method call. If the index passed in is 0 then no copying will be done. */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Jan 24 04:06:11 GMT 2026 - 13.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/RoleQueryHelperTest.java
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, * either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.fess.helper; import java.io.File; import java.util.ArrayList; import java.util.HashSet; import java.util.List; import java.util.Set; import org.codelibs.core.crypto.CachedCipher; import org.codelibs.core.io.FileUtil;
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 28.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/net/NetShareEnumResponseTest.java
FileEntry[] results = getResults(response); SmbShareInfo share = (SmbShareInfo) results[0]; assertEquals(shareName, share.netName); } // Helper methods using reflection to access private fields private int getStatus(NetShareEnumResponse response) throws Exception { Field field = getSuperclassField(response.getClass(), "status");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java
// Decode fileBothDirectoryInfo.decode(buffer, 0, buffer.length); // Verify assertEquals(expectedFilename, fileBothDirectoryInfo.getFilename()); } // Helper methods to create valid buffer data private byte[] createValidBuffer(String filename, String shortName, boolean unicode) { int filenameLength = unicode ? filename.length() * 2 : filename.length();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.9K bytes - Click Count (0) -
cmd/utils.go
} return object } func isDirObject(object string) bool { if obj := encodeDirObject(object); obj != object { object = obj } return HasSuffix(object, globalDirSuffix) } // Helper method to return total number of nodes in cluster func totalNodeCount() int { totalNodesCount := len(globalEndpoints.Hostnames()) if totalNodesCount == 0 { totalNodesCount = 1 // For standalone erasure coding }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 33K bytes - Click Count (0) -
guava-testlib/src/com/google/common/testing/GcFinalization.java
* } * }); * } * * <p>Even if your non-test code does not use finalization, you can use this class to test for * leaks, by ensuring that objects are no longer strongly referenced: * * {@snippet : * // Helper function keeps victim stack-unreachable. * private WeakReference<Foo> fooWeakRef() { * Foo x = ....; * WeakReference<Foo> weakRef = new WeakReference<>(x); * // ... use x ...Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 20:19:19 GMT 2026 - 12.3K bytes - Click Count (0) -
src/test/java/jcifs/smb/Kerb5ContextTest.java
void dispose_nullContext_noop() throws Exception { setPrivateField(ctx, "gssContext", null); assertDoesNotThrow(() -> ctx.dispose()); } } // Helper to build a minimal exported name token understood by MIEName(byte[]) // Format: TOK_ID(2 bytes) | OID_LEN(2 bytes) | OID_DER | NAME_LEN(4 bytes) | NAME(bytes)
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 14.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/query/QueryFieldConfigSetBasedLookupTest.java
assertTrue("Set-based lookup should be faster or comparable to array-based lookup for large datasets", setDuration <= arrayDuration * 2); // Allow 2x margin for test stability } /** * Helper method to create a test FessConfig. */ private FessConfig createTestFessConfig() { return new FessConfig.SimpleImpl() { @Override
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 19.4K bytes - Click Count (0) -
cmd/test-utils_test.go
// return FS backend by default. obj, disk, err := prepareFS(ctx) if err != nil { return nil, nil, err } return obj, []string{disk}, nil } } // ExecObjectLayerAPIAnonTest - Helper function to validate object Layer API handler // response for anonymous/unsigned and unknown signature type HTTP request. // Here is the brief description of some of the arguments to the function below. //
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 77K bytes - Click Count (0)