- Sort Score
- Num 10 results
- Language All
Results 361 - 370 of 1,160 for isInvalid (0.16 seconds)
-
src/main/java/org/codelibs/fess/app/pager/FailureUrlPager.java
*/ public void setExistNextPage(final boolean existNextPage) { this.existNextPage = existNextPage; } /** * Gets the number of records per page. * If not set or invalid, returns the default page size. * * @return the page size */ public int getPageSize() { if (pageSize <= 0) { pageSize = getDefaultPageSize(); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 7K bytes - Click Count (0) -
src/bufio/example_test.go
scanner.Split(split) // Validate the input for scanner.Scan() { fmt.Printf("%s\n", scanner.Text()) } if err := scanner.Err(); err != nil { fmt.Printf("Invalid input: %s", err) } // Output: // 1234 // 5678 // Invalid input: strconv.ParseInt: parsing "1234567901234567890": value out of range } // Use a Scanner with a custom split function to parse a comma-separated
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Nov 01 21:52:12 GMT 2024 - 5.5K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/release/QualifiedVersion.java
public static QualifiedVersion of(final String s) { Objects.requireNonNull(s); Matcher matcher = pattern.matcher(s); if (matcher.matches() == false) { throw new IllegalArgumentException("Invalid version format: '" + s + "'. Should be " + pattern); } return new QualifiedVersion( Integer.parseInt(matcher.group(1)), Integer.parseInt(matcher.group(2)),
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Wed Sep 01 06:25:29 GMT 2021 - 5.9K bytes - Click Count (0) -
src/cmd/asm/internal/asm/asm.go
if a[2].Type != obj.TYPE_REG { p.errorf("invalid addressing modes for third operand to %s instruction, must be register", op) return } prog.RegTo2 = a[2].Reg break } // RISCV64 instructions that reference CSRs with symbolic names. if isImm, ok := arch.IsRISCV64CSRO(op); ok { if a[0].Type != obj.TYPE_CONST && isImm {Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Mar 20 17:02:17 GMT 2026 - 27.5K bytes - Click Count (0) -
internal/config/compress/compress_test.go
import ( "reflect" "testing" ) func TestParseCompressIncludes(t *testing.T) { testCases := []struct { str string expectedPatterns []string success bool }{ // invalid input {",,,", []string{}, false}, {"", []string{}, false}, {",", []string{}, false}, {"/", []string{}, false}, {"text/*,/", []string{}, false}, // valid input
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 1.8K bytes - Click Count (0) -
docs_src/handling_errors/tutorial006_py310.py
return await http_exception_handler(request, exc) @app.exception_handler(RequestValidationError) async def validation_exception_handler(request, exc): print(f"OMG! The client sent invalid data!: {exc}") return await request_validation_exception_handler(request, exc) @app.get("/items/{item_id}") async def read_item(item_id: int): if item_id == 3:
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 928 bytes - Click Count (0) -
cmd/rebalstatus_string.go
// Code generated by "stringer -type=rebalStatus -trimprefix=rebal erasure-server-pool-rebalance.go"; DO NOT EDIT. package cmd import "strconv" func _() { // An "invalid array index" compiler error signifies that the constant values have changed. // Re-run the stringer command to generate them again. var x [1]struct{} _ = x[rebalNone-0] _ = x[rebalStarted-1] _ = x[rebalCompleted-2] _ = x[rebalStopped-3] _ = x[rebalFailed-4] }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Oct 25 19:36:57 GMT 2022 - 795 bytes - Click Count (0) -
src/main/java/org/codelibs/fess/chat/ChatSessionManager.java
*/ protected int getSessionTimeoutMinutes() { final int value = ComponentUtil.getFessConfig().getRagChatSessionTimeoutMinutesAsInteger(); if (value <= 0) { logger.warn("Invalid session timeout: {}. Using default: 30", value); return 30; } return value; } /** * Gets the maximum session cache size. *Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 07 13:27:59 GMT 2026 - 13.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/base/FessAdminAction.java
final Path filePath = Paths.get(path).normalize(); final String normalizedPath = filePath.toString(); if (normalizedPath.contains("..")) { throw new IllegalArgumentException("Invalid file path: path=" + path); } final File file = filePath.toFile(); final String canonicalPath = file.getCanonicalPath();
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 19 13:57:12 GMT 2026 - 10.9K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbPipeHandleImpl.java
} /** * {@inheritDoc} * * @see jcifs.SmbPipeHandle#isOpen() */ @Override public boolean isOpen() { return this.open && this.handle != null && this.handle.isValid(); } /** * * {@inheritDoc} * * @see jcifs.smb.SmbPipeHandleInternal#getSessionKey() */ @Override public byte[] getSessionKey() throws CIFSException {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 10.2K bytes - Click Count (0)