Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2191 - 2200 of 2,948 for throwIf (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/main/java/jcifs/internal/smb2/rdma/disni/DisniMemoryRegion.java

            // try {
            //     int accessFlags = convertAccessFlags(access);
            //     memoryRegister = endpoint.registerMemory(buffer, accessFlags).execute().free();
            // } catch (Exception e) {
            //     throw new RuntimeException("Failed to register memory region", e);
            // }
    
            this.memoryRegister = new Object(); // Placeholder
    
            log.debug("DiSNI memory region registered, size: {}", buffer.remaining());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 05:11:12 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

       * <ol>
       *   <li>All its mutation methods result in UnsupportedOperationException, and do not change the
       *       underlying contents.
       *   <li>All methods that return objects that can indirectly mutate the collection throw
       *       UnsupportedOperationException when those mutators are called.
       * </ol>
       *
       * @param collection the presumed-immutable collection
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Aug 10 19:54:19 GMT 2025
    - 14.9K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/AbstractListeningExecutorServiceTest.java

     *
     * @author Colin Decker
     */
    @NullUnmarked
    @GwtIncompatible
    @J2ktIncompatible
    public class AbstractListeningExecutorServiceTest extends TestCase {
    
      public void testSubmit() throws Exception {
        /*
         * Mostly just tests that TrustedListenableFutureTask are created and run; tests for
         * TrustedListenableFutureTask should ensure that listeners are called correctly.
         */
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 3.4K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/util/concurrent/AbstractListeningExecutorServiceTest.java

     *
     * @author Colin Decker
     */
    @NullUnmarked
    @GwtIncompatible
    @J2ktIncompatible
    public class AbstractListeningExecutorServiceTest extends TestCase {
    
      public void testSubmit() throws Exception {
        /*
         * Mostly just tests that TrustedListenableFutureTask are created and run; tests for
         * TrustedListenableFutureTask should ensure that listeners are called correctly.
         */
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 3.4K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb1/smb1/DosFileFilter.java

         * support filtering by all attributes (e.g. even though ATTR_DIRECTORY was
         * specified the server may still return objects that are not directories).
         */
        @Override
        public boolean accept(final SmbFile file) throws SmbException {
            return (file.getAttributes() & attributes) != 0;
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyCoordinatesFactory.java

         * Creates a new {@link DependencyCoordinates} object from the request.
         *
         * @param request the request containing the various data
         * @return a new {@link DependencyCoordinates} object
         *
         * @throws IllegalArgumentException if {@code request} is null or
         *         if {@code request.getSession()} is null or invalid
         */
        @Nonnull
        DependencyCoordinates create(@Nonnull DependencyCoordinatesFactoryRequest request);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Aug 27 21:13:34 GMT 2024
    - 3.4K bytes
    - Click Count (0)
  7. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/Slf4jMavenTransferListener.java

            message.append(resource.getRepositoryUrl()).append(resource.getResourceName());
    
            out.info(message.toString());
        }
    
        @Override
        public void transferCorrupted(TransferEvent event) throws TransferCancelledException {
            TransferResource resource = event.getResource();
            out.warn(
                    "{} from {} for {}{}",
                    event.getException().getMessage(),
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Nov 08 08:49:11 GMT 2024
    - 3.8K bytes
    - Click Count (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/ClingSupport.java

        public int run(
                String[] args,
                @Nullable InputStream stdIn,
                @Nullable OutputStream stdOut,
                @Nullable OutputStream stdErr,
                boolean embedded)
                throws IOException {
            try (Invoker invoker = createInvoker()) {
                return invoker.invoke(createParser()
                        .parseInvocation(createParserRequestBuilder(args)
                                .stdIn(stdIn)
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Feb 08 16:25:25 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/filter/CorsFilter.java

         */
        protected static final String OPTIONS = "OPTIONS";
    
        @Override
        public void doFilter(final ServletRequest request, final ServletResponse response, final FilterChain chain)
                throws IOException, ServletException {
            final HttpServletRequest httpRequest = (HttpServletRequest) request;
            final String origin = httpRequest.getHeader("Origin");
            if (StringUtil.isNotBlank(origin)) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/eventbus/AsyncEventBusTest.java

      private static final String EVENT = "Hello";
    
      /** The executor we use to fake asynchronicity. */
      private FakeExecutor executor;
    
      private AsyncEventBus bus;
    
      @Override
      protected void setUp() throws Exception {
        super.setUp();
        executor = new FakeExecutor();
        bus = new AsyncEventBus(executor);
      }
    
      public void testBasicDistribution() {
        StringCatcher catcher = new StringCatcher();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 2.4K bytes
    - Click Count (0)
Back to Top