- Sort Score
- Num 10 results
- Language All
Results 321 - 330 of 745 for validate (0.05 seconds)
-
src/main/java/org/codelibs/fess/api/chat/ChatApiManager.java
return 4000; } } /** * Parses and validates field filter parameters from the request. * Only configured label values are accepted to prevent query injection. * * @param request the HTTP request * @return a map of field names to their validated filter values */ protected Map<String, String[]> parseFieldFilters(final HttpServletRequest request) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 06:06:55 GMT 2026 - 25.8K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverRequest.java
this.pathTypeFilter = (pathTypeFilter != null) ? pathTypeFilter : DEFAULT_FILTER; this.targetVersion = targetVersion; this.repositories = validate(repositories); if (verbose && requestType != RequestType.COLLECT) { throw new IllegalArgumentException("verbose cannot only be true when collecting dependencies"); }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 10 07:30:49 GMT 2025 - 23K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbSession.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 20.7K bytes - Click Count (0) -
src/bufio/scan_test.go
func TestScanRune(t *testing.T) { for n, test := range scanTests { buf := strings.NewReader(test) s := NewScanner(buf) s.Split(ScanRunes) var i, runeCount int var expect rune // Use a string range loop to validate the sequence of runes. for i, expect = range test { if !s.Scan() { break } runeCount++ got, _ := utf8.DecodeRune(s.Bytes()) if got != expect {
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Sep 22 16:22:42 GMT 2023 - 14.3K bytes - Click Count (0) -
docs/en/docs/advanced/security/oauth2-scopes.md
## Verify the `username` and data shape { #verify-the-username-and-data-shape } We verify that we get a `username`, and extract the scopes. And then we validate that data with the Pydantic model (catching the `ValidationError` exception), and if we get an error reading the JWT token or validating the data with Pydantic, we raise the `HTTPException` we created before.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 13.4K bytes - Click Count (0) -
android/guava/src/com/google/common/io/MoreFiles.java
private PathByteSource(Path path, OpenOption... options) { this.path = checkNotNull(path); this.options = options.clone(); this.followLinks = followLinks(this.options); // TODO(cgdecker): validate the provided options... for example, just WRITE seems wrong } private static boolean followLinks(OpenOption[] options) { for (OpenOption option : options) { if (option == NOFOLLOW_LINKS) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Apr 14 16:07:06 GMT 2025 - 34.6K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbRandomAccessFileTest.java
@DisplayName("write(boolean/byte): writes single byte") void write_oneByteVariants() throws Exception { SmbRandomAccessFile raf = spy(newInstance("rw", false, true, false)); // Intercept the 3-arg write to validate len doNothing().when(raf).write(any(byte[].class), anyInt(), anyInt()); raf.writeBoolean(true); raf.writeByte(0x7F); ArgumentCaptor<Integer> lenCap = ArgumentCaptor.forClass(Integer.class);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java
// Then assertEquals(dataOffsetValue + dataLength - bodyStart, bytesRead); assertEquals(dataLength, response.getDataLength()); } @Test @DisplayName("Should validate data fits within buffer bounds") void testReadBytesWireFormatDataBoundsValidation() throws Exception { // Given byte[] smallBuffer = new byte[100]; int bodyStart = 0;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 22.1K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/CertificatePinnerChainValidationTest.kt
when (expected) { is SSLHandshakeException -> { // On Android, the handshake fails before the certificate pinner runs. assertThat(expected.message!!).contains("Could not validate certificate") } is SSLPeerUnverifiedException -> { // On OpenJDK, the handshake succeeds but the certificate pinner fails.
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 24.4K bytes - Click Count (2) -
internal/logger/target/http/http.go
} // AssignMigrateTarget assigns a target // which will eventually replace the current target. func (h *Target) AssignMigrateTarget(migrateTgt *Target) { h.migrateTarget = migrateTgt } // Init validate and initialize the http target func (h *Target) Init(ctx context.Context) (err error) { if h.config.QueueDir != "" { return h.initQueueOnce.DoWithContext(ctx, h.initDiskStore) }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 15.6K bytes - Click Count (0)