- Sort Score
- Result 10 results
- Languages All
Results 421 - 430 of 547 for Enum (0.04 sec)
-
tests/scanner_valuer_test.go
} // prepend asterisks return append([]byte("***"), data...), nil } type Num int64 func (i *Num) Scan(src interface{}) error { switch s := src.(type) { case []byte: n, _ := strconv.Atoi(string(s)) *i = Num(n) case int64: *i = Num(s) default: return errors.New("Cannot scan NamedInt from " + reflect.ValueOf(src).String()) } return nil }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Wed Jun 07 07:02:07 UTC 2023 - 10.6K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/ArrayMapTest.java
*/ @Test public void testPerformance() throws Exception { int num = 100000; Map<String, Object> hmap = new HashMap<String, Object>(); Map<String, Object> amap = new ArrayMap<String, Object>(); long start = System.currentTimeMillis(); for (int i = 0; i < num; i++) { hmap.put(String.valueOf(i), null); }
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 10.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/search/SearchAction.java
LaRequestUtil.getOptionalRequest().ifPresent(request -> { final HttpSession session = request.getSession(false); if (session != null && form.num != null) { session.setAttribute(Constants.RESULTS_PER_PAGE, form.num); } }); } return doSearch(form); } @Execute public HtmlResponse prev(final SearchForm form) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 12.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/api/json/SearchApiManager.java
return pageSize; } final String num = request.getParameter("num"); if (StringUtil.isBlank(num)) { pageSize = fessConfig.getPagingSearchPageSizeAsInteger(); } else { try { pageSize = Integer.parseInt(num);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Oct 12 01:54:46 UTC 2024 - 50.3K bytes - Viewed (0) -
logger/sql.go
} sql = newSQL.String() } else { sql = numericPlaceholder.ReplaceAllString(sql, "$$$1$$") sql = numericPlaceholderRe.ReplaceAllStringFunc(sql, func(v string) string { num := v[1 : len(v)-1] n, _ := strconv.Atoi(num) // position var start from 1 ($1, $2) n -= 1 if n >= 0 && n <= len(vars)-1 { return vars[n] } return v }) } return sql
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Thu Mar 21 08:00:02 UTC 2024 - 5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/it/admin/GroupTests.java
Map<String, Object> searchBody = new HashMap<>(); searchBody.put("size", NUM * 2); String response = checkGetMethod(searchBody, getListEndpointSuffix()).asString(); List<Map<String, String>> attrList = JsonPath.from(response).getList(getJsonPath() + ".attributes"); assertEquals(NUM, attrList.size()); for (Map<String, String> attr : attrList) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 3.2K bytes - Viewed (0) -
istioctl/pkg/install/k8sversion/version.go
ver, err := goversion.NewVersion(versionInfo.String()) if err != nil { return 0, fmt.Errorf("could not parse %v", err) } // Segments provide slice of int eg: v1.19.1 => [1, 19, 1] num := ver.Segments()[1] return num, nil } // IsK8VersionSupported checks minimum supported Kubernetes version for Istio. // If the K8s version is not at least the `MinK8SVersion`, it logs a message warning the user that they
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 30 21:50:50 UTC 2024 - 2.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/DcerpcBind.java
} public void encode_in(NdrBuffer buf) throws NdrException { buf.enc_ndr_short(max_xmit); buf.enc_ndr_short(max_recv); buf.enc_ndr_long(0); /* assoc. group */ buf.enc_ndr_small(1); /* num context items */ buf.enc_ndr_small(0); /* reserved */ buf.enc_ndr_short(0); /* reserved2 */ buf.enc_ndr_short(0); /* context id */ buf.enc_ndr_small(1); /* number of items */
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 3.2K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/DcerpcBind.java
public void encode_in ( NdrBuffer buf ) throws NdrException { buf.enc_ndr_short(this.max_xmit); buf.enc_ndr_short(this.max_recv); buf.enc_ndr_long(0); /* assoc. group */ buf.enc_ndr_small(1); /* num context items */ buf.enc_ndr_small(0); /* reserved */ buf.enc_ndr_short(0); /* reserved2 */ buf.enc_ndr_short(0); /* context id */ buf.enc_ndr_small(1); /* number of items */
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 3.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/Suggester.java
} if (updateIndices.size() != 1) { if (logger.isDebugEnabled()) { logger.debug("Unexpected update indices num: {}", updateIndices.size()); } throw new SuggesterException("Unexpected update indices num:" + updateIndices.size()); } final String updateIndex = updateIndices.get(0);
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 14.6K bytes - Viewed (0)