Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 73 for anyMap (0.04 sec)

  1. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

        }
    
        @Override
        public boolean hasNext() {
          /*
           * No sync. We can return true by mistake here
           * only if this iterator passed across threads,
           * which we don't support anyway.
           */
          return nextIndex >= 0;
        }
    
        /**
         * Checks whether nextIndex is valid; if so setting nextItem. Stops iterator when either hits
         * putIndex or sees null item.
         */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/OrderingTest.java

      public void testGreatestOfIterable_simple() {
        /*
         * If greatestOf() promised to be implemented as reverse().leastOf(), this
         * test would be enough. It doesn't... but we'll cheat and act like it does
         * anyway. There's a comment there to remind us to fix this if we change it.
         */
        List<Integer> list = asList(3, 1, 3, 2, 4, 2, 4, 3);
        assertEquals(asList(4, 4, 3, 3), numberOrdering.greatestOf(list, 4));
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Oct 10 23:13:45 UTC 2025
    - 42.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/OrderingTest.java

      public void testGreatestOfIterable_simple() {
        /*
         * If greatestOf() promised to be implemented as reverse().leastOf(), this
         * test would be enough. It doesn't... but we'll cheat and act like it does
         * anyway. There's a comment there to remind us to fix this if we change it.
         */
        List<Integer> list = asList(3, 1, 3, 2, 4, 2, 4, 3);
        assertEquals(asList(4, 4, 3, 3), numberOrdering.greatestOf(list, 4));
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Oct 10 23:13:45 UTC 2025
    - 42.8K bytes
    - Viewed (0)
  4. android/guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java

        private NonPublicConstantIgnored() {}
      }
    
      public static class NonStaticFieldIgnored {
        // This should cause infinite recursion. But it shouldn't be used anyway.
        public final NonStaticFieldIgnored instance = new NonStaticFieldIgnored();
    
        private NonStaticFieldIgnored() {}
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:45:32 UTC 2025
    - 22.2K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

          Class<?> cls;
          try {
            cls = classInfo.load();
          } catch (NoClassDefFoundError e) {
            // In case there were linking problems, this is probably not a class we care to test anyway.
            logger.log(Level.SEVERE, "Cannot load class " + classInfo + ", skipping...", e);
            continue;
          }
          if (!cls.isInterface()) {
            classes.add(cls);
          }
        }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/props/MavenProperties.java

                    continue;
                }
                out.append(ch);
            }
    
            if (hadSlash) {
                // then we're in the weird case of a \ at the end of the
                // string, let's output it anyway.
                out.append('\\');
            }
    
            return out.toString();
        }
    
        /**
         * <p>Escapes the characters in a <code>String</code> using Java String rules.</p>
         *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Oct 16 09:03:48 UTC 2025
    - 38.5K bytes
    - Viewed (0)
  7. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java

                    continue;
                }
                out.append(ch);
            }
    
            if (hadSlash) {
                // then we're in the weird case of a \ at the end of the
                // string, let's output it anyway.
                out.append('\\');
            }
    
            return out.toString();
        }
    
        /**
         * <p>Escapes the characters in a <code>String</code> using Java String rules.</p>
         *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 38.4K bytes
    - Viewed (0)
  8. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java

                // character,
                // so this is still fast. If more characters are needed then it requires a lexical sort anyway.
                return i == -1 ? (QUALIFIERS.size() + "-" + qualifier) : String.valueOf(i);
            }
    
            @Override
            public int compareTo(Item item) {
                if (item == null) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 26.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

                    } else {
                        // If delete fails, at least verify copy succeeded
                        log.warn("Could not delete source after copy, but continuing");
                        deleted = true; // Proceed anyway
                    }
                }
            }
    
            // Verify results with fresh context
            CIFSContext checkContext = createFreshContext();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/testing/NullPointerTester.java

       * empty arrays. Presumably {@link NullPointerTester} could likewise misbehave under j2objc, but I
       * don't know that anyone uses it there, anyway.
       */
      private enum NullnessAnnotationReader {
        FROM_DECLARATION_AND_TYPE_USE_ANNOTATIONS {
          @Override
          boolean isNullable(Invokable<?, ?> invokable) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 25.4K bytes
    - Viewed (0)
Back to top