- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 55 for setEnum (0.21 sec)
-
src/test/java/org/codelibs/fess/suggest/SuggesterTest.java
assertEquals(1, response.getNum()); assertEquals("全文 検索", response.getWords().get(0)); response = suggester.suggest().addKind("query").execute().getResponse(); assertEquals(1, response.getNum()); SuggestResponse response2 = suggester.suggest().setSuggestDetail(true).execute().getResponse(); assertEquals(2, response2.getNum()); } @Test
Registered: Wed Jun 12 15:38:08 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 37K bytes - Viewed (0) -
src/crypto/internal/hpke/hpke_test.go
seqNum, err := strconv.Atoi(enc["sequence number"]) if err != nil { t.Fatal(err) } context.seqNum = uint128{lo: uint64(seqNum)} expectedNonce := mustDecodeHex(t, enc["nonce"]) // We can't call nextNonce, because it increments the sequence number, // so just compute it directly. computedNonce := context.seqNum.bytes()[16-context.aead.NonceSize():]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 22:33:33 UTC 2024 - 4.7K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/server/DaemonExpirationStrategyTest.groovy
info.setState(state) registry.store(info) return info } private static Address createAddress(int i) { new Address() { int getNum() { i } String getDisplayName() { getNum() } } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 2.1K bytes - Viewed (0) -
src/debug/pe/symbols_test.go
name: ".rdata$.refptr.__native_startup_lock", ok: true, auxstr: "{Size:8 NumRelocs:1 NumLineNumbers:0 Checksum:0 SecNum:16 Selection:2 _:[0 0 0]}", }, 81: testpoint{ name: ".debug_line", ok: true, auxstr: "{Size:994 NumRelocs:1 NumLineNumbers:0 Checksum:1624223678 SecNum:32 Selection:0 _:[0 0 0]}", }, 155: testpoint{ name: ".file", ok: false, err: "incorrect symbol storage class",
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 06 18:07:48 UTC 2022 - 2.4K bytes - Viewed (0) -
src/crypto/internal/hpke/hpke.go
} func (s *Sender) nextNonce() []byte { nonce := s.seqNum.bytes()[16-s.aead.NonceSize():] for i := range s.baseNonce { nonce[i] ^= s.baseNonce[i] } // Message limit is, according to the RFC, 2^95+1, which // is somewhat confusing, but we do as we're told. if s.seqNum.bitLen() >= (s.aead.NonceSize()*8)-1 { panic("message limit reached") } s.seqNum = s.seqNum.addOne() return nonce }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 22:33:33 UTC 2024 - 7K bytes - Viewed (0) -
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) -
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) -
src/net/http/cookiejar/jar.go
} } continue } if submap == nil { submap = make(map[string]entry) } if old, ok := submap[id]; ok { e.Creation = old.Creation e.seqNum = old.seqNum } else { e.Creation = now e.seqNum = j.nextSeqNum j.nextSeqNum++ } e.LastAccess = now submap[id] = e modified = true } if modified { if len(submap) == 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 15K bytes - Viewed (0) -
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) -
src/cmd/link/internal/loadmacho/ldmacho.go
l.SetAttrDuplicateOK(s, true) } machsym.sym = s if machsym.sectnum == 0 { // undefined continue } if uint32(machsym.sectnum) > c.seg.nsect { return errorf("reference to invalid section %d", machsym.sectnum) } sect := &c.seg.sect[machsym.sectnum-1] bld := l.MakeSymbolUpdater(s) outer := sect.sym if outer == 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 12 18:45:57 UTC 2022 - 19.1K bytes - Viewed (0)