Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1361 - 1370 of 5,478 for newA (0.03 seconds)

  1. android/guava/src/com/google/common/collect/ImmutableBiMap.java

        return copyOf(Arrays.asList(entries2));
      }
    
      /**
       * Returns a new builder. The generated builder is equivalent to the builder created by the {@link
       * Builder} constructor.
       */
      public static <K, V> Builder<K, V> builder() {
        return new Builder<>();
      }
    
      /**
       * Returns a new builder, expecting the specified number of entries to be added.
       *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 22.2K bytes
    - Click Count (0)
  2. impl/maven-core/src/test/java/org/apache/maven/project/ResourceIncludeTest.java

     */
    class ResourceIncludeTest {
    
        private MavenProject project;
    
        @BeforeEach
        void setUp() {
            project = new MavenProject();
            // Set a dummy pom file to establish the base directory
            project.setFile(new java.io.File("./pom.xml"));
    
            // Set build output directories
            project.getBuild().setOutputDirectory("target/classes");
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Nov 07 13:11:07 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

      @Override
      Set<K> createKeySet() {
        return new KeySet(map);
      }
    
      final Set<K> createMaybeNavigableKeySet() {
        if (map instanceof NavigableMap) {
          return new NavigableKeySet((NavigableMap<K, Collection<V>>) map);
        } else if (map instanceof SortedMap) {
          return new SortedKeySet((SortedMap<K, Collection<V>>) map);
        } else {
          return new KeySet(map);
        }
      }
    
      @WeakOuter
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Nov 17 22:50:48 GMT 2025
    - 48.4K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/CollectPreconditions.java

        if (key == null) {
          throw new NullPointerException("null key in entry: null=" + value);
        } else if (value == null) {
          throw new NullPointerException("null value in entry: " + key + "=null");
        }
      }
    
      @CanIgnoreReturnValue
      static int checkNonnegative(int value, String name) {
        if (value < 0) {
          throw new IllegalArgumentException(name + " cannot be negative but was: " + value);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Nov 10 21:56:42 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/FessBoot.java

            }
    
            final TomcatBoot tomcatBoot = new FessBoot(getPort(), getContextPath()) //
                    .useTldDetect(); // for JSP
            final String varPath = System.getProperty(FESS_VAR_PATH);
            if (varPath != null) {
                tomcatBoot.atBaseDir(new File(varPath, "webapp").getAbsolutePath());
            } else if (tempPath != null) {
                tomcatBoot.atBaseDir(new File(tempPath, "webapp").getAbsolutePath());
            }
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 11.3K bytes
    - Click Count (0)
  6. src/test/java/jcifs/NameServiceClientTest.java

            // Arrange
            NetbiosAddress inputAddress = mock(NetbiosAddress.class);
            when(nameServiceClient.getNbtAllByAddress(inputAddress)).thenThrow(new UnknownHostException("Host not found"));
    
            // Act & Assert
            assertThrows(UnknownHostException.class, () -> nameServiceClient.getNbtAllByAddress(inputAddress));
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.4K bytes
    - Click Count (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/props/MavenProperties.java

            storage.putAll(m);
        }
    
        public String put(String key, List<String> commentLines, List<String> valueLines) {
            commentLines = new ArrayList<>(commentLines);
            valueLines = new ArrayList<>(valueLines);
            String escapedKey = escapeKey(key);
            StringBuilder sb = new StringBuilder();
            // int lastLine = valueLines.size() - 1;
            if (valueLines.isEmpty()) {
                valueLines.add(escapedKey + "=");
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Oct 16 09:03:48 GMT 2025
    - 38.5K bytes
    - Click Count (0)
  8. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java

            storage.putAll(m);
        }
    
        public String put(String key, List<String> commentLines, List<String> valueLines) {
            commentLines = new ArrayList<>(commentLines);
            valueLines = new ArrayList<>(valueLines);
            String escapedKey = escapeKey(key);
            StringBuilder sb = new StringBuilder();
            // int lastLine = valueLines.size() - 1;
            if (valueLines.isEmpty()) {
                valueLines.add(escapedKey + "=");
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 38.4K bytes
    - Click Count (0)
  9. guava-tests/benchmark/com/google/common/base/StringsRepeatBenchmark.java

            throw new RuntimeException("Wrong length: " + x);
          }
        }
      }
    
      private static String oldRepeat(String string, int count) {
        // If this multiplication overflows, a NegativeArraySizeException or
        // OutOfMemoryError is not far behind
        int len = string.length();
        int size = len * count;
        char[] array = new char[size];
        for (int i = 0; i < size; i += len) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  10. samples/slack/src/main/java/okhttp3/slack/OAuthSessionFactory.java

        if (mockWebServer != null) throw new IllegalStateException();
    
        mockWebServer = new MockWebServer();
        mockWebServer.setDispatcher(this);
        mockWebServer.start(slackApi.port);
      }
    
      public HttpUrl newAuthorizeUrl(String scopes, String team, Listener listener) {
        if (mockWebServer == null) throw new IllegalStateException();
    
        ByteString state = randomToken();
        synchronized (this) {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Aug 12 07:26:27 GMT 2021
    - 3.8K bytes
    - Click Count (1)
Back to Top