Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 100 for anyMap (0.15 sec)

  1. android/guava-tests/test/com/google/common/collect/AbstractIteratorTest.java

        }
      }
    
      // Technically we should test other reentrant scenarios (9 combinations of
      // hasNext/next/peek), but we'll cop out for now, knowing that peek() and
      // next() both start by invoking hasNext() anyway.
    
      /** Throws an undeclared checked exception. */
      private static void sneakyThrow(Throwable t) {
        class SneakyThrower<T extends Throwable> {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/reflect/Types.java

            if (method.getDeclaringClass().equals(TypeVariableImpl.class)) {
              try {
                method.setAccessible(true);
              } catch (AccessControlException e) {
                // OK: the method is accessible to us anyway. The setAccessible call is only for
                // unusual execution environments where that might not be true.
              }
              builder.put(method.getName(), method);
            }
          }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/ImmutableIntArray.java

       */
      // Use (first, rest) so that `of(someIntArray)` won't compile (they should use copyOf), which is
      // okay since we have to copy the just-created array anyway.
      public static ImmutableIntArray of(int first, int... rest) {
        checkArgument(
            rest.length <= Integer.MAX_VALUE - 1, "the total number of elements must fit in an int");
        int[] array = new int[rest.length + 1];
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 16:34:24 GMT 2023
    - 18.9K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/ResourcesTest.java

    import junit.framework.TestSuite;
    
    /**
     * Unit test for {@link Resources}.
     *
     * @author Chris Nokleberg
     */
    
    public class ResourcesTest extends IoTestCase {
    
      @AndroidIncompatible // wouldn't run anyway, but strip the source entirely because of b/230620681
      public static TestSuite suite() {
        TestSuite suite = new TestSuite();
        suite.addTest(
            ByteSourceTester.tests(
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/TimeoutFuture.java

          super(message);
        }
    
        @Override
        public synchronized Throwable fillInStackTrace() {
          setStackTrace(new StackTraceElement[0]);
          return this; // no stack trace, wouldn't be useful anyway
        }
      }
    
      @Override
      @CheckForNull
      protected String pendingToString() {
        ListenableFuture<? extends V> localInputFuture = delegateRef;
        ScheduledFuture<?> localTimer = timer;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/internal/aether/ReverseTreeRepositoryListener.java

                }
                trace = trace.getParent();
            }
    
            Path trackingDir;
            boolean missing = event.getFile() == null;
            if (missing) {
                // missing artifact - let's track the path anyway
                File dir = event.getSession().getLocalRepository().getBasedir();
                dir = new File(
                        dir, event.getSession().getLocalRepositoryManager().getPathForLocalArtifact(event.getArtifact()));
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Apr 12 11:08:37 GMT 2023
    - 9.8K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/AbstractIteratorTest.java

        }
      }
    
      // Technically we should test other reentrant scenarios (9 combinations of
      // hasNext/next/peek), but we'll cop out for now, knowing that peek() and
      // next() both start by invoking hasNext() anyway.
    
      /** Throws an undeclared checked exception. */
      private static void sneakyThrow(Throwable t) {
        class SneakyThrower<T extends Throwable> {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  8. maven-core/src/site/apt/configuration-management.apt

     properties file could be used the specify $ so it can be interpolated in
     <developerConnection/> but you couldn't use a properties file to specify the
     version of your project say. Anyway, food for thought to begin with.
    
     - elements that are critical for pom dissemination
     - those that are used locally by the user like <developerConnection/>
    
    * User configuration
    
    Plain Text
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 18 00:24:53 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  9. maven-core/src/test/java/org/apache/maven/internal/impl/TestApi.java

        @Inject
        SettingsBuilder settingsBuilder;
    
        @Inject
        ToolchainsBuilder toolchainsBuilder;
    
        @BeforeEach
        void setup() {
            // create session with any local repo, is redefined anyway below
            RepositorySystemSession rss = new MavenSessionBuilderSupplier(repositorySystem)
                    .get()
                    .withLocalRepositoryBaseDirectories(new File("target").toPath())
                    .build();
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 9.9K bytes
    - Viewed (2)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/Os.java

                        || actualOsName.contains("me")
                        // wince isn't really 9x, but crippled enough to
                        // be a muchness. Maven doesnt run on CE, anyway.
                        || actualOsName.contains("ce"));
                isNT = !is9x;
            }
            switch (family) {
                case FAMILY_WINDOWS:
                    return isWindows;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 7.3K bytes
    - Viewed (0)
Back to top