Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1361 - 1370 of 1,497 for match1 (0.14 seconds)

  1. android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

          fail();
        } catch (IllegalStateException expected3) {
        }
        try {
          closingFuture.catchingAsync(
              Exception.class, (closer, x) -> ClosingFuture.from(immediateFuture("value3")), executor);
          fail();
        } catch (IllegalStateException expected2) {
        }
        try {
          ClosingFuture.whenAllComplete(asList(closingFuture));
          fail();
        } catch (IllegalStateException expected1) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 63K bytes
    - Click Count (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/Helpers.java

        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getMethod(Class<?> clazz, String name) {
        try {
          return clazz.getMethod(name);
        } catch (Exception e) {
          throw new IllegalArgumentException(e);
        }
      }
    
      /**
       * Useless constructor for a class of static utility methods.
       *
       * @deprecated Do not instantiate this utility class.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 17.2K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/primitives/BytesTest.java

        // it's shared to avoid using too much memory in tests
        byte[] sharedArray = new byte[arraysDim2];
        Arrays.fill(arrays, sharedArray);
    
        try {
          Bytes.concat(arrays);
          fail();
        } catch (IllegalArgumentException expected) {
        }
      }
    
      public void testEnsureCapacity() {
        assertThat(Bytes.ensureCapacity(EMPTY, 0, 1)).isSameInstanceAs(EMPTY);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 17.5K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java

        addEdge(N1, N2, E12);
        Set<String> adjacentEdges = network.adjacentEdges(E12);
        try {
          adjacentEdges.add(E23);
          fail(ERROR_MODIFIABLE_COLLECTION);
        } catch (UnsupportedOperationException e) {
          addEdge(N2, N3, E23);
          assertThat(network.adjacentEdges(E12)).containsExactlyElementsIn(adjacentEdges);
        }
      }
    
      @Override
      @Test
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 30 17:09:51 GMT 2025
    - 21.3K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/auth/AuthenticationManagerTest.java

            User user = createTestUser("testuser");
            try {
                authenticationManager.insert(user);
                fail("Should throw NullPointerException when processing null chain");
            } catch (NullPointerException e) {
                // Expected behavior when null chain is processed
                assertTrue(true);
            }
        }
    
        // Test chains order preservation
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 14.3K bytes
    - Click Count (0)
  6. docs/features/https.md

              SSLContext sslContext = SSLContext.getInstance("TLS");
              sslContext.init(null, new TrustManager[] { trustManager }, null);
              sslSocketFactory = sslContext.getSocketFactory();
            } catch (GeneralSecurityException e) {
              throw new RuntimeException(e);
            }
    
            client = new OkHttpClient.Builder()
                .sslSocketFactory(sslSocketFactory, trustManager)
                .build();
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:01:42 GMT 2026
    - 10.5K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/cache/CacheLoader.java

          extends UnsupportedOperationException {
        // Package-private because this should only be thrown by loadAll() when it is not overridden.
        // Cache implementors may want to catch it but should not need to be able to throw it.
        UnsupportedLoadingOperationException() {}
      }
    
      /**
       * Thrown to indicate that an invalid response was returned from a call to {@link CacheLoader}.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jan 28 22:39:02 GMT 2026
    - 9.7K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/base/Stopwatch.java

       * library desugaring</a>.
       *
       * @since 33.4.0 (but since 22.0 in the JRE flavor)
       */
      // If users use this when they shouldn't, we hope that NewApi will catch subsequent Duration calls
      @IgnoreJRERequirement
      @J2ktIncompatible
      @GwtIncompatible
      @J2ObjCIncompatible
      public Duration elapsed() {
        return Duration.ofNanos(elapsedNanos());
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Oct 08 18:55:33 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  9. internal/event/target/amqp.go

    	}
    
    	ch, confirms, err := target.channel()
    	if err != nil {
    		return err
    	}
    	defer ch.Close()
    
    	eventData, eErr := target.store.Get(key)
    	if eErr != nil {
    		// The last event key in a successful batch will be sent in the channel atmost once by the replayEvents()
    		// Such events will not exist and wouldve been already been sent successfully.
    		if os.IsNotExist(eErr) {
    			return nil
    		}
    		return eErr
    	}
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Aug 21 04:25:07 GMT 2025
    - 10K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/base/SplitterTest.java

        assertSplitterIterableIsLazy(Splitter.on(","));
      }
    
      @J2ktIncompatible
      @GwtIncompatible // java.util.regex.Pattern
      @AndroidIncompatible // not clear that j.u.r.Matcher promises to handle mutations during use
      public void testSplitterIterableIsLazy_pattern() {
        if (!CommonPattern.isPcreLike()) {
          return;
        }
        assertSplitterIterableIsLazy(Splitter.onPattern(","));
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 29.7K bytes
    - Click Count (0)
Back to Top