- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for connectTree (0.08 sec)
-
src/main/java/jcifs/smb/SmbTreeConnection.java
if ( !session.isFailed() ) { try ( SmbTransportImpl trans = session.getTransport(); SmbTreeImpl ct = connectTree(loc, host, t.getShare(), trans, t, null) ) { switchTree(ct); return new SmbTreeHandleImpl(loc, this); } }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Tue Jul 07 10:50:16 UTC 2020 - 31K bytes - Viewed (0) -
internal/grid/msg.go
} type sender interface { msgp.MarshalSizer Op() Op } type connectReq struct { ID [16]byte Host string Time time.Time Token string } // addToken will add the token to the connect request. func (c *connectReq) addToken(fn AuthFn) { c.Token = fn() } func (connectReq) Op() Op { return OpConnect } type connectResp struct { ID [16]byte
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jul 25 21:07:21 UTC 2024 - 7.6K bytes - Viewed (0) -
internal/grid/msg_gen_test.go
} } func BenchmarkMarshalMsgconnectReq(b *testing.B) { v := connectReq{} b.ReportAllocs() b.ResetTimer() for i := 0; i < b.N; i++ { v.MarshalMsg(nil) } } func BenchmarkAppendMsgconnectReq(b *testing.B) { v := connectReq{} bts := make([]byte, 0, v.Msgsize()) bts, _ = v.MarshalMsg(bts[0:0]) b.SetBytes(int64(len(bts))) b.ReportAllocs()
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jul 25 21:07:21 UTC 2024 - 12.9K bytes - Viewed (0) -
internal/grid/msg_gen.go
// Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message func (z Op) Msgsize() (s int) { s = msgp.Uint8Size return } // DecodeMsg implements msgp.Decodable func (z *connectReq) DecodeMsg(dc *msgp.Reader) (err error) { var field []byte _ = field var zb0001 uint32 zb0001, err = dc.ReadMapHeader() if err != nil { err = msgp.WrapError(err) return } for zb0001 > 0 {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jul 25 21:07:21 UTC 2024 - 22.4K bytes - Viewed (0) -
internal/grid/manager.go
return } if message.Op != OpConnect { writeErr(fmt.Errorf("unexpected connect op: %v", message.Op)) return } var cReq connectReq _, err = cReq.UnmarshalMsg(message.Payload) if err != nil { writeErr(fmt.Errorf("error parsing connectReq: %w", err)) return } remote := m.targets[cReq.Host] if remote == nil { writeErr(fmt.Errorf("unknown incoming host: %v", cReq.Host)) return
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 29 18:10:04 UTC 2024 - 10.6K bytes - Viewed (0) -
internal/grid/connection.go
c.updateState(StateConnectionError) time.Sleep(sleep) } if err != nil { retry(err) continue } // Send connect message. m := message{ Op: OpConnect, } req := connectReq{ Host: c.Local, ID: c.id, Time: time.Now(), } req.addToken(c.authFn) err = c.sendMsg(conn, m, &req) if err != nil { retry(err) continue } // Wait for response
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 29 18:10:04 UTC 2024 - 46.7K bytes - Viewed (0)