Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 545 for rescorer (0.68 sec)

  1. src/main/java/org/codelibs/fess/helper/QueryHelper.java

            return queryRescorerList.stream().map(r -> r.evaluate(params)).filter(b -> b != null).toArray(n -> new RescorerBuilder<?>[n]);
        }
    
        public void addQueryRescorer(final QueryRescorer rescorer) {
            queryRescorerList.add(rescorer);
        }
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  2. test/recover.go

    }
    
    func mustRecover(x interface{}) {
    	mustRecoverBody(doubleRecover(), recover(), recover(), x)
    }
    
    func mustNotRecover() {
    	v := recover()
    	if v != nil {
    		println("spurious recover", v)
    		die()
    	}
    }
    
    func withoutRecover() {
    	mustNotRecover() // because it's a sub-call
    }
    
    func withoutRecoverRecursive(n int) {
    	if n == 0 {
    		withoutRecoverRecursive(1)
    	} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 10.6K bytes
    - Viewed (0)
  3. pkg/util/iptables/testing/fake_test.go

    		t.Fatalf("Expected 'non-existent chain' error from Restore, got %v", err)
    	}
    
    	// more Restore; empty out one chain and delete another, but also update its counters
    	rules = dedent.Dedent(strings.Trim(`
    		*nat
    		:KUBE-RESTORED - [0:0]
    		:KUBE-TEST - [99:9999]
    		-X KUBE-RESTORED
    		COMMIT
    		`, "\n"))
    	err = fake.Restore(iptables.TableNAT, []byte(rules), iptables.NoFlushTables, iptables.RestoreCounters)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 10.2K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/saved_model/core/tf_saved_model_api.cc

    // which contain the "real" checkpoint keys into the TensorBundle SSTable.
    // They also contain the logic needed to take the restored tensors from
    // RestoreV2 and load them back into the "object" they came from via their
    // overridden "restore" method:
    // https://github.com/tensorflow/tensorflow/blob/ddc1bbad3dfd4a089eb96014f26cc16664b1b2f8/tensorflow/python/training/saving/saveable_object.py#L85
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 27 09:34:33 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/python/save_model.py

      are multiple output tensors from one node). Since Retval nodes are not used in
      SavedModel, this function removes them and restore the names to the actual
      output tensors.
    
      Args:
        graph_def: the converted GraphDef.
    
      Returns:
        The GraphDef with Retval nodes removed and output tensor names restored.
      """
      output_renaming_map = {}
      with session.Session(graph=ops.Graph()):
        importer.import_graph_def(graph_def, name='')
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 01:09:50 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  6. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/services/DefaultLoggingManagerTest.groovy

            0 * javaUtilLoggingSystem._
    
            when:
            loggingManager.stop()
    
            then:
            1 * slf4jLoggingSystem.restore(slf4jSnapshot)
            1 * javaUtilLoggingSystem.restore(javaUtilSnapshot)
            1 * loggingRouter.restore(routerSnapshot)
            0 * loggingRouter._
            0 * slf4jLoggingSystem._
            0 * javaUtilLoggingSystem._
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 15.8K bytes
    - Viewed (0)
  7. cmd/bucket-lifecycle.go

    }
    
    // Expiry returns expiry of restored object and true if restore-object has completed.
    // Otherwise returns zero value of time.Time and false.
    func (r restoreObjStatus) Expiry() (time.Time, bool) {
    	if r.Ongoing() {
    		return time.Time{}, false
    	}
    	return r.expiry, true
    }
    
    // Ongoing returns true if restore-object is ongoing.
    func (r restoreObjStatus) Ongoing() bool {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  8. pkg/kubelet/cm/dra/state/state_checkpoint_test.go

    func assertStateEqual(t *testing.T, restoredState, expectedState ClaimInfoStateList) {
    	assert.Equal(t, expectedState, restoredState, "expected ClaimInfoState does not equal to restored one")
    }
    
    // TODO (https://github.com/kubernetes/kubernetes/issues/123552): reconsider what data gets stored in checkpoints and whether that is really necessary.
    //
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:13 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  9. src/runtime/callers_test.go

    		testCallersEqual(t, pcs, want)
    	}()
    	defer func() {
    		if recover() == nil {
    			t.Fatal("did not recover from panic")
    		}
    	}()
    	panic(1)
    }
    
    func TestCallersAbortedPanic(t *testing.T) {
    	want := []string{"runtime.Callers", "runtime_test.TestCallersAbortedPanic.func2", "runtime_test.TestCallersAbortedPanic"}
    
    	defer func() {
    		r := recover()
    		if r != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 21:36:31 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  10. pkg/registry/core/service/ipallocator/bitmap.go

    	}
    	rangeString, data := snapshottable.Snapshot()
    	dst.Range = rangeString
    	dst.Data = data
    	return nil
    }
    
    // Restore restores the pool to the previously captured state. ErrMismatchedNetwork
    // is returned if the provided IPNet range doesn't exactly match the previous range.
    func (r *Range) Restore(net *net.IPNet, data []byte) error {
    	if !net.IP.Equal(r.net.IP) || net.Mask.String() != r.net.Mask.String() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 25 20:32:40 UTC 2023
    - 10.8K bytes
    - Viewed (0)
Back to top