- Sort Score
- Result 10 results
- Languages All
Results 341 - 350 of 1,245 for helper (0.06 sec)
-
src/test/java/jcifs/smb/SmbSessionImplTest.java
// Transport wiring - used by most tests when(transport.acquire()).thenReturn(transport); when(transport.getContext()).thenReturn(cifsContext); } // Helper to set private fields for targeted edge cases private static void setField(Object target, String name, Object value) { try { Field f = target.getClass().getDeclaredField(name);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
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.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Jun 19 14:34:00 UTC 2024 - 9.6K bytes - Viewed (1) -
src/main/java/org/codelibs/fess/opensearch/user/allcommon/EsAbstractConditionQuery.java
// nothing } // =================================================================================== // General Helper // ============== protected void assertObjectNotNull(String variableName, Object value) { if (variableName == null) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 21.1K bytes - Viewed (0) -
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 mode
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 20.3K bytes - Viewed (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];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java
int bytesRead = response.readDataWireFormat(buffer, 0, buffer.length); assertTrue(bytesRead > 0); // readDataWireFormat returns bytes consumed from header, not full buffer assertEquals(28, bytesRead); // Header + one referral structure assertNotNull(response.getDfsResponse()); } @Test @DisplayName("Should handle readDataWireFormat with offset")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/IntMathTest.java
} } } /** Helper method that asserts the arithmetic mean of x and y is equal to the expectedMean. */ private static void assertMean(int expectedMean, int x, int y) { assertEquals( "The expectedMean should be the same as computeMeanSafely", expectedMean, computeMeanSafely(x, y)); assertMean(x, y); } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 24.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/GsaConfigParserTest.java
import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.codelibs.core.io.ResourceUtil; import org.codelibs.fess.exception.GsaConfigException; import org.codelibs.fess.helper.SystemHelper; import org.codelibs.fess.opensearch.config.exentity.LabelType; import org.codelibs.fess.unit.UnitFessTestCase; import org.xml.sax.InputSource; import org.xml.sax.SAXException;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 11.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/DocumentHelperTest.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.util.HashMap; import java.util.Map; import org.codelibs.fess.crawler.entity.ResponseData; import org.codelibs.fess.crawler.extractor.impl.TikaExtractor; import org.codelibs.fess.unit.UnitFessTestCase;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 10 13:41:04 UTC 2025 - 13K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/FuturesGetChecked.java
* unable to do so. */ static GetCheckedTypeValidator getBestValidator() { return weakSetValidator(); } } // TODO(cpovirk): change parameter order to match other helper methods (Class, Throwable)? private static <X extends Exception> void wrapAndThrowExceptionOrError( Throwable cause, Class<X> exceptionClass) throws X { if (cause instanceof Error) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 10.2K bytes - Viewed (0)