Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 121 for wrapping (0.06 sec)

  1. src/main/java/jcifs/smb/SpnegoContext.java

        private ASN1ObjectIdentifier[] remoteMechs;
    
        private final boolean disableMic;
        private boolean requireMic;
    
        /**
         * Instance a <code>SpnegoContext</code> object by wrapping a {@link SSPContext}
         * with the same mechanism this {@link SSPContext} used.
         *
         * @param source
         *            the {@link SSPContext} to be wrapped
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/eventbus/SubscriberRegistry.java

          }
    
          // don't try to remove the set if it's empty; that can't be done safely without a lock
          // anyway, if the set is empty it'll just be wrapping an array of length 0
        }
      }
    
      @VisibleForTesting
      Set<Subscriber> getSubscribersForTesting(Class<?> eventType) {
        return MoreObjects.firstNonNull(subscribers.get(eventType), ImmutableSet.<Subscriber>of());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/SmbTreeTest.java

            // Create a tree and simulate concurrent connection attempt
            SmbTree tree = new SmbTree(session, "testShare", "testService");
    
            // Mock transport.connect() to throw RuntimeException wrapping InterruptedException
            doThrow(new RuntimeException(new InterruptedException("Interrupted"))).when(transport).connect();
    
            // Should throw exception due to interrupted wait
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  4. cmd/api-router.go

    			tracedHandler = httpTraceHdrs(f)
    		} else {
    			tracedHandler = httpTraceAll(f)
    		}
    
    		// Skip wrapping with the gzip middleware if specified.
    		gzippedHandler := tracedHandler
    		if !handlerFlags.has(noGZS3HFlag) {
    			gzippedHandler = gzipHandler(gzippedHandler)
    		}
    
    		// Skip wrapping with throttling middleware if specified.
    		throttledHandler := gzippedHandler
    		if !handlerFlags.has(noThrottleS3HFlag) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed May 07 15:37:12 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top