- Sort Score
- Num 10 results
- Language All
Results 531 - 540 of 4,122 for _shouldn (0.05 seconds)
-
android/guava/src/com/google/common/net/PercentEscaper.java
/** If true we should convert space to the {@code +} character. */ private final boolean plusForSpace; /** * An array of flags where for any {@code char c} if {@code safeOctets[c]} is true then {@code c} * should remain unmodified in the output. If {@code c >= safeOctets.length} then it should be * escaped. */ private final boolean[] safeOctets; /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 28 01:26:26 GMT 2024 - 8.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/net/SmbShareInfoTest.java
int typeWithUpperBits = 0xFFFF0001; // Should be treated as type 1 (printer) SmbShareInfo info = new SmbShareInfo(TEST_NET_NAME, typeWithUpperBits, TEST_REMARK); assertEquals(SmbConstants.TYPE_PRINTER, info.getType()); typeWithUpperBits = 0x12340003; // Should be treated as type 3 (named pipe)Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/cors/CorsHandlerFactoryTest.java
corsHandlerFactory.add("*", wildcardHandler); // Execute & Verify - specific origin should return specific handler assertEquals(specificHandler, corsHandlerFactory.get(specificOrigin)); // Execute & Verify - unknown origin should return wildcard handler assertEquals(wildcardHandler, corsHandlerFactory.get("https://unknown.com")); } @Test
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 9.3K bytes - Click Count (0) -
src/test/java/jcifs/smb/NetServerFileEntryAdapterIteratorTest.java
// Act & Assert assertTrue(itr.hasNext(), "Should have first element ready"); SmbResource r1 = itr.next(); assertNotNull(r1, "First adapted resource must not be null"); // For workgroup/server entries, names end with '/' assertTrue(r1.getName().endsWith("/"), "Name should end with '/'"); assertTrue(itr.hasNext(), "Should have second element ready"); SmbResource r2 = itr.next();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.9K bytes - Click Count (0) -
tests/test_query.py
assert response.status_code == 422 assert response.json() == { "detail": [ { "type": "int_parsing", "loc": ["query", "query"], "msg": "Input should be a valid integer, unable to parse string as an integer", "input": "42.5", } ] } def test_query_int_query_baz(): response = client.get("/query/int?query=baz")Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 7.4K bytes - Click Count (0) -
guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 47.9K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/DosFileFilterTest.java
verify(file, times(1)).getAttributes(); } @Test public void testAcceptReturnsFalseWhenAttributesDoNotMatch() throws Exception { SmbFile file = mock(SmbFile.class); when(file.getAttributes()).thenReturn(SmbFile.ATTR_HIDDEN); assertFalse(filter.accept(file), "Attributes not matching should be rejected");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 1.8K bytes - Click Count (0) -
src/main/java/jcifs/ResourceNameFilter.java
* * @author mbechler * */ public interface ResourceNameFilter { /** * Tests whether the specified resource name should be included. * * @param parent the parent SMB resource * @param name the resource name to test * @return whether the given filename should be included * @throws CIFSException if an error occurs while accessing the resource */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.3K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbFileFilter.java
/** * Filter interface for SMB file listings */ public interface SmbFileFilter { /** * Tests whether the specified SMB file should be included in a file list. * * @param file the SMB file to test for inclusion * @return true if the file should be included, false otherwise * @throws SmbException if an error occurs while accessing the file */ boolean accept(SmbFile file) throws SmbException;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.3K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/cache/CacheMetadata.java
* Implementations can specify how long cached data should be retained. * * @since 4.0.0 */ @Experimental public interface CacheMetadata { /** * Returns the cache retention that should be applied to the associated data. * * @return The CacheRetention indicating how long data should be retained, or null if * no specific cache retention is defined */Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Feb 07 00:45:02 GMT 2025 - 1.4K bytes - Click Count (0)