Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 49 for pad (0.03 sec)

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

            } while( si < length );
    
            ps.println( c );
        }
    
    /** 
     * This is an alternative to the <code>java.lang.Integer.toHexString</cod>
     * method. It is an efficient relative that also will pad the left side so
     * that the result is <code>size</code> digits.
     */ 
        public static String toHexString( int val, int size ) {
            char[] c = new char[size];
            toHexChars( val, c, 0, size );
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 5.4K bytes
    - Viewed (0)
  2. docs/debugging/xattr/main.go

    	table.SetAlignment(tablewriter.ALIGN_LEFT)
    	table.SetCenterSeparator("")
    	table.SetColumnSeparator("")
    	table.SetRowSeparator("")
    	table.SetHeaderLine(false)
    	// table.EnableBorder(false)
    	table.SetTablePadding("\t") // pad with tabs
    	table.SetNoWhiteSpace(true)
    
    	if set {
    		if err := setxattr(path, name, value); err != nil {
    			log.Fatalln(fmt.Errorf("setting attribute %s failed with: %v", name, err))
    		}
    	} else {
    		if name == "" {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Dec 29 23:52:41 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

                System.arraycopy(buffer, hdrStart + securityBufferOffset, this.securityBuffer, 0, securityBufferLength);
                bufferIndex += securityBufferLength;
            }
    
            int pad = ( bufferIndex - hdrStart ) % 8;
            bufferIndex += pad;
    
            if ( this.dialectRevision == 0x0311 && negotiateContextOffset != 0 && negotiateContextCount != 0 ) {
                int ncpos = getHeaderStart() + negotiateContextOffset;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Mar 22 10:09:46 UTC 2020
    - 17.6K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_dataclasses/test_tutorial003.py

                "items": [
                    {
                        "name": "Salt",
                        "description": "The kombucha mushroom people's favorite",
                    },
                    {"name": "Pad Thai", "description": None},
                    {
                        "name": "Lonely Night",
                        "description": "The mostests lonliest nightiest of allest",
                    },
                ],
            },
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Jul 31 14:09:15 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/hash/AbstractStreamingHasher.java

       */
      protected void processRemaining(ByteBuffer bb) {
        Java8Compatibility.position(bb, bb.limit()); // move at the end
        Java8Compatibility.limit(bb, chunkSize + 7); // get ready to pad with longs
        while (bb.position() < chunkSize) {
          bb.putLong(0);
        }
        Java8Compatibility.limit(bb, chunkSize);
        Java8Compatibility.flip(bb);
        process(bb);
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 7.1K bytes
    - Viewed (0)
  6. src/archive/tar/reader.go

    		// Discard the remainder of the file and any padding.
    		if err := discard(tr.r, tr.curr.physicalRemaining()); err != nil {
    			return nil, err
    		}
    		if _, err := tryReadFull(tr.r, tr.blk[:tr.pad]); err != nil {
    			return nil, err
    		}
    		tr.pad = 0
    
    		hdr, rawHdr, err := tr.readHeader()
    		if err != nil {
    			return nil, err
    		}
    		if err := tr.handleRegularFile(hdr); err != nil {
    			return nil, err
    		}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Mar 08 01:59:14 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbTransportImpl.java

                    off += 27;
                    resp.decode(buffer, 4);
                    /* EMC can send pad w/o data */
                    int pad = r.getDataOffset() - off;
                    if ( r.getByteCount() > 0 && pad > 0 && pad < 4 )
                        readn(this.in, buffer, 4 + off, pad);
    
                    if ( r.getDataLength() > 0 ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 18 23:47:00 UTC 2023
    - 67K bytes
    - Viewed (0)
  8. api/go1.12.txt

    pkg syscall (windows-386), type RawSockaddrAny struct, Pad [100]int8
    pkg syscall (windows-386), type RawSockaddrUnix struct, Family uint16
    pkg syscall (windows-386), type RawSockaddrUnix struct, Path [108]int8
    pkg syscall (windows-amd64), const UNIX_PATH_MAX = 108
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Jan 02 21:21:53 UTC 2019
    - 13.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/util/MD4.java

         * as padding. At the return of this engineDigest, the MD engine is
         * reset.
         *
         * @return the array of bytes for the resulting hash value.
         */
        public byte[] engineDigest () {
            // pad output to 56 mod 64; as RFC1320 puts it: congruent to 448 mod 512
            int bufferNdx = (int)(count % BLOCK_LENGTH);
            int padLen = (bufferNdx < 56) ? (56 - bufferNdx) : (120 - bufferNdx);
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 9.3K bytes
    - Viewed (0)
  10. src/archive/tar/strconv.go

    	}
    
    	// Parse the nanoseconds.
    	if strings.Trim(sn, "0123456789") != "" {
    		return time.Time{}, ErrHeader
    	}
    	if len(sn) < maxNanoSecondDigits {
    		sn += strings.Repeat("0", maxNanoSecondDigits-len(sn)) // Right pad
    	} else {
    		sn = sn[:maxNanoSecondDigits] // Right truncate
    	}
    	nsecs, _ := strconv.ParseInt(sn, 10, 64) // Must succeed
    	if len(ss) > 0 && ss[0] == '-' {
    		return time.Unix(secs, -1*nsecs), nil // Negative correction
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Aug 01 14:28:42 UTC 2023
    - 9K bytes
    - Viewed (0)
Back to top