- Sort Score
- Num 10 results
- Language All
Results 811 - 820 of 1,160 for isInvalid (0.16 seconds)
-
src/test/java/org/codelibs/fess/util/SearchEngineUtilTest.java
} @Test public void test_getXContentBuilderOutputStream_ioException() { XContentBuilderCallback callback = (builder, params) -> { // Simulate IOException by creating invalid state throw new IOException("Test exception"); }; OutputStream outputStream = SearchEngineUtil.getXContentBuilderOutputStream(callback, XContentType.JSON); assertNotNull(outputStream);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 13.8K bytes - Click Count (0) -
src/test/java/jcifs/netbios/SessionRequestPacketTest.java
byte[] readBuffer = new byte[100]; IOException exception = assertThrows(IOException.class, () -> { packet.readTrailerWireFormat(bais, readBuffer, 0); }); assertEquals("invalid session request wire format", exception.getMessage()); } @ParameterizedTest @MethodSource("provideNamesForWriteTest") @DisplayName("writeTrailerWireFormat should handle various name combinations")
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0) -
src/test/java/jcifs/netbios/UniAddressTest.java
void shouldReturnTrueForValidIpAddresses(String ip) { assertTrue(UniAddress.isDotQuadIP(ip)); } @ParameterizedTest(name = "should return false for invalid IP address or hostname: {0}") @ValueSource(strings = { "192.168.1", "hostname", "1.2.3.4.5", "192.168.1.1a", "a.b.c.d" }) void shouldReturnFalseForInvalidIpAddressesOrHostnames(String input) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 16.4K bytes - Click Count (0) -
internal/config/dns/etcd_dns.go
args := &CoreDNS{ etcdClient: etcdClient, } for _, setter := range setters { setter(args) } if len(args.domainNames) == 0 || args.domainIPs.IsEmpty() { return nil, errors.New("invalid argument") } // strip ports off of domainIPs domainIPsWithoutPorts := args.domainIPs.ApplyFunc(func(ip string) string { host, _, err := net.SplitHostPort(ip) if err != nil {Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 8K bytes - Click Count (0) -
tensorflow/c/eager/c_api_experimental_test.cc
ASSERT_EQ(device_type, nullptr); ASSERT_EQ("Invalid handle", string(TF_Message(status.get()))); TF_SetStatus(status.get(), TF_OK, ""); int device_id = TFE_TensorHandleDeviceID(h, status.get()); ASSERT_EQ(TF_INVALID_ARGUMENT, TF_GetCode(status.get())); ASSERT_EQ(device_id, -1); ASSERT_EQ("Invalid handle", string(TF_Message(status.get()))); } TEST(CAPI, TensorHandleDevices) {
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Oct 09 05:56:18 GMT 2025 - 31.5K bytes - Click Count (0) -
src/bytes/buffer.go
// See #26462, #25907, #47276, #48398 for history. } // The readOp constants describe the last action performed on // the buffer, so that UnreadRune and UnreadByte can check for // invalid usage. opReadRuneX constants are chosen such that // converted to int they correspond to the rune size that was read. type readOp int8 // Don't use iota for these, as the values need to correspond with the
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Nov 14 19:01:17 GMT 2025 - 16.5K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/Longs.java
* minLength} */ public static long[] ensureCapacity(long[] array, int minLength, int padding) { checkArgument(minLength >= 0, "Invalid minLength: %s", minLength); checkArgument(padding >= 0, "Invalid padding: %s", padding); return (array.length < minLength) ? Arrays.copyOf(array, minLength + padding) : array; } /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Oct 22 18:14:49 GMT 2025 - 29K bytes - Click Count (0) -
src/main/java/jcifs/dcerpc/msrpc/lsarpc.java
public static final int SID_NAME_WKN_GRP = 5; /** SID name type: deleted. */ /** SID name type: deleted account. */ public static final int SID_NAME_DELETED = 6; /** SID name type: invalid. */ /** SID name type: invalid. */ public static final int SID_NAME_INVALID = 7; /** SID name type: unknown. */ /** SID name type: unknown. */ public static final int SID_NAME_UNKNOWN = 8; /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 44.5K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbSessionImpl.java
if (e.getNtStatus() == NtStatus.NT_STATUS_INVALID_PARAMETER) { // a relatively large range of samba versions has a bug causing // an invalid parameter error when a SPNEGO MIC is in place and auth fails throw new SmbAuthException("Login failed", e); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 68.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exec/SuggestCreatorTest.java
} } catch (Exception e) { // Test setup exception is acceptable assertNotNull(e); } } // Test main method with invalid arguments @Test public void test_main_invalidArguments() { // Cannot directly test main as it calls System.exit // Test argument parsing insteadCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 11K bytes - Click Count (0)