Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 110 for alternating (0.21 sec)

  1. src/test/java/jcifs/internal/smb2/RequestWithFileIdTest.java

            byte[] allZeros = new byte[16];
            byte[] allOnes = new byte[16];
            Arrays.fill(allOnes, (byte) 0xFF);
            byte[] alternating = new byte[16];
            for (int i = 0; i < alternating.length; i++) {
                alternating[i] = (byte) (i % 2 == 0 ? 0xAA : 0x55);
            }
    
            RequestWithFileId request = new Smb2CloseRequest(mockConfig, emptyFileId);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

        override fun close() {
          if (closed) return
          closed = true
          detachTimeout(timeout)
          state = STATE_READ_RESPONSE_HEADERS
        }
      }
    
      /**
       * An HTTP body with alternating chunk sizes and chunk bodies. It is the caller's responsibility
       * to buffer chunks; typically by using a buffered sink with this sink.
       */
      private inner class ChunkedSink : Sink {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt

        }
    
        return stream
      }
    
      @Throws(IOException::class)
      internal fun writeHeaders(
        streamId: Int,
        outFinished: Boolean,
        alternating: List<Header>,
      ) {
        writer.headers(outFinished, streamId, alternating)
      }
    
      /**
       * Callers of this method are not thread safe, and sometimes on application threads. Most often,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkTest.java

            }
    
            @Test
            @DisplayName("Should handle special offset patterns")
            void testSpecialOffsetPatterns() {
                // Given - alternating bit pattern
                long pattern1 = 0xAAAAAAAAAAAAAAAAL;
                long pattern2 = 0x5555555555555555L;
                int pattern3 = 0xDEADBEEF;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Headers.kt

        fun build(): Headers = commonBuild()
      }
    
      companion object {
        /** Empty headers. */
        @JvmField
        val EMPTY = Headers(emptyArray())
    
        /**
         * Returns headers for the alternating header names and values. There must be an even number of
         * arguments, and they must alternate between header names and values.
         */
        @JvmStatic
        @JvmName("of")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:51:25 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/io/Smb2FlushRequestTest.java

            Arrays.fill(onesFileId, (byte) 0xFF);
            Smb2FlushRequest onesRequest = new Smb2FlushRequest(mockConfig, onesFileId);
            testFileIdInRequest(onesRequest, onesFileId);
    
            // Test with alternating pattern
            byte[] alternatingFileId = new byte[16];
            for (int i = 0; i < 16; i++) {
                alternatingFileId[i] = (byte) (i % 2 == 0 ? 0xAA : 0x55);
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java

            Arrays.fill(onesFileId, (byte) 0xFF);
            Smb2CloseRequest onesRequest = new Smb2CloseRequest(mockConfig, onesFileId, testFileName);
            testFileIdInRequest(onesRequest, onesFileId);
    
            // Test with alternating pattern
            byte[] alternatingFileId = new byte[16];
            for (int i = 0; i < 16; i++) {
                alternatingFileId[i] = (byte) (i % 2 == 0 ? 0xAA : 0x55);
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopyTest.java

                assertEquals(Integer.MAX_VALUE, SMBUtil.readInt4(buffer, chunkStart + 16));
            }
    
            @Test
            @DisplayName("Should handle alternating bit pattern in source key")
            void testSourceKeyAlternatingPattern() {
                // Given
                byte[] patternKey = new byte[SOURCE_KEY_SIZE];
                for (int i = 0; i < SOURCE_KEY_SIZE; i++) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 23.1K bytes
    - Viewed (0)
  9. docs/es/docs/advanced/custom-response.md

    ### `ORJSONResponse`
    
    Un response JSON rápido alternativo usando <a href="https://github.com/ijl/orjson" class="external-link" target="_blank">`orjson`</a>, como leíste arriba.
    
    /// info | Información
    
    Esto requiere instalar `orjson`, por ejemplo, con `pip install orjson`.
    
    ///
    
    ### `UJSONResponse`
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  10. docs/tr/docs/alternatives.md

    ///
    
    ### <a href="https://requests.readthedocs.io" class="external-link" target="_blank">Requests</a>
    
    **FastAPI** aslında **Requests**'in bir alternatifi değil. İkisininde kapsamı oldukça farklı.
    
    Aslında Requests'i bir FastAPI uygulamasının *içinde* kullanmak daha olağan olurdu.
    
    Ama yine de, FastAPI, Requests'ten oldukça ilham aldı.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 28.7K bytes
    - Viewed (0)
Back to top