Search Options

Results per page
Sort
Preferred Languages
Advance

Results 501 - 510 of 740 for valida (0.05 sec)

  1. cmd/os-readdir_test.go

    	}
    	defer os.RemoveAll(file)
    
    	// Check if file is given.
    	if _, err := readDir(path.Join(file, "mydir")); err != errFileNotFound {
    		t.Fatalf("expected = %s, got: %s", errFileNotFound, err)
    	}
    
    	// Only valid for linux.
    	if runtime.GOOS == "linux" {
    		permDir := path.Join(os.TempDir(), "perm-dir")
    		if err := os.MkdirAll(permDir, os.FileMode(0o200)); err != nil {
    			t.Fatal(err)
    		}
    		defer os.RemoveAll(permDir)
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue May 27 15:19:03 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  2. docs/fr/docs/tutorial/query-params-str-validations.md

    ```Python
    q: Union[str, None] = Query(default=None, max_length=50)
    ```
    
    Cela va valider les données, montrer une erreur claire si ces dernières ne sont pas valides, et documenter le paramètre dans le schéma `OpenAPI` de cette *path operation*.
    
    ## Rajouter plus de validation
    
    Vous pouvez aussi rajouter un second paramètre `min_length` :
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Writer.kt

       * if no streams were processed.
       *
       * @param lastGoodStreamId the last stream ID processed, or zero if no streams were processed.
       * @param errorCode reason for closing the connection.
       * @param debugData only valid for HTTP/2; opaque debug data to send.
       */
      @Throws(IOException::class)
      fun goAway(
        lastGoodStreamId: Int,
        errorCode: ErrorCode,
        debugData: ByteArray,
      ) {
        withLock {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 11K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/primitives/UnsignedLongsTest.java

        assertThrows(
            NumberFormatException.class,
            () -> UnsignedLongs.parseUnsignedLong("1234567890abcdef1", 16));
      }
    
      public void testParseLongThrowsExceptionForInvalidRadix() {
        // Valid radix values are Character.MIN_RADIX to Character.MAX_RADIX, inclusive.
        assertThrows(
            NumberFormatException.class,
            () -> UnsignedLongs.parseUnsignedLong("0", Character.MIN_RADIX - 1));
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/hash/Murmur3_32HashFunction.java

              shift += 24;
              len += 3;
            } else {
              int codePoint = Character.codePointAt(input, i);
              if (codePoint == c) {
                // not a valid code point; let the JDK handle invalid Unicode
                return hashBytes(input.toString().getBytes(charset));
              }
              i++;
              buffer |= codePointToFourUtf8Bytes(codePoint) << shift;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:36:11 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/util/PathValidator.java

                }
            }
        }
    
        /**
         * Validate host name
         */
        private boolean isValidHost(String host) {
            if (host == null || host.isEmpty()) {
                return false;
            }
    
            // Check for valid hostname or IP address
            // Simple validation - can be enhanced
            if (host.length() > 255) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/netbios/NameQueryResponseTest.java

            recordNameField.setAccessible(true);
            Name mockRecordName = new Name(mockConfig);
            recordNameField.set(nameQueryResponse, mockRecordName);
    
            // Prepare a byte array with valid NetBIOS name format
            byte[] src = new byte[100];
            int srcIndex = 0;
    
            // Start with compressed name pointer (0xC0) to use questionName
            src[srcIndex] = (byte) 0xC0;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  8. docs/pt/docs/tutorial/path-params.md

    ```JSON
    {
        "detail": [
            {
                "loc": [
                    "path",
                    "item_id"
                ],
                "msg": "value is not a valid integer",
                "type": "type_error.integer"
            }
        ]
    }
    ```
    
    devido ao parâmetro da rota `item_id` ter um valor `"foo"`, que não é um `int`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerStatusTest.java

            assertEquals(CrawlerStatus.INITIALIZING, values[0]);
            assertEquals(CrawlerStatus.RUNNING, values[1]);
            assertEquals(CrawlerStatus.DONE, values[2]);
        }
    
        /**
         * Test valueOf method with valid values
         */
        public void test_valueOf_valid() {
            assertEquals(CrawlerStatus.INITIALIZING, CrawlerStatus.valueOf("INITIALIZING"));
            assertEquals(CrawlerStatus.RUNNING, CrawlerStatus.valueOf("RUNNING"));
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  10. okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt

                .post("Uncompressed".toRequestBody())
                .gzip()
                .build(),
            ).execute()
        val responseBody = response.body
        assertThat(responseBody.string(), "Expected response body to be valid")
          .isEqualTo("Uncompressed")
        responseBody.close()
        networkLogs
          .assertLogEqual("--> POST $url http/1.1")
          .assertLogEqual("Content-Encoding: gzip")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Aug 21 14:27:04 UTC 2025
    - 37.5K bytes
    - Viewed (0)
Back to top