Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 271 for locks (0.75 sec)

  1. src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java

            @Test
            @DisplayName("Should handle typical Linux ext4 configuration")
            void shouldHandleTypicalExt4Configuration() throws SMBProtocolDecodingException {
                // Given - typical ext4: 4KB blocks
                long totalBlocks = 26214400L; // 100GB / 4KB
                long freeBlocks = 5242880L; // 20GB / 4KB
    
                ByteBuffer buffer = ByteBuffer.allocate(24);
                buffer.order(ByteOrder.LITTLE_ENDIAN);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt

        replaceWith = ReplaceWith(expression = "headers"),
        level = DeprecationLevel.ERROR,
      )
      fun headers(): Headers = headers
    
      /**
       * Returns the trailers after the HTTP response, which may be empty. This blocks until the
       * trailers are available to read.
       *
       * It is not safe to call this concurrently with code that is processing the response body. If you
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 14:39:28 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt

          private val useCompression: Boolean = true,
          private val out: Buffer,
        ) {
          /**
           * In the scenario where the dynamic table size changes multiple times between transmission of
           * header blocks, we need to keep track of the smallest value in that interval.
           */
          private var smallestHeaderTableSizeSetting = Integer.MAX_VALUE
          private var emitDynamicTableSizeUpdate: Boolean = false
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

        /** SMB2 read file command */
        protected static final short SMB2_READ = 0x0008;
        /** SMB2 write file command */
        protected static final short SMB2_WRITE = 0x0009;
        /** SMB2 lock file command */
        protected static final short SMB2_LOCK = 0x000A;
        /** SMB2 IO control command */
        protected static final short SMB2_IOCTL = 0x000B;
        /** SMB2 cancel command */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/NtlmUtilTest.java

            verify(cifsContext, atLeastOnce()).getConfig();
            verify(configuration, atLeastOnce()).getOemEncoding();
        }
    
        @Test
        @DisplayName("E: splits 7-byte keys into 8-byte DES blocks and concatenates")
        void testE_blockSplitConsistency() throws ShortBufferException {
            // Arrange
            byte[] key14 = hex("01020304050607 11121314151617"); // two 7-byte chunks
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12K bytes
    - Viewed (0)
  6. docs/en/docs/how-to/custom-docs-ui-assets.md

    Here you'll see how to serve those files yourself, in the same FastAPI app, and configure the docs to use them.
    
    ### Project file structure { #project-file-structure }
    
    Let's say your project file structure looks like this:
    
    ```
    .
    ├── app
    │   ├── __init__.py
    │   ├── main.py
    ```
    
    Now create a directory to store those static files.
    
    Your new file structure could look like this:
    
    ```
    .
    ├── app
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/util/transport/Transport.java

            Exception ex0 = null;
    
            try {
                /* We cannot synchronize (run_thread) here or the caller's
                 * thread.wait( timeout ) cannot reaquire the lock and
                 * return which would render the timeout effectively useless.
                 */
                doConnect();
            } catch (final Exception ex) {
                ex0 = ex; // Defer to below where we're locked
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

    import jcifs.internal.SMBSigningDigest;
    import jcifs.internal.util.SMBUtil;
    import jcifs.smb.SmbException;
    import jcifs.util.Hexdump;
    import jcifs.util.Strings;
    
    /**
     * Base class for all SMB1/CIFS protocol message blocks.
     * This abstract class provides the fundamental structure and common functionality for SMB1 request
     * and response messages, including header fields, message encoding/decoding, and wire format handling.
     */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  9. schema/schema.go

    	if field, ok := schema.FieldsByDBName[name]; ok {
    		return field
    	}
    	if field, ok := schema.FieldsByName[name]; ok {
    		return field
    	}
    	return nil
    }
    
    // LookUpFieldByBindName looks for the closest field in the embedded struct.
    //
    //	type Struct struct {
    //		Embedded struct {
    //			ID string // is selected by LookUpFieldByBindName([]string{"Embedded", "ID"}, "ID")
    //		}
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Aug 19 06:35:49 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt

    internal fun Dispatcher.assertLockNotHeld() {
      if (assertionsEnabled && Thread.holdsLock(this)) {
        throw AssertionError("Thread ${Thread.currentThread().name} MUST NOT hold lock on $this")
      }
    }
    
    /**
     * Returns the string "OkHttp" unless the library has been shaded for inclusion in another library,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 10.2K bytes
    - Viewed (0)
Back to top