Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 71 for getBuf (0.26 sec)

  1. src/main/java/org/codelibs/fess/suggest/Suggester.java

        public long getAllWordsNum() {
            return getNum(QueryBuilders.matchAllQuery());
        }
    
        public long getDocumentWordsNum() {
            return getNum(QueryBuilders.rangeQuery(FieldNames.DOC_FREQ).gte(1));
        }
    
        public long getQueryWordsNum() {
            return getNum(QueryBuilders.rangeQuery(FieldNames.QUERY_FREQ).gte(1));
        }
    
        private long getNum(final QueryBuilder queryBuilder) {
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  2. platforms/software/test-suites-base/src/main/java/org/gradle/testing/base/TestSuiteTaskCollection.java

    /**
     * Provides access to key tasks used by a test suite.
     */
    public interface TestSuiteTaskCollection extends BinaryTasksCollection {
        /**
         * The run task.
         */
        Task getRun();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 17 16:02:04 UTC 2023
    - 928 bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/suggest/concurrent/DeferredTest.java

            });
            th.start();
    
            SuggestResponse response = deferred.promise().getResponse(10, TimeUnit.SECONDS);
            assertEquals(0, response.getNum());
        }
    
        @Test
        public void test_getResponseAfterResolve() throws Exception {
            final Deferred<SuggestResponse> deferred = new Deferred<>();
    
            Thread th = new Thread(() -> {
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  4. tests/fuzz/pkg_util_fuzzer.go

    // limitations under the License.
    
    package fuzz
    
    import (
    	"istio.io/istio/security/pkg/util"
    )
    
    func FuzzJwtUtil(data []byte) int {
    	_, _ = util.GetExp(string(data))
    	_, _ = util.GetAud(string(data))
    	_, _ = util.ExtractJwtAud(string(data))
    	return 1
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 20 06:17:08 UTC 2022
    - 805 bytes
    - Viewed (0)
  5. security/pkg/util/jwtutil_test.go

    		},
    		"two audiences list": {
    			jwt: twoAudList,
    			aud: []string{"abc", "xyz"},
    		},
    	}
    
    	for id, tc := range testCases {
    		t.Run(id, func(t *testing.T) {
    			if got, _ := GetAud(tc.jwt); !reflect.DeepEqual(tc.aud, got) {
    				t.Errorf("want audience %v but got %v", tc.aud, got)
    			}
    		})
    	}
    }
    
    func TestBase64UrlPartDecoding(t *testing.T) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 16:07:11 UTC 2024
    - 6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsResponse.java

            return index;
        }
    
        public long getTookMs() {
            return tookMs;
        }
    
        public List<String> getWords() {
            return words;
        }
    
        public int getNum() {
            return num;
        }
    
        public long getTotal() {
            return total;
        }
    
        public List<SuggestItem> getItems() {
            return items;
        }
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tfr/ir/tfr_ops.cc

                                     preceding_cast.getOut().getType()) {
            return failure();
          }
          raw_data_op.getOutput().replaceAllUsesWith(redundant_cast.getArg());
        } else {
          // If the argument of cast op is input, then simply remove the RawData op.
          raw_data_op.getOutput().replaceAllUsesWith(preceding_cast.getOut());
        }
        return success();
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Nov 21 16:55:41 UTC 2023
    - 38.2K bytes
    - Viewed (0)
  8. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/client/DefaultDaemonConnectorTest.groovy

                return { connection } as ConnectCompletion
            }
        }
    
        def createAddress(int i) {
            new Address() {
                int getNum() { i }
    
                String getDisplayName() { getNum() }
            }
        }
    
        def createConnector() {
            def connector = Spy(DefaultDaemonConnector, constructorArgs: [
                    new EmbeddedDaemonRegistry(),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 10:50:51 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  9. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/slf4j/OutputEventListenerBackedLoggerDefaultConfigurationTest.groovy

    import org.slf4j.Logger
    import spock.lang.Specification
    
    class OutputEventListenerBackedLoggerDefaultConfigurationTest extends Specification {
    
        @Rule RedirectStdOutAndErr outputs = new RedirectStdOutAndErr()
    
        String getOut() {
            outputs.stdOut
        }
    
        String getErr() {
            outputs.stdErr
        }
    
        def context
    
        Logger logger() {
            if (context == null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestResponse.java

            return index;
        }
    
        public long getTookMs() {
            return tookMs;
        }
    
        public List<String> getWords() {
            return words;
        }
    
        public int getNum() {
            return num;
        }
    
        public long getTotal() {
            return total;
        }
    
        public List<SuggestItem> getItems() {
            return items;
        }
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top