Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1371 - 1380 of 2,768 for Add (0.01 seconds)

  1. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java

                        }
    
                        // don't add if they are equal and one is not inclusive
                        if (lower == null || upper == null || lower.compareTo(upper) != 0) {
                            restrictions.add(new Restriction(lower, lowerInclusive, upper, upperInclusive));
                        } else if (lowerInclusive && upperInclusive) {
                            restrictions.add(new Restriction(lower, lowerInclusive, upper, upperInclusive));
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 19K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/crawler/FessCrawlerThread.java

                    dataMap.put(fessConfig.getIndexFieldUrl(), url);
                    final List<String> roleTypeList = new ArrayList<>();
                    stream(crawlingConfig.getPermissions()).of(stream -> stream.forEach(p -> roleTypeList.add(p)));
                    if (ComponentUtil.getProtocolHelper().isFilePathProtocol(url)) {
                        if (url.endsWith("/")) {
                            // directory
                            return true;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Dec 11 09:47:03 GMT 2025
    - 19.5K bytes
    - Click Count (0)
  3. src/archive/zip/writer.go

    // The name must be a relative path: it must not start with a drive
    // letter (e.g. C:) or leading slash, and only forward slashes are
    // allowed. To create a directory instead of a file, add a trailing
    // slash to the name. Duplicate names will not overwrite previous entries
    // and are appended to the zip file.
    // The file's contents must be written to the [io.Writer] before the next
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Jan 28 04:20:09 GMT 2025
    - 19.4K bytes
    - Click Count (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt

      }
    
      @Test
      fun headersBuilder() {
        var builder: Headers.Builder = Headers.Builder()
        builder = builder.add("")
        builder = builder.add("", "")
        builder = builder.addUnsafeNonAscii("", "")
        builder = builder.addAll(headersOf())
        builder = builder.add("", Date(0L))
        builder = builder.add("", Instant.EPOCH)
        builder = builder.set("", "")
        builder = builder.set("", Date(0L))
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Mar 10 21:47:20 GMT 2026
    - 49.7K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/helper/LanguageHelperTest.java

            }
        }
    
        @Test
        public void test_updateDocument_emptyDoc() {
            Map<String, Object> doc = new HashMap<>();
    
            languageHelper.updateDocument(doc);
    
            // Should not add any language fields
            assertNull(doc.get("lang"));
            assertEquals(0, doc.size());
        }
    
        @Test
        public void test_updateDocument_skipExistingLangFields() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 13K bytes
    - Click Count (0)
  6. src/test/java/jcifs/FileNotifyInformationTest.java

            @DisplayName("Test toggling filter flag")
            void testTogglingFilterFlag() {
                int flags = FileNotifyInformation.FILE_NOTIFY_CHANGE_FILE_NAME;
    
                // Toggle FILE_NOTIFY_CHANGE_SIZE flag (add it)
                flags ^= FileNotifyInformation.FILE_NOTIFY_CHANGE_SIZE;
                assertTrue((flags & FileNotifyInformation.FILE_NOTIFY_CHANGE_SIZE) != 0);
    
                // Toggle FILE_NOTIFY_CHANGE_SIZE flag again (remove it)
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.1K bytes
    - Click Count (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/CookieTest.kt

          .isTrue()
      }
    
      @Test fun parseAll() {
        val headers =
          Headers
            .Builder()
            .add("Set-Cookie: a=b")
            .add("Set-Cookie: c=d")
            .build()
        val cookies = parseAll(url, headers)
        assertThat(cookies.size).isEqualTo(2)
        assertThat(cookies[0].toString()).isEqualTo("a=b; path=/")
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Nov 01 12:18:11 GMT 2025
    - 24.4K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/Sets.java

       * is what most users want and expect it to do.
       *
       * <p>This behavior can't be broadly guaranteed, but has been tested with OpenJDK 1.7 and 1.8.
       *
       * @param expectedSize the number of elements you expect to add to the returned set
       * @return a new, empty hash set with enough capacity to hold {@code expectedSize} elements
       *     without resizing
       * @throws IllegalArgumentException if {@code expectedSize} is negative
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 83K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/suggest/index/SuggestIndexerTest.java

                    new ElevateWord("test2", 3.0f, Collections.singletonList("test2"), Collections.singletonList("content"), null, null);
    
            suggester.settings().elevateWord().add(elevateWord1);
            suggester.settings().elevateWord().add(elevateWord2);
    
            SuggestIndexResponse response = suggester.indexer().restoreElevateWord();
    
            assertNotNull(response);
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 14 02:35:38 GMT 2026
    - 28.6K bytes
    - Click Count (0)
  10. cmd/bucket-stats.go

    	}
    	return ret
    }
    
    // Update replication upload latency with a new value
    func (rl *ReplicationLatency) update(size int64, duration time.Duration) {
    	rl.UploadHistogram.Add(size, duration)
    }
    
    // ReplicationLastMinute has last minute replication counters
    type ReplicationLastMinute struct {
    	LastMinute lastMinuteLatency
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 13.5K bytes
    - Click Count (0)
Back to Top