Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 157 for writeInt4 (0.1 sec)

  1. okhttp/src/test/java/okhttp3/internal/http2/HpackTest.kt

      }
    
      @Test
      fun writeSingleByteInt() {
        hpackWriter!!.writeInt(10, 31, 0)
        assertBytes(10)
        hpackWriter!!.writeInt(10, 31, 0xe0)
        assertBytes(0xe0 or 10)
      }
    
      @Test
      fun writeMultibyteInt() {
        hpackWriter!!.writeInt(1337, 31, 0)
        assertBytes(31, 154, 10)
        hpackWriter!!.writeInt(1337, 31, 0xe0)
        assertBytes(0xe0 or 31, 154, 10)
      }
    
      @Test
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 38.2K bytes
    - Viewed (0)
  2. cmd/mrf_gen.go

    	if err != nil {
    		return
    	}
    	err = en.WriteInt(z.SetIndex)
    	if err != nil {
    		err = msgp.WrapError(err, "SetIndex")
    		return
    	}
    	// write "PoolIndex"
    	err = en.Append(0xa9, 0x50, 0x6f, 0x6f, 0x6c, 0x49, 0x6e, 0x64, 0x65, 0x78)
    	if err != nil {
    		return
    	}
    	err = en.WriteInt(z.PoolIndex)
    	if err != nil {
    		err = msgp.WrapError(err, "PoolIndex")
    		return
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:26:05 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/publicsuffix/PublicSuffixListGenerator.kt

        val totalRuleBytes: Int,
        val totalExceptionRuleBytes: Int,
      ) {
        fun writeOut(sink: BufferedSink) {
          with(sink) {
            writeInt(totalRuleBytes)
            for (domain in sortedRules) {
              write(domain).writeByte(NEWLINE)
            }
            writeInt(totalExceptionRuleBytes)
            for (domain in sortedExceptionRules) {
              write(domain).writeByte(NEWLINE)
            }
          }
        }
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 18 01:24:38 UTC 2024
    - 6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbComClose.java

            this.fid = fid;
            this.lastWriteTime = lastWriteTime;
            command = SMB_COM_CLOSE;
        }
    
        int writeParameterWordsWireFormat( byte[] dst, int dstIndex ) {
            writeInt2( fid, dst, dstIndex );
            dstIndex += 2;
            writeUTime( lastWriteTime, dst, dstIndex );
            return 6;
        }
        int writeBytesWireFormat( byte[] dst, int dstIndex ) {
            return 0;
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 1.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/Trans2GetDfsReferral.java

            dst[dstIndex++] = subCommand;
            dst[dstIndex++] = (byte)0x00;
            return 2;
        }
        int writeParametersWireFormat( byte[] dst, int dstIndex ) {
            int start = dstIndex;
    
            writeInt2( maxReferralLevel, dst, dstIndex );
            dstIndex += 2;
            dstIndex += writeString( path, dst, dstIndex );
    
            return dstIndex - start;
        }
        int writeDataWireFormat( byte[] dst, int dstIndex ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 2.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/TransPeekNamedPipe.java

        }
    
        int writeSetupWireFormat( byte[] dst, int dstIndex ) {
            dst[dstIndex++] = subCommand;
            dst[dstIndex++] = (byte)0x00;
            // this says "Transaction priority" in netmon
            writeInt2( fid, dst, dstIndex );
            return 4;
        }
        int readSetupWireFormat( byte[] buffer, int bufferIndex, int len ) {
            return 0;
        }
        int writeParametersWireFormat( byte[] dst, int dstIndex ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 2.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/Smb2EchoRequest.java

         * @see jcifs.internal.smb2.ServerMessageBlock2#writeBytesWireFormat(byte[], int)
         */
        @Override
        protected int writeBytesWireFormat ( byte[] dst, int dstIndex ) {
            int start = dstIndex;
            SMBUtil.writeInt2(4, dst, dstIndex);
            dstIndex += 4;
            return dstIndex - start;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb2.ServerMessageBlock2#readBytesWireFormat(byte[], int)
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

            SMBUtil.writeInt2(this.flags2, dst, dstIndex + SmbConstants.FLAGS_OFFSET + 1);
            dstIndex += SmbConstants.TID_OFFSET;
            SMBUtil.writeInt2(this.tid, dst, dstIndex);
            SMBUtil.writeInt2(this.pid, dst, dstIndex + 2);
            SMBUtil.writeInt2(this.uid, dst, dstIndex + 4);
            SMBUtil.writeInt2(this.mid, dst, dstIndex + 6);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 05 09:45:59 UTC 2018
    - 32.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbComRename.java

            this.newFileName = newFileName;
            searchAttributes = ATTR_HIDDEN | ATTR_SYSTEM | ATTR_DIRECTORY;
        }
    
        int writeParameterWordsWireFormat( byte[] dst, int dstIndex ) {
            writeInt2( searchAttributes, dst, dstIndex );
            return 2;
        }
        int writeBytesWireFormat( byte[] dst, int dstIndex ) {
            int start = dstIndex;
    
            dst[dstIndex++] = (byte)0x04;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 2.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/fscc/FileInternalInfo.java

            return 8;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Encodable#encode(byte[], int)
         */
        @Override
        public int encode ( byte[] dst, int dstIndex ) {
            SMBUtil.writeInt8(this.indexNumber, dst, dstIndex);
            return 8;
        }
    
    
        @Override
        public String toString () {
            return new String("SmbQueryFileInternalInfo[" + "indexNumber=" + this.indexNumber + "]");
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.2K bytes
    - Viewed (0)
Back to top