Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 290 of 415 for rechace (0.04 sec)

  1. src/test/java/org/codelibs/fess/it/search/SearchApiTests.java

        @Test
        public void searchTestWithOrOperation() throws Exception {
            String query = "java OR public";
    
            Map<String, String> andParams = new HashMap<>();
            andParams.put("q", query.replace("OR", "AND"));
            String andResponse = checkMethodBase(new HashMap<>()).params(andParams).get("/api/v1/documents").asString();
            int andRecordCount = JsonPath.from(andResponse).getInt("record_count");
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/Suppliers.java

          long nanos = expirationNanos;
          long now = System.nanoTime();
          if (nanos == 0 || now - nanos >= 0) {
            synchronized (lock) {
              if (nanos == expirationNanos) { // recheck for lost race
                T t = delegate.get();
                value = t;
                nanos = now + durationNanos;
                // In the very unlikely event that nanos is 0, set it to 1;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  3. cmd/data-usage_test.go

    	want, err := scanDataFolder(t.Context(), nil, &xls, dataUsageCache{Info: dataUsageCacheInfo{Name: bucket}}, getSize, 0, weSleep)
    	if err != nil {
    		t.Fatal(err)
    	}
    	e := want.find("abucket/dir2")
    	want.replace("abucket/dir2", "", *e)
    	var buf bytes.Buffer
    	err = want.serializeTo(&buf)
    	if err != nil {
    		t.Fatal(err)
    	}
    	t.Log("serialized size:", buf.Len(), "bytes")
    	var got dataUsageCache
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  4. cmd/xl-storage-format-v2_test.go

    	}
    	if xl2.data.entries() != 1 {
    		t.Fatal("want 1 entry, got", xl2.data.entries())
    	}
    	// Re-add
    	xl2.data.replace(fi.VersionID, fi.Data)
    	failOnErr(xl2.data.validate())
    	if xl2.data.entries() != 2 {
    		t.Fatal("want 2 entries, got", xl2.data.entries())
    	}
    
    	// Replace entry
    	xl2.data.replace("756100c6-b393-4981-928a-d49bbc164741", data2)
    	failOnErr(xl2.data.validate())
    	if xl2.data.entries() != 2 {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 37.8K bytes
    - Viewed (0)
  5. cmd/utils.go

    	if errors.Is(err, io.EOF) {
    		err = &xml.SyntaxError{
    			Line: 0,
    			Msg:  err.Error(),
    		}
    	}
    	return err
    }
    
    // validateLengthAndChecksum returns if a content checksum is set,
    // and will replace r.Body with a reader that checks the provided checksum
    func validateLengthAndChecksum(r *http.Request) bool {
    	if mdFive := r.Header.Get(xhttp.ContentMD5); mdFive != "" {
    		want, err := base64.StdEncoding.DecodeString(mdFive)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 33K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/scheduler/AdminSchedulerAction.java

                        ids[2] = "\"" + id + "\"";
                    }
                    scheduledJobForm.scriptData =
                            MessageFormat.format(fessConfig.getJobTemplateScript(), ids[0], ids[1], ids[2], id.replace('-', '_'));
                });
            });
        }
    
        /**
         * Displays the form for creating a new scheduled job.
         *
         * @return HTML response for the job creation form
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 22.2K bytes
    - Viewed (0)
  7. src/bytes/bytes.go

    		s = s[l:]
    	}
    	return t
    }
    
    // Replace returns a copy of the slice s with the first n
    // non-overlapping instances of old replaced by new.
    // If old is empty, it matches at the beginning of the slice
    // and after each UTF-8 sequence, yielding up to k+1 replacements
    // for a k-rune slice.
    // If n < 0, there is no limit on the number of replacements.
    func Replace(s, old, new []byte, n int) []byte {
    	m := 0
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Sep 03 14:04:47 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  8. api/go1.12.txt

    pkg runtime/debug, type BuildInfo struct, Path string
    pkg runtime/debug, type Module struct
    pkg runtime/debug, type Module struct, Path string
    pkg runtime/debug, type Module struct, Replace *Module
    pkg runtime/debug, type Module struct, Sum string
    pkg runtime/debug, type Module struct, Version string
    pkg strings, func ReplaceAll(string, string, string) string
    pkg strings, method (*Builder) Cap() int
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Jan 02 21:21:53 UTC 2019
    - 13.5K bytes
    - Viewed (0)
  9. cmd/erasure-metadata_test.go

    func TestAddObjectPart(t *testing.T) {
    	testCases := []struct {
    		partNum       int
    		expectedIndex int
    	}{
    		{1, 0},
    		{2, 1},
    		{4, 2},
    		{5, 3},
    		{7, 4},
    		// Insert part.
    		{3, 2},
    		// Replace existing part.
    		{4, 3},
    		// Missing part.
    		{6, -1},
    	}
    
    	// Setup.
    	fi := newFileInfo("test-object", 8, 8)
    	fi.Erasure.Index = 1
    	if !fi.IsValid() {
    		t.Fatalf("unable to get xl meta")
    	}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  10. ci/official/utilities/code_check_full.bats

        echo "Look at the instructions for ':api_compatibility_test -- --update_goldens=True'"
    }
    
    # See b/279852433 (internal).
    # TODO(b/279852433) Replace deps(//tensorflow/...) with deps(//...)
    @test "Verify that it's possible to query every TensorFlow target without BUILD errors" {
        bazel query "deps(//tensorflow/... -attr(tags, 'manual', //tensorflow/...))" > /dev/null
    }
    
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Wed Aug 06 20:43:08 UTC 2025
    - 13.4K bytes
    - Viewed (0)
Back to top