- Sort Score
- Result 10 results
- Languages All
Results 921 - 930 of 1,333 for unexpected (0.04 sec)
-
src/test/java/org/codelibs/fess/exception/FessSystemExceptionTest.java
assertEquals(exception1.getClass(), exception2.getClass()); } public void test_throwAndCatch() { // Test throwing and catching the exception String expectedMessage = "Expected error"; try { throw new FessSystemException(expectedMessage); } catch (FessSystemException e) { assertEquals(expectedMessage, e.getMessage());
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7.4K bytes - Viewed (0) -
logger/sql.go
return true case reflect.Float32, reflect.Float64: return true default: return false } } // ExplainSQL generate SQL string with given parameters, the generated SQL is expected to be used in logger, execute it might introduce a SQL injection vulnerability func ExplainSQL(sql string, numericPlaceholder *regexp.Regexp, escaper string, avars ...interface{}) string { var (
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Thu Mar 21 08:00:02 UTC 2024 - 5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/EnumerationIteratorTest.java
assertThat(itr.hasNext(), is(not(true))); } /** * @throws Exception */ @Test(expected = NullArgumentException.class) public void testConstructorWithNull() throws Exception { new EnumerationIterator<String>((Enumeration<String>) null); } /** * @throws Exception */
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 3.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/info/Smb2SetInfoResponse.java
final int structureSize = SMBUtil.readInt2(buffer, bufferIndex); if (structureSize != 2) { throw new SMBProtocolDecodingException("Expected structureSize = 2"); } return 2; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.3K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/ClassIteratorTest.java
assertThat(it.next(), is(sameClass(Number.class))); assertThat(it.hasNext(), is(not(true))); } /** * @throws Exception */ @Test(expected = ClIllegalArgumentException.class) public void testInterface() throws Exception { new ClassIterator(Iterable.class); }
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 2.1K bytes - Viewed (0) -
cmd/erasure-decode_test.go
t.Errorf("erasureCreateFile returned %d, expected %d", n, length) } // To generate random offset/length. r := rand.New(rand.NewSource(UTCNow().UnixNano())) buf := &bytes.Buffer{} // Verify erasure.Decode() for random offsets and lengths. for range iterations { offset := r.Int63n(length) readLen := r.Int63n(length - offset) expected := data[offset : offset+readLen]
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 21K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2EchoResponse.java
final int start = bufferIndex; final int structureSize = SMBUtil.readInt2(buffer, bufferIndex); if (structureSize != 4) { throw new SMBProtocolDecodingException("Expected structureSize = 4"); } return bufferIndex - start; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComWriteResponseTest.java
byte[] buf = new byte[12]; buf[0] = 0x34; // Low byte buf[1] = 0x12; // High byte int written = resp.readParameterWordsWireFormat(buf, 0); assertEquals(8, written, "Expected readParameterWordsWireFormat to advance 8 bytes"); assertEquals(0x1234L, resp.getCount(), "Count should reflect value from buffer"); } @Test public void testToStringContainsCount() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/pathmap/AdminPathmapAction.java
// ============ /** * Verifies that the provided CRUD mode matches the expected mode. * * @param crudMode the actual CRUD mode * @param expectedMode the expected CRUD mode */ protected void verifyCrudMode(final int crudMode, final int expectedMode) { if (crudMode != expectedMode) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 16K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/io/Smb2FlushResponse.java
final int start = bufferIndex; final int structureSize = SMBUtil.readInt2(buffer, bufferIndex); if (structureSize != 4) { throw new SMBProtocolDecodingException("Expected structureSize = 4"); } bufferIndex += 4; return bufferIndex - start; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.2K bytes - Viewed (0)