- Sort Score
- Num 10 results
- Language All
Results 331 - 340 of 971 for Helper (0.04 seconds)
-
cmd/net.go
for _, ip := range ipList { apiEndpoints = append(apiEndpoints, getURLScheme(globalIsTLS)+"://"+net.JoinHostPort(ip, globalMinioPort)) } return apiEndpoints } // isHostIP - helper for validating if the provided arg is an ip address. func isHostIP(ipAddress string) bool { host, _, err := net.SplitHostPort(ipAddress) if err != nil { host = ipAddress } // Strip off IPv6 zone information.Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 9.6K bytes - Click Count (1) -
src/main/java/org/codelibs/fess/app/web/admin/dict/stopwords/AdminDictStopwordsAction.java
return entity; }); } // =================================================================================== // Small Helper // ============ /** * Verify that the CRUD mode matches the expected mode. * * @param crudMode the actual CRUD modeCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 20.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/user/allcommon/EsAbstractConditionQuery.java
// nothing } // =================================================================================== // General Helper // ============== protected void assertObjectNotNull(String variableName, Object value) { if (variableName == null) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 15 06:53:53 GMT 2025 - 21.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java
// Test all interface methods assertNull(response.getService()); // getService returns null in SMB2 assertEquals(response.getTreeId(), response.getTid()); } /** * Helper method to create a valid response buffer */ private byte[] createValidResponseBuffer(int shareType, int shareFlags, int capabilities, int maxAccess) { byte[] buffer = new byte[256];Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 19.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2FindNext2Test.java
assertEquals(0, SMBUtil.readInt2(buffer, 0)); // sid assertEquals(0, SMBUtil.readInt2(buffer, 2)); // maxItems assertEquals(0, SMBUtil.readInt4(buffer, 6)); // resumeKey } // Helper method to read string from buffer private String readString(byte[] buffer, int offset, int maxLength) { int length = 0; for (int i = offset; i < offset + maxLength && i < buffer.length; i++) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.2K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbComTransactionResponseTest.java
return 0; } @Override int readDataWireFormat(byte[] buffer, int bufferIndex, int len) { return 0; } // Helper methods to access private fields using reflection protected void setFieldValue(String fieldName, Object value) { try { Field field = null; Class<?> clazz = this.getClass();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/entity/FessUserTest.java
assertArrayEquals(groups, user.getGroupNames()); assertArrayEquals(permissions, user.getPermissions()); assertFalse(user.isEditable()); assertFalse(user.refresh()); } // Helper method to assert array equality private void assertArrayEquals(String[] expected, String[] actual) { if (expected == null && actual == null) { return; }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 11.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/auth/chain/AuthenticationChainTest.java
assertEquals(10, chain.changePasswordCalls.size()); assertEquals(10, chain.loadCalls.size()); assertEquals(5, chain.deleteCalls.size()); } // Helper method to create test user private User createTestUser(String username, String displayName) { User user = new User(); user.setName(username); user.setDisplayName(displayName);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 14.8K bytes - Click Count (0) -
android/guava/src/com/google/common/io/FileBackedOutputStream.java
@VisibleForTesting // We call the method only after checking that it's present. @IgnoreJRERequirement @SuppressWarnings({ "Java8ApiChecker", "NewApi", // This method is a helper, which we call from a `finally` block, as recommended. "ReachabilityFenceUsage", }) static void reachabilityFence(@Nullable Object o) { if (IS_REACHABILITY_FENCE_METHOD_USABLE) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 17:30:49 GMT 2026 - 12.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/request/suggest/SuggestRequestQueryBuildingTest.java
public void test_setSuggestDetail() { request.setSuggestDetail(true); request.setSuggestDetail(false); } // ============================================================ // Helper class to expose methods for testing // ============================================================ /** * Testable wrapper that delegates to SuggestQueryBuilder and SuggestResponseCreator. */
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sat Mar 14 02:35:38 GMT 2026 - 19.8K bytes - Click Count (0)