- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 322 for wrapping (0.09 sec)
-
misc/cgo/gmp/gmp.go
// Copyright 2009 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. /* An example of wrapping a C library in Go. This is the GNU multiprecision library gmp's integer type mpz_t wrapped to look like the Go package big's integer type Int. This is a syntactically valid Go program—it can be parsed with the Go
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Apr 11 16:34:30 UTC 2022 - 9.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbEnumerationUtilTest.java
assertNull(unwrapped); } @Test void unwrapDOSFilter_returnsNull_whenWrapperButNotDosFilter() throws Exception { // Wrapper but not wrapping a DosFileFilter SmbFileFilter nonDosFilter = mock(SmbFileFilter.class); Object wrapper = newPrivateInner("ResourceFilterWrapper", new Class<?>[] { SmbFileFilter.class }, nonDosFilter);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.1K bytes - Viewed (0) -
README.md
- **Assertion-based validation** - All methods validate inputs using `AssertionUtil.assertArgumentNotNull()` and `AssertionUtil.assertArgumentNotEmpty()` - **Exception wrapping** - Checked exceptions are consistently wrapped in runtime exceptions (e.g., `ClassNotFoundException` → `ClassNotFoundRuntimeException`)
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sun Aug 31 02:56:02 UTC 2025 - 12.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/CharStreamsTest.java
// nothing really to assert? assertSame(CharStreams.nullWriter(), CharStreams.nullWriter()); } /** * Returns a reader wrapping the given reader that only reads half of the maximum number of * characters that it could read in read(char[], int, int). */ private static Reader newNonBufferFillingReader(Reader reader) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 11.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/CharStreamsTest.java
// nothing really to assert? assertSame(CharStreams.nullWriter(), CharStreams.nullWriter()); } /** * Returns a reader wrapping the given reader that only reads half of the maximum number of * characters that it could read in read(char[], int, int). */ private static Reader newNonBufferFillingReader(Reader reader) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 11.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileInputStream.java
} return this.handle.acquire(); } /** * Converts an SmbException to an IOException * * @param se the SmbException to convert * @return an IOException wrapping the SmbException */ protected static IOException seToIoe(final SmbException se) { IOException ioe = se; Throwable root = se.getCause(); if (root instanceof TransportException) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.6K bytes - Viewed (0) -
src/bufio/scan_test.go
} } if s.Err() != nil { t.Fatal("after scan:", s.Err()) } } // negativeEOFReader returns an invalid -1 at the end, as though it // were wrapping the read system call. type negativeEOFReader int func (r *negativeEOFReader) Read(p []byte) (int, error) { if *r > 0 { c := int(*r) if c > len(p) { c = len(p) } for i := 0; i < c; i++ {
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Fri Sep 22 16:22:42 UTC 2023 - 14.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/UniAddress.java
} throw uhe != null ? uhe : new UnknownHostException("invalid name"); } */ Object addr; String calledName; /** * Create a <code>UniAddress</code> by wrapping an {@code InetAddress} or * <code>NbtAddress</code>. * * @param addr the address to wrap */ public UniAddress(final Object addr) { if (addr == null) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 17K bytes - Viewed (0) -
misc/go_android_exec/main.go
// However, if the os.Stderr (or os.Stdout) file descriptors are // passed on, the hanging adb subprocess will hold them open and // go test will hang forever. // // Avoid that by wrapping stderr, breaking the short circuit and // forcing cmd.Run to use another pipe and goroutine to pass // along stderr from adb. cmd.Stderr = struct{ io.Writer }{os.Stderr} err := cmd.Run()
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Aug 21 17:46:57 UTC 2023 - 15.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java
when(pipe.ensureTreeConnected()).thenReturn(tree); when(tree.acquire()).thenReturn(tree); // Use doThrow for unchecked exception wrapping the CIFSException doThrow(new RuntimeException(new CIFSException("session fail"))).when(tree).getSession(); Exception ex = assertThrows(Exception.class, handle::getSessionKey); assertTrue(
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 16.7K bytes - Viewed (0)