- Sort Score
- Num 10 results
- Language All
Results 251 - 260 of 6,188 for _new (0.03 seconds)
-
src/test/java/jcifs/smb/SmbFileInputStreamTest.java
} @Test @DisplayName("seToIoe maps Interrupted cause to InterruptedIOException") void seToIoeInterruptedMapping() { SmbException se = new SmbException("x", new jcifs.util.transport.TransportException(new InterruptedException("boom"))); IOException ioe = SmbFileInputStream.seToIoe(se); assertTrue(ioe instanceof InterruptedIOException);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 12.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/TestingCacheLoaders.java
static <T> IdentityLoader<T> identityLoader() { return new IdentityLoader<T>(); } /** * Returns a {@code new Object()} for every request, and increments a counter for every request. * The count is accessible via {@link #getCount}. */ static class CountingLoader extends CacheLoader<Object, Object> { private final AtomicInteger count = new AtomicInteger(); @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 13:13:59 GMT 2026 - 5.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java
result.put(key, value); // add extra entries result.put(value, key); } return result; } }; LoadingCache<Object, Object> cache = CacheBuilder.newBuilder().build(loader); Object[] lookupKeys = new Object[] {new Object(), new Object(), new Object()}; Map<Object, Object> result = cache.getAll(asList(lookupKeys));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 91K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableRangeSet.java
private static final ImmutableRangeSet<Comparable<?>> EMPTY = new ImmutableRangeSet<>(ImmutableList.of()); private static final ImmutableRangeSet<Comparable<?>> ALL = new ImmutableRangeSet<>(ImmutableList.of(Range.all())); /** * Returns a {@code Collector} that accumulates the input elements into a new {@code * ImmutableRangeSet}. As in {@link Builder}, overlapping ranges are not permitted and adjacent
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:45:58 GMT 2026 - 27.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/query/BoostQueryCommandTest.java
// Register all query commands needed for testing new TermQueryCommand().register(); new MatchAllQueryCommand().register(); new PhraseQueryCommand().register(); new BooleanQueryCommand().register(); new PrefixQueryCommand().register(); new WildcardQueryCommand().register(); new FuzzyQueryCommand().register(); // Initialize BoostQueryCommandCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 17K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java
} catch (Exception e) { throw new RuntimeException(e); } } @Test @DisplayName("Test setFileId method") void testSetFileId() { request = new Smb2QueryInfoRequest(mockConfig); byte[] newFileId = new byte[16]; for (int i = 0; i < 16; i++) { newFileId[i] = (byte) (i + 10); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 22.6K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocExtensionsBuilder.java
MethodMetaData methodMetaData = new MethodMetaData(id, extensionDoc.getTargetClass().getClassMetaData()); methodMetaData.addParameter("configClosure", new TypeMetaData(Closure.class.getName())); MethodDoc methodDoc = new MethodDoc(methodMetaData, Collections.singletonList(para)); extensionDoc.getExtraBlocks().add(new BlockDoc(methodDoc, propertyDoc, propertyMetaData.getType(), false));Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 4.9K bytes - Click Count (0) -
src/test/java/jcifs/pac/kerberos/KerberosPacAuthDataTest.java
@BeforeEach void setUp() { keys = new HashMap<>(); } // Test successful PAC creation with mocked Pac construction @Test void testConstructorSuccess() throws PACDecodingException { // Setup key byte[] keyBytes = new byte[32]; KerberosKey kdcKey = new KerberosKey(null, keyBytes, PacSignature.HMAC_SHA1_96_AES256, 1);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 6.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponseTest.java
byte[] dst = new byte[100]; int result = response.writeDataWireFormat(dst, 0); assertEquals(0, result); } @Test @DisplayName("Test readSetupWireFormat returns 0") void testReadSetupWireFormat() { response = new Trans2QueryPathInformationResponse(mockConfig, FileInformation.FILE_BASIC_INFO);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/dict/protwords/ProtwordsItemTest.java
} @Test public void test_equals() { // Test equals method ProtwordsItem item1 = new ProtwordsItem(1, "word"); ProtwordsItem item2 = new ProtwordsItem(2, "word"); ProtwordsItem item3 = new ProtwordsItem(1, "different"); ProtwordsItem item4 = new ProtwordsItem(1, "word"); // Same object assertTrue(item1.equals(item1));Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 10.7K bytes - Click Count (0)