Search Options

Results per page
Sort
Preferred Languages
Advance

Results 671 - 680 of 1,517 for byte1 (0.05 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/cache2/FileOperator.kt

          mutablePos += bytesWritten
          mutableByteCount -= bytesWritten
        }
      }
    
      /**
       * Copy [byteCount] bytes from the file at [pos] into `sink`. It is the
       * caller's responsibility to make sure there are sufficient bytes to read: if there aren't this
       * method throws an `EOFException`.
       */
      fun read(
        pos: Long,
        sink: Buffer,
        byteCount: Long,
      ) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/spnego/NegTokenTarg.java

        public NegTokenTarg () {}
    
    
        public NegTokenTarg ( int result, ASN1ObjectIdentifier mechanism, byte[] mechanismToken, byte[] mechanismListMIC ) {
            setResult(result);
            setMechanism(mechanism);
            setMechanismToken(mechanismToken);
            setMechanismListMIC(mechanismListMIC);
        }
    
    
        public NegTokenTarg ( byte[] token ) throws IOException {
            parse(token);
        }
    
    
        public int getResult () {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Jan 04 04:18:31 UTC 2021
    - 5.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/com/LockingAndXRange.java

    
        /**
         * 
         * @return start byte offset
         */
        public long getByteOffset () {
            return this.byteOffset;
        }
    
    
        /**
         * 
         * @return byte length
         */
        public long getLengthInBytes () {
            return this.lengthInBytes;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Decodable#decode(byte[], int, int)
         */
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/CountingInputStreamTest.java

        // Test reading a single byte while we're in the right state
        assertEquals(-1, counter.read());
        assertEquals(20, counter.getCount());
      }
    
      public void testReadArrayEOF() throws IOException {
        assertEquals(20, counter.read(new byte[30]));
        assertEquals(20, counter.getCount());
        assertEquals(-1, counter.read(new byte[30]));
        assertEquals(20, counter.getCount());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  5. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt

                )
              } else if (gzippedLength != null) {
                logger.log("--> END ${request.method} (${buffer.size}-byte, $gzippedLength-gzipped-byte body)")
              } else {
                logger.log(buffer.readString(charset))
                logger.log("--> END ${request.method} (${requestBody.contentLength()}-byte body)")
              }
            }
          }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 09:14:38 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponse.java

        private int capabilities;
        private byte[] serverGuid = new byte[16];
        private int securityMode;
        private int dialect;
    
    
        /**
         * @return the capabilities
         */
        public int getCapabilities () {
            return this.capabilities;
        }
    
    
        /**
         * @return the serverGuid
         */
        public byte[] getServerGuid () {
            return this.serverGuid;
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/fscc/FileEndOfFileInformation.java

         */
        @Override
        public byte getFileInformationLevel () {
            return FileInformation.FILE_ENDOFFILE_INFO;
        }
    
    
        /**
         * 
         * @param eofOfFile
         */
        public FileEndOfFileInformation ( long eofOfFile ) {
            this.endOfFile = eofOfFile;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Decodable#decode(byte[], int, int)
         */
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.4K bytes
    - Viewed (0)
  8. docs_src/request_files/tutorial001_03_an_py39.py

    from typing import Annotated
    
    from fastapi import FastAPI, File, UploadFile
    
    app = FastAPI()
    
    
    @app.post("/files/")
    async def create_file(file: Annotated[bytes, File(description="A file read as bytes")]):
        return {"file_size": len(file)}
    
    
    @app.post("/uploadfile/")
    async def create_upload_file(
        file: Annotated[UploadFile, File(description="A file read as UploadFile")],
    ):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 421 bytes
    - Viewed (0)
  9. android/guava-tests/benchmark/com/google/common/hash/ChecksumBenchmark.java

        }
        return result;
      }
    
      // CRC32C
    
      @Benchmark
      byte crc32cHashFunction(int reps) {
        return runHashFunction(reps, Hashing.crc32c());
      }
    
      // Adler32
    
      @Benchmark
      byte adler32HashFunction(int reps) {
        return runHashFunction(reps, Hashing.adler32());
      }
    
      @Benchmark
      byte adler32Checksum(int reps) throws Exception {
        byte result = 0x01;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 16:53:43 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/trans2/Trans2FindNext2.java

            this.flags2 = 0;
        }
    
    
        @Override
        protected int writeSetupWireFormat ( byte[] dst, int dstIndex ) {
            dst[ dstIndex++ ] = getSubCommand();
            dst[ dstIndex++ ] = (byte) 0x00;
            return 2;
        }
    
    
        @Override
        protected int writeParametersWireFormat ( byte[] dst, int dstIndex ) {
            int start = dstIndex;
    
            SMBUtil.writeInt2(this.sid, dst, dstIndex);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.8K bytes
    - Viewed (0)
Back to top