Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 271 - 280 of 332 for setValue (0.06 seconds)

  1. android/guava-tests/test/com/google/common/math/BigDecimalMathTest.java

          for (Map.Entry<RoundingMode, Double> entry : expectedValues.entrySet()) {
            RoundingMode mode = entry.getKey();
            Double expectation = entry.getValue();
            assertWithMessage("roundToDouble(%s, %s)", input, mode)
                .that(BigDecimalMath.roundToDouble(input, mode))
                .isEqualTo(expectation);
          }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Nov 19 01:35:24 GMT 2025
    - 11K bytes
    - Click Count (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/MapPutAllTester.java

      }
    
      private void putAll(Iterable<Entry<K, V>> entries) {
        Map<K, V> map = new LinkedHashMap<>();
        for (Entry<K, V> entry : entries) {
          map.put(entry.getKey(), entry.getValue());
        }
        getMap().putAll(map);
      }
    
      /**
       * Returns the {@link Method} instance for {@link #testPutAll_nullKeyUnsupported()} so that tests
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/hash/MacHashFunctionTest.java

          for (Table.Cell<String, SecretKey, HashFunction> cell : ALGORITHMS.cellSet()) {
            String algorithm = cell.getRowKey();
            SecretKey key = cell.getColumnKey();
            HashFunction hashFunc = cell.getValue();
            assertMacHashing(HashTestUtils.ascii(stringToTest), algorithm, key, hashFunc);
          }
        }
      }
    
      @AndroidIncompatible // sun.security
      public void testNoProviders() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Dec 27 16:19:35 GMT 2024
    - 13.8K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/cache/AbstractCache.java

      }
    
      /**
       * @since 12.0
       */
      @Override
      public void putAll(Map<? extends K, ? extends V> m) {
        for (Entry<? extends K, ? extends V> entry : m.entrySet()) {
          put(entry.getKey(), entry.getValue());
        }
      }
    
      @Override
      public void cleanUp() {}
    
      @Override
      public long size() {
        throw new UnsupportedOperationException();
      }
    
      @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleMappingDelegate.java

            for (Map.Entry<String, Map<PhaseId, List<MojoExecution>>> entry : mappings.entrySet()) {
                List<MojoExecution> mojoExecutions = new ArrayList<>();
    
                for (List<MojoExecution> executions : entry.getValue().values()) {
                    mojoExecutions.addAll(executions);
                }
    
                lifecycleMappings.put(entry.getKey(), mojoExecutions);
            }
    
            return lifecycleMappings;
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Dec 13 23:04:37 GMT 2024
    - 8.5K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoDescriptorCreator.java

            List<XmlNode> children = new ArrayList<>();
            PlexusConfiguration[] ces = c.getChildren();
            if (ces != null) {
                for (PlexusConfiguration ce : ces) {
                    String value = ce.getValue(null);
                    String defaultValue = ce.getAttribute("default-value", null);
                    if (value != null || defaultValue != null) {
                        XmlNode e = XmlNode.newInstance(
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Mar 25 09:45:07 GMT 2025
    - 11.3K bytes
    - Click Count (0)
  7. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt

                .forEach { (projectPath: String, projectExtension: TestFilesCleanupProjectState) ->
                    try {
                        projectExtension.verifyTestFilesCleanup(projectPath, projectPathToLeftoverFiles.getValue(projectPath))
                    } catch (e: Exception) {
                        exceptions.add(e)
                    }
                }
            when {
                exceptions.size == 1 -> throw exceptions.first()
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Nov 05 11:43:49 GMT 2025
    - 12.5K bytes
    - Click Count (1)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutTester.java

          Collection<V> collection = null;
          while (asMapItr.hasNext()) {
            Entry<K, Collection<V>> asMapEntry = asMapItr.next();
            if (key.equals(asMapEntry.getKey())) {
              collection = asMapEntry.getValue();
              break;
            }
          }
          assertNotNull(collection);
          Collection<V> expectedCollection = copyToList(collection);
    
          multimap().put(key, v3());
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 20:54:16 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/DefaultProfileActivationContext.java

                this.projectProperties = projectProperties.entrySet().stream()
                        .collect(collectingAndThen(
                                toMap(e -> String.valueOf(e.getKey()), e -> String.valueOf(e.getValue())),
                                Collections::unmodifiableMap));
            } else {
                this.projectProperties = Collections.emptyMap();
            }
    
            return this;
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnsh/ShellInvoker.java

                    context.lookup.lookupMap(ShellCommandRegistryFactory.class);
            for (Map.Entry<String, ShellCommandRegistryFactory> entry : factories.entrySet()) {
                holder.addCommandRegistry(entry.getValue().createShellCommandRegistry(context));
            }
    
            DefaultParser parser = new DefaultParser();
            parser.setRegexCommand("[:]{0,1}[a-zA-Z!]{1,}\\S*"); // change default regex to support shell commands
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 10.1K bytes
    - Click Count (0)
Back to Top