Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1591 - 1600 of 6,020 for new1 (0.05 seconds)

  1. compat/maven-compat/src/test/java/org/apache/maven/toolchain/DefaultToolchainManagerTest.java

            Map<String, ToolchainFactory> factories = new HashMap<>();
            factories.put("basic", toolchainFactoryBasicType);
            factories.put("rare", toolchainFactoryRareType);
    
            when(lookup.lookupMap(ToolchainFactory.class)).thenReturn(factories);
            when(lookup.lookupMap(org.apache.maven.toolchain.ToolchainFactory.class))
                    .thenReturn(Map.of());
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 11K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/Collections2.java

        final List<E> list;
        final int[] c;
        final int[] o;
        int j;
    
        PermutationIterator(List<E> list) {
          this.list = new ArrayList<>(list);
          int n = list.size();
          c = new int[n];
          o = new int[n];
          Arrays.fill(c, 0);
          Arrays.fill(o, 1);
          j = Integer.MAX_VALUE;
        }
    
        @Override
        protected @Nullable List<E> computeNext() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 22.6K bytes
    - Click Count (0)
  3. guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java

      public SafeTreeMap() {
        this(new TreeMap<K, V>());
      }
    
      public SafeTreeMap(Comparator<? super K> comparator) {
        this(new TreeMap<K, V>(comparator));
      }
    
      public SafeTreeMap(Map<? extends K, ? extends V> map) {
        this(new TreeMap<K, V>(map));
      }
    
      public SafeTreeMap(SortedMap<K, ? extends V> map) {
        this(new TreeMap<K, V>(map));
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 7.4K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/ArrayListMultimap.java

     * given key agrees with the order in which the values were added.
     *
     * <p>This multimap allows duplicate key-value pairs. After adding a new key-value pair equal to an
     * existing key-value pair, the {@code ArrayListMultimap} will contain entries for both the new
     * value and the old value.
     *
     * <p>Keys and values may be null. All optional multimap methods are supported, and all returned
     * views are modifiable.
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 05 23:15:58 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  5. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/ValidateJsonNoKeywordsTask.java

                        final Set<String> languages = languagesByKeyword.computeIfAbsent(eachKeyword, _keyword -> new HashSet<>());
                        languages.add(eachLanguage);
                    });
                });
            } catch (IOException e) {
                throw new GradleException("Failed to load keywords JSON from " + jsonKeywords.getName() + " - " + e.getMessage(), e);
            }
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 7.6K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/hash/Striped64.java

      /** Generator of new random hash codes */
      static final Random rng = new Random();
    
      /** Number of CPUS, to place bound on table size */
      static final int NCPU = Runtime.getRuntime().availableProcessors();
    
      /** Table of cells. When non-null, size is a power of 2. */
      transient volatile Cell @Nullable [] cells;
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jan 15 22:17:15 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

            DefaultRepositoryLayout layout = new DefaultRepositoryLayout();
            ArtifactRepositoryPolicy blah = new ArtifactRepositoryPolicy(
                    true, ArtifactRepositoryPolicy.UPDATE_POLICY_ALWAYS, ArtifactRepositoryPolicy.CHECKSUM_POLICY_IGNORE);
            return new MavenArtifactRepository(
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Oct 28 13:01:07 GMT 2025
    - 43.2K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/app/web/base/login/OpenIdConnectCredential.java

    /**
     * OpenID Connect credential implementation.
     */
    public class OpenIdConnectCredential implements LoginCredential, FessCredential {
    
        private final Map<String, Object> attributes;
    
        /**
         * Creates a new OpenID Connect credential.
         *
         * @param attributes the attributes from OpenID Connect provider
         */
        public OpenIdConnectCredential(final Map<String, Object> attributes) {
            this.attributes = attributes;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  9. guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfPresentTester.java

                    k3(),
                    (k, v) -> {
                      throw new AssertionFailedError();
                    }));
        expectUnchanged();
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testComputeIfPresent_supportedPresent() {
        assertEquals(
            "computeIfPresent(present, function) should return new value",
            v3(),
            getMap()
                .computeIfPresent(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 6.1K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb/SmbNamedPipeTest.java

                        assertThrows(MalformedURLException.class, () -> new SmbNamedPipe(url, SmbPipeResource.PIPE_TYPE_RDWR, ctx()));
                assertEquals("Named pipes are only valid on IPC$", ex.getMessage());
            }
    
            @Test
            @DisplayName("Null context throws NPE (invalid input)")
            void nullContextThrows() {
                assertThrows(NullPointerException.class, () -> new SmbNamedPipe("smb://server/IPC$/foo", 0, null));
            }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.2K bytes
    - Click Count (0)
Back to Top