- Sort Score
- Num 10 results
- Language All
Results 3341 - 3350 of 4,689 for nulls (0.03 seconds)
-
tests/soft_delete_test.go
t.Fatalf("invalid sql generated, got %v", sql) } sql = DB.Session(&gorm.Session{DryRun: true}).Table("user u").Select("name").Find(&User{}).Statement.SQL.String() if !regexp.MustCompile(`SELECT .name. FROM user u WHERE .u.\..deleted_at. IS NULL`).MatchString(sql) { t.Errorf("Table with escape character, got %v", sql) }
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Wed Feb 01 06:40:55 GMT 2023 - 5.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java
} @Test @DisplayName("Should handle null expiration") void testNullExpiration() { Long expiration = 1000L; echoResponse.setExpiration(expiration); assertEquals(expiration, echoResponse.getExpiration()); echoResponse.setExpiration(null); assertNull(echoResponse.getExpiration()); } }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/dict/kuromoji/AdminDictKuromojiAction.java
*/ protected void verifyForm(final CreateForm form) { if (form.token != null && form.token.split(" ").length > 1) { throwValidationError(messages -> { messages.addErrorsInvalidKuromojiToken("token", form.token); }, this::asEditHtml); } if (form.segmentation != null && form.reading != null && form.segmentation.split(" ").length != form.reading.split(" ").length) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 21.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java
} @Test @DisplayName("Test with null buffer in read methods") void testReadMethodsWithNullBuffer() { trans2QueryFSInfo = new Trans2QueryFSInformation(config, FileSystemInformation.SMB_INFO_ALLOCATION); // All read methods should handle null buffer gracefully by returning 0 assertEquals(0, trans2QueryFSInfo.readSetupWireFormat(null, 0, 0));Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java
} @Test @DisplayName("Test with null buffer in read methods") void testReadMethodsWithNullBuffer() { trans2SetFileInfo = new Trans2SetFileInformation(config, TEST_FID, mockFileInfo); // All read methods should handle null buffer gracefully assertEquals(0, trans2SetFileInfo.readSetupWireFormat(null, 0, 0));Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/ProcessHelperTest.java
List<String> cmdList = Arrays.asList("echo", "hello"); try { JobProcess jobProcess = processHelper.startProcess(sessionId, cmdList, null); fail("Expected exception for null callback"); } catch (Exception e) { // Expected - null callback should cause exception assertTrue(e instanceof NullPointerException); } }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 16K bytes - Click Count (0) -
src/test/java/jcifs/internal/dtyp/ACETest.java
} @Test @DisplayName("Test null SID handling in toString") void testToStringWithNullSID() { ace.allow = true; ace.access = 0x001200A9; ace.flags = 0x00; ace.sid = null; // This should throw NullPointerException as the current implementation doesn't handle null SID assertThrows(NullPointerException.class, () -> ace.toString()); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/api/WebApiRequest.java
* Returns the custom servlet path unless the query string contains SAStruts.method. * * @return The servlet path */ @Override public String getServletPath() { if (getQueryString() != null && getQueryString().indexOf("SAStruts.method") != -1) { return super.getServletPath(); } return servletPath; }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 1.9K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbComQueryInformationTest.java
byte[] dst = new byte[100]; int bytesWritten = smbComQueryInformation.writeBytesWireFormat(dst, 0); // Expected format: buffer format (1 byte) + file name (null-terminated) int expectedLength = 1 + TEST_FILE_NAME.length() + 1; assertEquals(expectedLength, bytesWritten); assertEquals(0x04, dst[0]); // Buffer format
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2.4K bytes - Click Count (0) -
src/test/java/jcifs/tests/persistent/HandleGuidTest.java
assertEquals(guid1, guid2); assertEquals(guid1.hashCode(), guid2.hashCode()); assertNotEquals(guid1, guid3); assertNotEquals(guid1.hashCode(), guid3.hashCode()); assertNotEquals(guid1, null); assertNotEquals(guid1, "not a guid"); } @Test public void testHandleGuidToString() { UUID uuid = UUID.randomUUID(); HandleGuid guid = new HandleGuid(uuid);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 2.4K bytes - Click Count (0)