Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 602 for Block (0.04 sec)

  1. src/main/java/jcifs/internal/smb1/trans/SmbComTransaction.java

        protected int parameterDisplacement;
        /** Number of data bytes being sent in this request */
        protected int dataCount;
        /** Offset from the start of the SMB header to the data bytes */
        protected int dataOffset;
        /** Displacement of these data bytes from the start of the total data block */
        protected int dataDisplacement;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/SequentialExecutor.java

        }
    
        /*
         * This is an unsynchronized read! After the read, the function returns immediately or acquires
         * the lock to check again. Since an IDLE state was observed inside the preceding synchronized
         * block, and reference field assignment is atomic, this may save reacquiring the lock when
         * another thread or the worker task has cleared the count and set the state.
         *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/SmbComWriteTest.java

            int bytesWritten = write.writeBytesWireFormat(dst, 0);
    
            // Assert
            assertEquals(6, bytesWritten, "Should write 6 bytes (1 type + 2 length + 3 data)");
            assertEquals(0x01, dst[0], "Data block type");
            assertEquals(3, dst[1] & 0xFF, "Data length low byte");
            assertEquals(0, dst[2] & 0xFF, "Data length high byte");
            assertEquals(2, dst[3], "First data byte");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/SmbSessionTest.java

        }
    
        @Test
        void sendResetsResponseAndForwards() throws Exception {
            SmbSession session = new SmbSession(addr, 445, inet, 0, auth);
            // prepare a dummy request/response using a real SMB block type
            ServerMessageBlock req = new SmbComOpenAndX("test.txt", 0, 0, null);
            ServerMessageBlock resp = new SmbComOpenAndX("test.txt", 0, 0, null);
            resp.received = true;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/ExecutionList.java

        // is likely to be a bug anyway.
    
        // N.B. All writes to the list and the next pointers must have happened before the above
        // synchronized block, so we can iterate the list without the lock held here.
        RunnableExecutorPair reversedList = null;
        while (list != null) {
          RunnableExecutorPair tmp = list;
          list = list.next;
          tmp.next = reversedList;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/EvictingQueue.java

     *
     * <p>An evicting queue must be configured with a maximum size. Each time an element is added to a
     * full queue, the queue automatically removes its head element. This is different from conventional
     * bounded queues, which either block or reject new elements when full.
     *
     * <p>This class is not thread-safe, and does not accept null elements.
     *
     * @author Kurt Alfred Kluever
     * @since 15.0
     */
    @GwtCompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  7. docs/en/docs/how-to/custom-request-and-route.md

    ///
    
    We can also use this same approach to access the request body in an exception handler.
    
    All we need to do is handle the request inside a `try`/`except` block:
    
    {* ../../docs_src/custom_request_and_route/tutorial002.py hl[13,15] *}
    
    If an exception occurs, the`Request` instance will still be in scope, so we can read and make use of the request body when handling the error:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  8. docs/en/docs/advanced/custom-response.md

    {* ../../docs_src/custom_response/tutorial008.py hl[2,10:12,14] *}
    
    1. This is the generator function. It's a "generator function" because it contains `yield` statements inside.
    2. By using a `with` block, we make sure that the file-like object is closed after the generator function is done. So, after it finishes sending the response.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java

            // When - Release session to trigger cleanup
            session.release();
    
            // Then - Trees should be cleared (we can't directly verify as it's internal,
            // but the cleanup code with synchronized block ensures it happens atomically)
            // The important part is that no exception occurs and the operation is atomic
        }
    
        /**
         * Test concurrent acquire and release operations.
         */
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11K bytes
    - Viewed (0)
  10. docs/de/docs/tutorial/dependencies/dependencies-with-yield.md

    **FastAPI** wird bei jeder das Richtige tun, so wie auch bei normalen Abhängigkeiten.
    
    ///
    
    ## Eine Abhängigkeit mit `yield` und `try`.
    
    Wenn Sie einen `try`-Block in einer Abhängigkeit mit `yield` verwenden, empfangen Sie alle Exceptions, die bei Verwendung der Abhängigkeit geworfen wurden.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 12.2K bytes
    - Viewed (0)
Back to top