- Sort Score
- Num 10 results
- Language All
Results 101 - 110 of 443 for wrap (0.02 seconds)
-
src/test/java/org/codelibs/fess/util/IpAddressUtilTest.java
assertEquals("[2001:db8::1]", IpAddressUtil.formatForUrl("2001:db8::1")); assertEquals("[fe80::1]", IpAddressUtil.formatForUrl("fe80::1")); // IPv6 addresses already with brackets - should not double-wrap assertEquals("[::1]", IpAddressUtil.formatForUrl("[::1]")); assertEquals("[2001:db8::1]", IpAddressUtil.formatForUrl("[2001:db8::1]")); // IPv4 addresses - should remain unchanged
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 06 08:31:03 GMT 2025 - 8.9K bytes - Click Count (0) -
src/test/java/jcifs/pac/kerberos/KerberosTicketTest.java
principalVector.add(new DERTaggedObject(true, 1, new DERSequence(principalNameVector))); v.add(new DERTaggedObject(true, 3, new DERSequence(principalVector))); // Wrap in APPLICATION tag as expected by KerberosEncData DERSequence seq = new DERSequence(v); return new DERTaggedObject(false, BERTags.APPLICATION, 3, seq).getEncoded(); } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java
Class<?> sepFwrC = sepLoader.loadClass(MyFinalizableWeakReference.class.getName()); Constructor<?> sepFwrCons = sepFwrC.getConstructor(Object.class, sepFrqC); // The object that we will wrap in FinalizableWeakReference is a Stopwatch. Class<?> sepStopwatchC = sepLoader.loadClass(Stopwatch.class.getName()); assertThat(sepLoader).isSameInstanceAs(sepStopwatchC.getClassLoader());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 26 02:41:17 GMT 2026 - 7.7K bytes - Click Count (0) -
android/guava/src/com/google/common/eventbus/SubscriberRegistry.java
* simply rethrow an exception (e.getCause()) that may in rare cases have come from another * thread. To accomplish both goals, we wrap that IllegalArgumentException in a new * instance. */ throw new IllegalArgumentException(e.getCause().getMessage(), e.getCause()); } /*
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 10.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java
Class<?> sepFwrC = sepLoader.loadClass(MyFinalizableWeakReference.class.getName()); Constructor<?> sepFwrCons = sepFwrC.getConstructor(Object.class, sepFrqC); // The object that we will wrap in FinalizableWeakReference is a Stopwatch. Class<?> sepStopwatchC = sepLoader.loadClass(Stopwatch.class.getName()); assertThat(sepLoader).isSameInstanceAs(sepStopwatchC.getClassLoader());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 26 02:41:17 GMT 2026 - 7.7K bytes - Click Count (0) -
src/test/java/jcifs/smb1/util/transport/TransportExceptionTest.java
void testMessagePreservation() { String originalMessage = "Original error"; TransportException original = new TransportException(originalMessage); // Wrap in another exception TransportException wrapper = new TransportException("Wrapper", original); assertEquals("Wrapper", wrapper.getMessage()); assertEquals(original, wrapper.getRootCause());
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0) -
src/test/java/jcifs/smb/HandlerTest.java
assertNotNull(conn); assertTrue(conn instanceof SmbFile, "Connection should be an instance of SmbFile"); SmbFile file = (SmbFile) conn; assertEquals(url, file.getURL(), "Returned SmbFile should wrap the given URL"); assertSame(mockCtx, file.getContext(), "SmbFile must use the provided CIFSContext"); verify(mockCtx, atLeastOnce()).getConfig(); // interaction with dependency } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.8K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbException.java
public Throwable getRootCause() { return this.getCause(); } /** * @param e * @return a CIFS exception wrapped in an SmbException */ static SmbException wrap(final CIFSException e) { if (e instanceof SmbException) { return (SmbException) e; } return new SmbException(e.getMessage(), e); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6.7K bytes - Click Count (0) -
internal/grid/types.go
}() enc := json.NewEncoder(buf) err = enc.Encode(j.val) if err != nil { return b, err } return msgp.AppendBytes(b, buf.Bytes()), nil } // UnmarshalMsg will JSON marshal the value and wrap as a msgp byte array. // Nil values are supported. func (j *JSON[T]) UnmarshalMsg(bytes []byte) ([]byte, error) { if bytes, err := msgp.ReadNilBytes(bytes); err == nil { if j.val != nil { j.p.pool.Put(j.val)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 15.5K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaTransport.java
private final Object connectionLock = new Object(); /** * Creates a new RDMA transport wrapping the given delegate transport. * * @param delegate the underlying SMB transport to wrap * @param context the CIFS context for configuration */ public RdmaTransport(SmbTransportInternal delegate, CIFSContext context) { this.delegate = delegate;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 05:11:12 GMT 2025 - 8.9K bytes - Click Count (0)