Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 323 for offcut (0.21 sec)

  1. src/main/java/jcifs/smb1/util/MD4.java

         *
         * @param    input    input block
         * @param    offset    start of meaningful bytes in input
         * @param    len        count of bytes in input block to consider
         */
        public void engineUpdate (byte[] input, int offset, int len) {
            // make sure we don't exceed input's allocated size/length
            if (offset < 0 || len < 0 || (long)offset + len > input.length)
                throw new ArrayIndexOutOfBoundsException();
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 9.3K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.cc

        const auto& data = block->data;
        if (offset >= pos + data.size()) {
          // The requested offset is at or beyond the end of the file. This can
          // happen if `offset` is not block-aligned, and the read returns the last
          // block in the file, which does not extend all the way out to `offset`.
          std::stringstream os;
          os << "EOF at offset " << offset << " in file " << filename
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 16 01:39:09 GMT 2020
    - 11.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/hash/Fingerprint2011.java

      }
    
      private static long hashLength33To64(byte[] bytes, int offset, int length) {
        long z = load64(bytes, offset + 24);
        long a = load64(bytes, offset) + (length + load64(bytes, offset + length - 16)) * K0;
        long b = rotateRight(a + z, 52);
        long c = rotateRight(a, 37);
        a += load64(bytes, offset + 8);
        c += rotateRight(a, 7);
        a += load64(bytes, offset + 16);
        long vf = a + z;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Dec 28 17:50:25 GMT 2021
    - 6.5K bytes
    - Viewed (0)
  4. src/archive/zip/struct.go

    // timeZone returns a *time.Location based on the provided offset.
    // If the offset is non-sensible, then this uses an offset of zero.
    func timeZone(offset time.Duration) *time.Location {
    	const (
    		minOffset   = -12 * time.Hour  // E.g., Baker island at -12:00
    		maxOffset   = +14 * time.Hour  // E.g., Line island at +14:00
    		offsetAlias = 15 * time.Minute // E.g., Nepal at +5:45
    	)
    	offset = offset.Round(offsetAlias)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 12.1K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/filesystem/plugins/posix/copy_file_portable.cc

      std::unique_ptr<char[]> buffer(new char[kPosixCopyFileBufferSize]);
    
      off_t offset = 0;
      int bytes_transferred = 0;
      int rc = 1;
      // When `sendfile` returns 0 we stop copying and let callers handle this.
      while (offset < size && rc > 0) {
        size_t chunk = size - offset;
        if (chunk > kPosixCopyFileBufferSize) chunk = kPosixCopyFileBufferSize;
    
        rc = read(src_fd, buffer.get(), chunk);
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Nov 22 21:23:55 GMT 2019
    - 1.9K bytes
    - Viewed (0)
  6. cmd/erasure-encode_test.go

    	{dataBlocks: 4, onDisks: 8, offDisks: 2, blocksize: int64(blockSizeV2), data: oneMiByte, offset: 2, algorithm: DefaultBitrotAlgorithm, shouldFail: false, shouldFailQuorum: false},                 // 2
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/netbios/NameServicePacket.java

            this.isBroadcast = ( ( src[ srcIndex + OPCODE_OFFSET + 1 ] & 0x10 ) == 0 ) ? false : true;
            this.resultCode = src[ srcIndex + OPCODE_OFFSET + 1 ] & 0x0F;
            this.questionCount = readInt2(src, srcIndex + QUESTION_OFFSET);
            this.answerCount = readInt2(src, srcIndex + ANSWER_OFFSET);
            this.authorityCount = readInt2(src, srcIndex + AUTHORITY_OFFSET);
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 12K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/AndXServerMessageBlock.java

                andx = null;
    
                dst[start + ANDX_COMMAND_OFFSET] = (byte)0xFF;
                dst[start + ANDX_RESERVED_OFFSET] = (byte)0x00;
    //            dst[start + ANDX_OFFSET_OFFSET] = (byte)0x00;
    //            dst[start + ANDX_OFFSET_OFFSET + 1] = (byte)0x00;
                dst[start + ANDX_OFFSET_OFFSET] = (byte)0xde;
                dst[start + ANDX_OFFSET_OFFSET + 1] = (byte)0xde;
    
                // andx not used; return
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 11.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbComWrite.java

        private int fid,
            count,
            offset,
            remaining,
            off;
        private byte[] b;
    
        SmbComWrite() {
            super();
            command = SMB_COM_WRITE;
        }
        SmbComWrite( int fid, int offset, int remaining, byte[] b, int off, int len ) {
            this.fid = fid;
            this.count = len;
            this.offset = offset;
            this.remaining = remaining;
            this.b = b;
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 3K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/-RequestBodyCommon.kt

      contentType: MediaType?,
      offset: Int,
      byteCount: Int,
    ): RequestBody {
      checkOffsetAndCount(size.toLong(), offset.toLong(), byteCount.toLong())
      return object : RequestBody() {
        override fun contentType() = contentType
    
        override fun contentLength() = byteCount.toLong()
    
        override fun writeTo(sink: BufferedSink) {
          sink.write(this@commonToRequestBody, offset, byteCount)
        }
      }
    }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.7K bytes
    - Viewed (0)
Back to top