Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 for setEnum (2.86 sec)

  1. 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)
  2. 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)
  3. 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)
  4. src/main/java/jcifs/smb/NtlmContext.java

            byte[] sk = this.signKey;
            if ( sk == null ) {
                throw new CIFSException("Signing is not initialized");
            }
    
            int seqNum = this.signSequence.getAndIncrement();
            byte[] seqBytes = new byte[4];
            SMBUtil.writeInt4(seqNum, seqBytes, 0);
    
            MessageDigest mac = Crypto.getHMACT64(sk);
            mac.update(seqBytes); // sequence
            mac.update(data); // data
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 15.7K bytes
    - Viewed (0)
  5. 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)
  6. cmd/object-api-utils.go

    func getCompressedOffsets(oi ObjectInfo, offset int64, decrypt func([]byte) ([]byte, error)) (compressedOffset int64, partSkip int64, firstPart int, decryptSkip int64, seqNum uint32) {
    	var skipLength int64
    	var cumulativeActualSize int64
    	var firstPartIdx int
    	for i, part := range oi.Parts {
    		cumulativeActualSize += part.ActualSize
    		if cumulativeActualSize <= offset {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  7. src/internal/xcoff/file.go

    	// Read relocations
    	// Only for .data or .text section
    	for sectNum, sect := range f.Sections {
    		if sect.Type != STYP_TEXT && sect.Type != STYP_DATA {
    			continue
    		}
    		if sect.Relptr == 0 {
    			continue
    		}
    		c := saferio.SliceCap[Reloc](uint64(sect.Nreloc))
    		if c < 0 {
    			return nil, fmt.Errorf("too many relocs (%d) for section %d", sect.Nreloc, sectNum)
    		}
    		sect.Relocs = make([]Reloc, 0, c)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 12 14:42:29 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  8. src/cmd/link/internal/loadpe/ldpe.go

    			sect = f.Sections[pesym.SectionNumber-1]
    			if _, found := state.sectsyms[sect]; !found {
    				return nil, fmt.Errorf("%s: %v: missing sect.sym", pn, s)
    			}
    		} else {
    			return nil, fmt.Errorf("%s: %v: sectnum < 0!", pn, s)
    		}
    
    		if sect == nil {
    			return nil, nil
    		}
    
    		// Check for COMDAT symbol.
    		if sz, ok1 := state.comdats[uint16(pesym.SectionNumber-1)]; ok1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 18 20:26:46 UTC 2023
    - 26.5K bytes
    - Viewed (0)
  9. src/syscall/zsysnum_openbsd_amd64.go

    	SYS_SEMOP          = 290 // { int sys_semop(int semid, struct sembuf *sops, \
    	SYS_FHSTAT         = 294 // { int sys_fhstat(const fhandle_t *fhp, \
    	SYS___SEMCTL       = 295 // { int sys___semctl(int semid, int semnum, int cmd, \
    	SYS_SHMCTL         = 296 // { int sys_shmctl(int shmid, int cmd, \
    	SYS_MSGCTL         = 297 // { int sys_msgctl(int msqid, int cmd, \
    	SYS_SCHED_YIELD    = 298 // { int sys_sched_yield(void); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 14.2K bytes
    - Viewed (0)
  10. src/syscall/zsysnum_openbsd_arm64.go

    	SYS_SEMOP          = 290 // { int sys_semop(int semid, struct sembuf *sops, \
    	SYS_FHSTAT         = 294 // { int sys_fhstat(const fhandle_t *fhp, \
    	SYS___SEMCTL       = 295 // { int sys___semctl(int semid, int semnum, int cmd, \
    	SYS_SHMCTL         = 296 // { int sys_shmctl(int shmid, int cmd, \
    	SYS_MSGCTL         = 297 // { int sys_msgctl(int msqid, int cmd, \
    	SYS_SCHED_YIELD    = 298 // { int sys_sched_yield(void); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 17:34:54 UTC 2019
    - 14.7K bytes
    - Viewed (0)
Back to top