- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 1,107 for Len (0.03 sec)
-
src/archive/zip/reader.go
idir, ielem, _ := split(a.name) if dir != idir { return strings.Compare(idir, dir) } return strings.Compare(ielem, elem) }) if i < len(files) { fname := files[i].name if fname == name || len(fname) == len(name)+1 && fname[len(name)] == '/' && fname[:len(name)] == name { return &files[i] } } return nil } func (r *Reader) openReadDir(dir string) []fileListEntry { files := r.fileList
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Sat Aug 03 01:05:29 UTC 2024 - 28.1K bytes - Viewed (0) -
cmd/signature-v4-parser.go
creds := strings.SplitN(strings.TrimSpace(credElement), "=", 2) if len(creds) != 2 { return ch, ErrMissingFields } if creds[0] != "Credential" { return ch, ErrMissingCredTag } credElements := strings.Split(strings.TrimSpace(creds[1]), SlashSeparator) if len(credElements) < 5 { return ch, ErrCredMalformed } accessKey := strings.Join(credElements[:len(credElements)-4], SlashSeparator) // The access key may contain one or more `/`
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 9.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans/TransCallNamedPipe.java
* @param data * @param off * @param len */ public TransCallNamedPipe ( Configuration config, String pipeName, byte[] data, int off, int len ) { super(config, SMB_COM_TRANSACTION, TRANS_CALL_NAMED_PIPE); this.name = pipeName; this.pipeData = data; this.pipeDataOff = off; this.pipeDataLen = len; this.timeout = 0xFFFFFFFF; this.maxParameterCount = 0;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 3.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans/TransTransactNamedPipe.java
* @param fid * @param data * @param off * @param len */ public TransTransactNamedPipe ( Configuration config, int fid, byte[] data, int off, int len ) { super(config, SMB_COM_TRANSACTION, TRANS_TRANSACT_NAMED_PIPE); this.pipeFid = fid; this.pipeData = data; this.pipeDataOff = off; this.pipeDataLen = len; this.maxParameterCount = 0; this.maxDataCount = 0xFFFF;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 3.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/TransCallNamedPipeResponse.java
return 0; } int readSetupWireFormat( byte[] buffer, int bufferIndex, int len ) { return 0; } int readParametersWireFormat( byte[] buffer, int bufferIndex, int len ) { return 0; } int readDataWireFormat( byte[] buffer, int bufferIndex, int len ) { if( pipe.pipeIn != null ) { TransactNamedPipeInputStream in = (TransactNamedPipeInputStream)pipe.pipeIn;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 2K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileOutputStream.java
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sat Nov 13 15:14:04 UTC 2021 - 11.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/TestCharSink.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 2K bytes - Viewed (0) -
internal/etag/etag.go
return nil, fmt.Errorf("etag: invalid length %d", len(etag)) } return ETag(etag), nil } prefix, suffix := s[:n], s[n:] if len(prefix) != 32 { return nil, fmt.Errorf("etag: invalid prefix length %d", len(prefix)) } if len(suffix) <= 1 { return nil, errors.New("etag: suffix is not a part number") } etag, err := hex.DecodeString(prefix) if err != nil { return nil, err }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Mar 10 21:09:36 UTC 2024 - 13.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/SocketInputStream.java
} /* This method will not return until len bytes have been read * or the stream has been closed. */ public synchronized int read( byte[] b, int off, int len ) throws IOException { if( len == 0 ) { return 0; } tot = 0; while( true ) { while( bip > 0 ) { n = in.read( b, off, Math.min( len, bip )); if( n == -1 ) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 3.3K bytes - Viewed (0) -
internal/grid/benchmark_test.go
n := 0 var latency int64 managers := grid.Managers hosts := grid.Hosts for pb.Next() { // Pick a random manager. src, dst := rng.Intn(len(managers)), rng.Intn(len(managers)) if src == dst { dst = (dst + 1) % len(managers) } local := managers[src] conn := local.Connection(hosts[dst]) if conn == nil { b.Fatal("No connection") }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jun 07 15:51:52 UTC 2024 - 15.7K bytes - Viewed (0)