Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for pad (0.01 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbComTransaction.java

                    pad = parameterOffset % PADDING_SIZE;
                    pad = pad == 0 ? 0 : PADDING_SIZE - pad;
                    parameterOffset += pad;
                }
    
                // caclulate parameterDisplacement before calculating new parameterCount
                parameterDisplacement += parameterCount;
    
                int available = maxBufferSize - parameterOffset - pad;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 10.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/trans/SmbComTransaction.java

                if ( this.getCommand() == SMB_COM_TRANSACTION && isResponse() == false ) {
                    this.parameterOffset += stringWireLength(this.name, this.parameterOffset);
                }
    
                this.pad1 = pad(this.parameterOffset);
                this.parameterOffset += this.pad1;
    
                this.totalParameterCount = writeParametersWireFormat(this.txn_buf, this.bufParameterOffset);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun May 17 13:43:42 UTC 2020
    - 13.2K bytes
    - Viewed (0)
  3. src/archive/tar/writer.go

    	if tw.err != nil {
    		return tw.err
    	}
    	if nb := tw.curr.logicalRemaining(); nb > 0 {
    		return fmt.Errorf("archive/tar: missed writing %d bytes", nb)
    	}
    	if _, tw.err = tw.w.Write(zeroBlock[:tw.pad]); tw.err != nil {
    		return tw.err
    	}
    	tw.pad = 0
    	return nil
    }
    
    // WriteHeader writes hdr and prepares to accept the file's contents.
    // The Header.Size determines how many bytes can be written for the next file.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 02 14:22:59 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java

                    SMBUtil.writeInt4(len, dst, dataLengthOffset);
                    dstIndex += len;
    
                    int pad = pad8(dstIndex);
                    totalCreateContextLength += len + pad;
                    dstIndex += pad;
                    lastStart = structStart;
                }
            }
            SMBUtil.writeInt4(totalCreateContextLength, dst, createContextLengthOffset);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jun 01 09:52:11 UTC 2019
    - 14.3K bytes
    - Viewed (0)
  5. compat/maven-embedder/src/main/java/org/apache/maven/cli/event/ExecutionEventLogger.java

                    }
                    String progress = " [" + number + '/' + totalProjects + ']';
    
                    int pad = lineLength - building.length() - progress.length();
    
                    infoMain(building + ((pad > 0) ? chars(' ', pad) : "") + progress);
                }
    
                // path to pom.xml
                File currentPom = project.getFile();
                if (currentPom != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbTransport.java

                    resp.decode( BUF, 4 );
                                                  /* EMC can send pad w/o data */
                    int pad = r.dataOffset - off;
                    if (r.byteCount > 0 && pad > 0 && pad < 4)
                        readn( in, BUF, 4 + off, pad);
    
                    if (r.dataLength > 0)
                        readn( in, r.b, r.off, r.dataLength );  /* read direct */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 31.2K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top