- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 1,107 for Len (0.01 sec)
-
src/main/java/jcifs/smb/SmbRandomAccessFile.java
public void write ( byte b[], int off, int len ) throws SmbException { if ( len <= 0 ) { return; } // ensure file is open try ( SmbFileHandleImpl fh = ensureOpen(); SmbTreeHandleImpl th = fh.getTree() ) { int w; do { w = len > this.writeSize ? this.writeSize : len; long cnt;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Wed Jan 08 12:01:33 UTC 2020 - 18.5K bytes - Viewed (0) -
src/main/java/jcifs/util/ByteEncodable.java
public class ByteEncodable implements Encodable { private byte[] bytes; private int off; private int len; /** * @param b * @param off * @param len */ public ByteEncodable ( byte[] b, int off, int len ) { this.bytes = b; this.off = off; this.len = len; } /** * {@inheritDoc} * * @see jcifs.Encodable#size() */
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 1.6K bytes - Viewed (0) -
internal/grid/types_test.go
} var v2 MSS left, err := v2.UnmarshalMsg(bts) if err != nil { t.Fatal(err) } if len(left) != 0 { t.Errorf("%d bytes left over after UnmarshalMsg(): %q", len(left), left) } left, err = msgp.Skip(bts) if err != nil { t.Fatal(err) } if len(left) > 0 { t.Errorf("%d bytes left over after Skip(): %q", len(left), left) } if !reflect.DeepEqual(v, v2) { t.Errorf("MSS: %v != %v", v, v2) } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Nov 21 01:09:35 UTC 2023 - 3.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 10.9K bytes - Viewed (0) -
callbacks/preload.go
inlineConds []interface{} ) if rel.JoinTable != nil { var ( joinForeignFields = make([]*schema.Field, 0, len(rel.References)) joinRelForeignFields = make([]*schema.Field, 0, len(rel.References)) joinForeignKeys = make([]string, 0, len(rel.References)) ) for _, ref := range rel.References { if ref.OwnPrimaryKey {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Wed Jun 12 10:52:33 UTC 2024 - 11.6K bytes - Viewed (0) -
callbacks/create.go
for _, c := range db.Statement.Schema.CreateClauses { db.Statement.AddClause(c) } } if supportReturning && len(db.Statement.Schema.FieldsWithDefaultDBValue) > 0 { if _, ok := db.Statement.Clauses["RETURNING"]; !ok { fromColumns := make([]clause.Column, 0, len(db.Statement.Schema.FieldsWithDefaultDBValue)) for _, field := range db.Statement.Schema.FieldsWithDefaultDBValue {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Apr 08 03:29:55 UTC 2024 - 12.5K bytes - Viewed (0) -
cmd/metacache_gen_test.go
t.Fatal(err) } left, err := v.UnmarshalMsg(bts) if err != nil { t.Fatal(err) } if len(left) > 0 { t.Errorf("%d bytes left over after UnmarshalMsg(): %q", len(left), left) } left, err = msgp.Skip(bts) if err != nil { t.Fatal(err) } if len(left) > 0 { t.Errorf("%d bytes left over after Skip(): %q", len(left), left) } } func BenchmarkMarshalMsgmetacache(b *testing.B) { v := metacache{}
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Apr 23 18:58:53 UTC 2021 - 2.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/Trans2GetDfsReferralResponse.java
path = readString( buffer, start + pathOffset, len, (flags2 & FLAGS2_UNICODE) != 0); if (nodeOffset > 0) node = readString( buffer, start + nodeOffset, len, (flags2 & FLAGS2_UNICODE) != 0); } else if( version == 1 ) { node = readString( buffer, bufferIndex, len, (flags2 & FLAGS2_UNICODE) != 0); } return size; }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 5K bytes - Viewed (0) -
cmd/local-locker.go
} func (l *localLocker) stats() lockStats { l.mutex.Lock() defer l.mutex.Unlock() st := lockStats{Total: len(l.lockMap)} for _, v := range l.lockMap { if len(v) == 0 { continue } entry := v[0] if entry.Writer { st.Writes++ } else { st.Reads += len(v) } } return st } type localLockMap map[string][]lockRequesterInfo
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jul 24 10:24:01 UTC 2024 - 10.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponse.java
return 0; } @Override protected int readParametersWireFormat ( byte[] buffer, int bufferIndex, int len ) { return 0; } @Override protected int readDataWireFormat ( byte[] buffer, int bufferIndex, int len ) throws SMBProtocolDecodingException { if ( len > this.outputBuffer.length ) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Mon Apr 13 17:05:22 UTC 2020 - 2.5K bytes - Viewed (0)