- Sort Score
- Result 10 results
- Languages All
Results 481 - 490 of 3,008 for _shouldn (1.7 sec)
-
cmd/os-reliable.go
// but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU Affero General Public License for more details. // // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "fmt" "os" "path" )
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Mon Apr 22 17:49:30 UTC 2024 - 5.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/query/PrefixQueryCommandTest.java
assertTrue(builder instanceof MatchPhrasePrefixQueryBuilder); MatchPhrasePrefixQueryBuilder mpqb = (MatchPhrasePrefixQueryBuilder) builder; assertEquals("test", mpqb.value()); // Should be lowercase } public void test_convertPrefixQuery_withUppercasePrefix_lowercaseDisabled() throws Exception { queryCommand.setLowercaseWildcard(false);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 13.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java
// Set a test time using reflection long testTime = System.currentTimeMillis(); setFieldValue(response, "lastWriteTime", testTime); // All time methods should return the same converted time long expectedTime = testTime + serverTimeZoneOffset; assertEquals(expectedTime, response.getCreateTime()); assertEquals(expectedTime, response.getLastWriteTime());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/WinErrorTest.java
void arrays_are_well_formed_and_match() { // Validate arrays existence and alignment (edge and structure checks) assertNotNull(WinError.WINERR_CODES, "WINERR_CODES should not be null"); assertNotNull(WinError.WINERR_MESSAGES, "WINERR_MESSAGES should not be null"); assertEquals(WinError.WINERR_CODES.length, WinError.WINERR_MESSAGES.length, "Codes/messages length mismatch");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListRemoveTester.java
int initialSize = getList().size(); assertTrue("remove(present) should return true", getList().remove(duplicate)); assertTrue( "After remove(duplicate), a list should still contain the duplicate element", getList().contains(duplicate)); assertFalse( "remove(duplicate) should remove the first instance of the " + "duplicate element in the list",
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 2.6K bytes - Viewed (0) -
src/main/java/jcifs/SmbWatchHandle.java
* opened if it is not and should be closed with {@link #close()} when no longer * needed. * * Closing the context should cancel a pending notify request, but that does not seem to work reliable in all * implementations. * * Changes in between these calls (as long as the file is open) are buffered by the server, so iteratively calling
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.3K bytes - Viewed (0) -
api/maven-api-di/src/main/java/org/apache/maven/api/di/Typed.java
import static java.lang.annotation.ElementType.TYPE; import static java.lang.annotation.RetentionPolicy.RUNTIME; /** * Explicitly specifies the types that should be used for dependency injection. * <p> * This annotation allows you to limit which types of a bean should be available * for injection. It can be used to prevent unintended automatic binding of implemented * interfaces or extended classes. * <p> * Example usage:
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Thu Jan 30 23:28:59 UTC 2025 - 2.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequestTest.java
byte[] buffer = new byte[1024]; int written = request.writeBytesWireFormat(buffer, 0); // Should write exactly 56 bytes (structure size without data) assertEquals(56, written); // Check structure size (first 2 bytes should be 57) assertEquals(57, (buffer[0] & 0xFF) | ((buffer[1] & 0xFF) << 8)); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java
SMB1SigningDigest verifyDigest = new SMB1SigningDigest(testMacSigningKey); // Verify should return false when signature is correct (no error) // The code returns true on line 281 when signatures DON'T match boolean result = verifyDigest.verify(data, 0, data.length, 0, mockRequest); // The verification should succeed (return false) since we're using the same key assertFalse(result); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/CertificatePinnerChainValidationTest.kt
.Builder() .body("abc") .addHeader("Content-Type: text/plain") .build(), ) // Make a request from client to server. It should succeed certificate checks (unfortunately the // rogue CA is trusted) but it should fail certificate pinning. val request = Request .Builder() .url(server.url("/")) .build() val call = client.newCall(request)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 24.3K bytes - Viewed (1)