Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 1,004 for Pread (0.05 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/publicsuffix/BasePublicSuffixList.kt

        }
      }
    
      abstract val path: Any
    
      /**
       * Reads the public suffix list treating the operation as uninterruptible. We always want to read
       * the list otherwise we'll be left in a bad state. If the thread was interrupted prior to this
       * operation, it will be re-interrupted after the list is read.
       */
      private fun readTheListUninterruptibly() {
        var interrupted = false
        try {
          while (true) {
            try {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 07:33:49 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseManagerTest.java

            entry.updateChild("file1.txt", 1024L, 1000L, false, 0x20, 500L, 800L);
            entry.markComplete();
    
            // Break lease with loss of read cache
            int newState = Smb2LeaseState.SMB2_LEASE_HANDLE_CACHING; // Lost read cache
            directoryLeaseManager.handleDirectoryLeaseBreak(leaseKey, newState);
    
            // Cache should be invalidated
            assertFalse(entry.isComplete());
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/pac/kerberos/KerberosToken.java

                    throw new PACDecodingException("Not a kerberos token");
                }
    
                int readLow = stream.read() & 0xff;
                int readHigh = stream.read() & 0xff;
                int read = (readHigh << 8) + readLow;
                if (read != 0x01) {
                    throw new PACDecodingException("Malformed kerberos token");
                }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketReader.kt

        val b1 = source.readByte() and 0xff
    
        val isMasked = b1 and B1_FLAG_MASK != 0
        if (isMasked == isClient) {
          // Masked payloads must be read on the server. Unmasked payloads must be read on the client.
          throw ProtocolException(
            if (isClient) {
              "Server-sent frames must not be masked."
            } else {
              "Client-sent frames must be masked."
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 29 22:04:11 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/request-forms.md

    **FastAPI** will make sure to read that data from the right place instead of JSON.
    
    /// note | Technical Details
    
    Data from forms is normally encoded using the "media type" `application/x-www-form-urlencoded`.
    
    But when the form includes files, it is encoded as `multipart/form-data`. You'll read about handling files in the next chapter.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponseTest.java

            // First read
            response.readDataWireFormat(buffer1, 0, firstData.length);
            byte[] firstResult = new byte[firstData.length];
            System.arraycopy(outputBuffer, 0, firstResult, 0, firstData.length);
            assertArrayEquals(firstData, firstResult);
    
            // Second read (should overwrite)
            response.readDataWireFormat(buffer2, 0, secondData.length);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationResponseTest.java

                assertEquals(customLevel, infoLevel.getInt(resp));
            }
        }
    
        @Nested
        @DisplayName("Wire Format Tests")
        class WireFormatTests {
    
            @Test
            @DisplayName("Should read parameters wire format")
            void testReadParametersWireFormat() {
                byte[] buffer = new byte[10];
                int result = response.readParametersWireFormat(buffer, 0, 2);
                assertEquals(2, result);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/AbstractFutureState.java

        return ATOMIC_HELPER.casValue(future, expect, update);
      }
    
      /** Returns the value of the future, using a volatile read. */
      final @Nullable Object value() {
        return valueField;
      }
    
      /** Returns the head of the listener stack, using a volatile read. */
      final @Nullable Listener listeners() {
        return listenersField;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 33.2K bytes
    - Viewed (0)
  9. buildscripts/test-timeout.sh

    	echo ""
    	echo ""
    }
    
    function send_put_object_request() {
    	hdr_timeout=$1
    	body_timeout=$2
    
    	start=$(date +%s)
    	timeout 5m bash -c "gen_put_request $hdr_timeout $body_timeout | netcat 127.0.0.1 $start_port | read" || return -1
    	[ $(($(date +%s) - start)) -gt $((srv_hdr_timeout + srv_idle_timeout + 1)) ] && return -1
    	return 0
    }
    
    function test_minio_with_timeout() {
    	start_port=$1
    
    	export MINIO_ROOT_USER=minio
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Dec 02 13:21:17 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/io/Files.java

       *
       * @param file the file to read
       * @param processor the object to which the bytes of the file are passed.
       * @return the result of the byte processor
       * @throws IOException if an I/O error occurs
       * @deprecated Prefer {@code asByteSource(file).read(processor)}.
       */
      @Deprecated
      @InlineMe(
          replacement = "Files.asByteSource(file).read(processor)",
          imports = "com.google.common.io.Files")
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 32.9K bytes
    - Viewed (0)
Back to top