Search Options

Results per page
Sort
Preferred Languages
Advance

Results 431 - 440 of 741 for validi (0.07 sec)

  1. guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

        Random random = new Random();
        for (int i = 0; i < 100; i++) {
          byte[] bytes = new byte[64];
          random.nextBytes(bytes);
          String s = new String(bytes, UTF_16LE); // so all random strings are valid
          assertEquals(
              new Sink(4).putUnencodedChars(s).hash(),
              new Sink(4).putBytes(s.getBytes(UTF_16LE)).hash());
          assertEquals(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeTest.java

            int bytesWritten = transCallNamedPipe.writeDataWireFormat(dst, 0);
    
            // Then
            assertEquals(maxData.length, bytesWritten);
        }
    
        @Test
        @DisplayName("Test zero-length write with valid data array")
        void testZeroLengthWrite() {
            // Given
            transCallNamedPipe = new TransCallNamedPipe(mockConfig, TEST_PIPE_NAME, TEST_DATA, 0, 0);
            byte[] dst = new byte[100];
    
            // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  3. cmd/bucket-handlers.go

    	if redirectURL != nil { // success_action_redirect is valid and set.
    		v := redirectURL.Query()
    		v.Add("bucket", objInfo.Bucket)
    		v.Add("key", objInfo.Name)
    		v.Add("etag", "\""+objInfo.ETag+"\"")
    		redirectURL.RawQuery = v.Encode()
    		writeRedirectSeeOther(w, redirectURL.String())
    		return
    	}
    
    	// Add checksum header.
    	if checksum != nil && checksum.Valid() {
    		hash.AddChecksumHeader(w, checksum.AsMap())
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 63.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/util/HMACT64Test.java

            HMACT64 hmac = new HMACT64(key);
            hmac.engineUpdate(data, 0, data.length);
            byte[] result = hmac.engineDigest();
    
            // Verify it produces a valid MD5 hash (16 bytes)
            assertNotNull(result);
            assertEquals(16, result.length);
    
            // Calculate the same using manual HMACT64 algorithm
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java

        void setUp() {
            buffer = new byte[128];
        }
    
        @Nested
        @DisplayName("Constructor Tests")
        class ConstructorTests {
    
            @Test
            @DisplayName("Should create lock with valid parameters")
            void testConstructorWithValidParameters() {
                long offset = 1024L;
                long length = 2048L;
                int flags = Smb2Lock.SMB2_LOCKFLAG_EXCLUSIVE_LOCK;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  6. clause/expression_test.go

    			clause.Eq{Column: column, Value: (*int)(nil)},
    			clause.Eq{Column: column, Value: (*bool)(nil)},
    			clause.Eq{Column: column, Value: (interface{})(nil)},
    			clause.Eq{Column: column, Value: sql.NullString{String: "", Valid: false}},
    		},
    		Result: "`column-name` IS NULL",
    	}, {
    		Expressions: []clause.Expression{
    			clause.Neq{Column: column, Value: "column-value"},
    		},
    		ExpectedVars: []interface{}{"column-value"},
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Aug 10 05:34:33 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  7. docs/fr/docs/tutorial/body.md

        "description": "An optional description",
        "price": 45.2,
        "tax": 3.5
    }
    ```
    
    ...`description` et `tax` étant des attributs optionnels (avec `None` comme valeur par défaut), cet "objet" JSON serait aussi valide :
    
    ```JSON
    {
        "name": "Foo",
        "price": 45.2
    }
    ```
    
    ## Déclarez-le comme paramètre
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/rank/fusion/RankFusionSearcherTest.java

            assertEquals("no_suffix_impl", noSuffixSearcher.getName());
        }
    
        public void test_search_withValidParameters() {
            // Test that search method is properly called with valid parameters
            TestRankFusionSearcher testSearcher = new TestRankFusionSearcher();
            String query = "test query";
            SearchRequestParams params = createTestSearchRequestParams();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  9. src/main/webapp/js/admin/plugins/form-validator/file.js

    ],function(c){var d=!1;e.valAttr("dimension")&&(d=a.formUtils.checkImageDimension(c,e.valAttr("dimension"),h)),!d&&e.valAttr("ratio")&&(d=a.formUtils.checkImageRatio(c,e.valAttr("ratio"),h)),d?(j.errorMessage=h.wrongFileDim+" "+e.valAttr("has-not-valid-dim"),b(!1)):b(!0)},function(a){throw a})}else b(!0)},errorMessage:"",errorMessageKey:""}),a(b).one("validatorsLoaded formValidationSetup",function(b,c,d){var e;e=c?c.find('input[type="file"]'):a('input[type="file"]'),a.formUtils.dialogs.removeInp...
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Mon Jan 01 05:12:47 UTC 2018
    - 4.6K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/exception/ContainerNotAvailableExceptionTest.java

            assertNull(exception.getCause());
            assertNull(exception.getComponentName());
        }
    
        public void test_constructor_withNullComponentNameAndCause() {
            // Test constructor with null component name and valid cause
            Throwable cause = new RuntimeException("Test cause");
            ContainerNotAvailableException exception = new ContainerNotAvailableException(null, cause);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.9K bytes
    - Viewed (0)
Back to top