Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 113 for assignment (0.5 sec)

  1. docs/fr/docs/tutorial/body-multiple-params.md

    Tout d'abord, sachez que vous pouvez mélanger les déclarations des paramètres `Path`, `Query` et body, **FastAPI** saura quoi faire.
    
    Vous pouvez également déclarer des paramètres body comme étant optionnels, en leur assignant une valeur par défaut à `None` :
    
    {* ../../docs_src/body_multiple_params/tutorial001_an_py310.py hl[18:20] *}
    
    /// note
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 11:10:17 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/trans2/Trans2SetFileInformation.java

            dstIndex += this.info.encode(dst, dstIndex);
    
            /* 6 zeros observed with NT */
            SMBUtil.writeInt8(0L, dst, dstIndex);
            dstIndex += 6;
    
            /*
             * Also observed 4 byte alignment but we stick
             * with the default for jCIFS which is 2
             */
    
            return dstIndex - start;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans/SmbComTransactionTest.java

            assertSame(transaction, result);
        }
    
        @Test
        @DisplayName("Test pad calculation with various offsets")
        void testPadCalculation() {
            // Test pad calculation with different alignment values
            assertEquals(0, transaction.pad(0)); // Already aligned
            assertEquals(0, transaction.pad(4)); // Already aligned
            assertEquals(0, transaction.pad(8)); // Already aligned
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

       * process it; all should produce the same answer, the only difference should be the number of
       * process()/processRemaining() invocations, due to alignment.
       */
      @AndroidIncompatible // slow. TODO(cpovirk): Maybe just reduce iterations under Android.
      public void testExhaustive() throws Exception {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  5. api/maven-api-core/src/test/java/org/apache/maven/api/MonotonicClockTest.java

                        "Time should never go backwards even with rapid successive calls");
            }
        }
    
        @Test
        @DisplayName("MonotonicClock should maintain reasonable alignment with system time")
        void testSystemTimeAlignment() {
            Instant monotonic = MonotonicClock.now();
            Instant system = Instant.now();
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jan 15 06:28:29 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java

            assertArrayEquals(pathBytes, actualPath);
        }
    
        @Test
        @DisplayName("Should verify size8 alignment calculation")
        void testSize8Alignment() throws Exception {
            // Given - Various path lengths to test alignment
            String[] paths = { "\\\\a\\b", // Short path
                    "\\\\server\\share", // Medium path
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

         */
        protected int writeString(final String str, final byte[] dst, int dstIndex, final boolean unicode) {
            final int start = dstIndex;
            if (unicode) {
                // Unicode requires word alignment
                if ((dstIndex - this.headerStart) % 2 != 0) {
                    dst[dstIndex++] = (byte) '\0';
                }
                System.arraycopy(Strings.getUNIBytes(str), 0, dst, dstIndex, str.length() * 2);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  8. cmd/data-scanner-metric.go

    	actions        [lifecycle.ActionCount]uint64
    	actionsLatency [lifecycle.ActionCount]lockedLastMinuteLatency
    
    	// currentPaths contains (string,*currentPathTracker) for each disk processing.
    	// Alignment not required.
    	currentPaths sync.Map
    
    	cycleInfoMu sync.Mutex
    	cycleInfo   *currentScannerCycle
    }
    
    var globalScannerMetrics scannerMetrics
    
    const (
    	// START Realtime metrics, that only to records
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  9. docs/bucket/replication/setup_3site_replication.sh

    ./s3-check-md5 -versions -access-key minio -secret-key minio123 -endpoint http://127.0.0.1:9006/ -bucket olockbucket
    
    # additional tests for encryption object alignment
    go install -v github.com/minio/multipart-debug@latest
    
    upload_id=$(multipart-debug --endpoint 127.0.0.1:9001 --accesskey minio --secretkey minio123 multipart new --bucket bucket --object new-test-encrypted-object --encrypt)
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Sep 24 08:03:58 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java

            }
        }
    
        @Nested
        @DisplayName("Size Calculation Tests")
        class SizeCalculationTests {
    
            @Test
            @DisplayName("Should calculate size8 without alignment")
            void testSize8NoAlignment() {
                assertEquals(8, ServerMessageBlock2.size8(8));
                assertEquals(16, ServerMessageBlock2.size8(9));
                assertEquals(16, ServerMessageBlock2.size8(15));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 39.5K bytes
    - Viewed (0)
Back to top