- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 83 for conns (0.03 sec)
-
internal/grid/connection.go
} // monitorState will monitor the state of the connection and close the net.Conn if it changes. func (c *Connection) monitorState(conn net.Conn, cancel context.CancelCauseFunc) { c.connChange.L.Lock() defer c.connChange.L.Unlock() for { newState := c.State() if newState != StateConnected { conn.Close() cancel(ErrDisconnected) return } // Unlock and wait for state change.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 29 18:10:04 UTC 2024 - 46.7K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTransportPoolImpl.java
for ( SmbTransportImpl conn : this.connections ) { if ( conn.matches(address, port, localAddr, localPort, hostName) && ( tc.getConfig().getSessionLimit() == 0 || conn.getNumSessions() < tc.getConfig().getSessionLimit() ) ) { try { if ( conn.isFailed() || ( connectedOnly && conn.isDisconnected() ) ) { continue;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Dec 20 14:09:34 UTC 2020 - 12.5K bytes - Viewed (0) -
statement.go
if len(values) > 0 { conds = append(conds, clause.IN{Column: clause.PrimaryColumn, Values: values}) return []clause.Expression{clause.And(conds...)} } return nil } } conds = append(conds, clause.IN{Column: clause.PrimaryColumn, Values: args}) } } } if len(conds) > 0 { return []clause.Expression{clause.And(conds...)} } return nil }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Jun 24 09:42:59 UTC 2024 - 19.9K bytes - Viewed (0) -
cmd/peer-s3-client.go
return buckets, nil } func (client *remotePeerS3Client) HealBucket(ctx context.Context, bucket string, opts madmin.HealOpts) (madmin.HealResultItem, error) { conn := client.gridConn() if conn == nil { return madmin.HealResultItem{}, nil } mss := grid.NewMSSWith(map[string]string{ peerS3Bucket: bucket, peerS3BucketDeleted: strconv.FormatBool(opts.Remove), })
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Aug 13 22:26:05 UTC 2024 - 15.4K bytes - Viewed (0) -
internal/kms/kms.go
// MinKMS, MinKES or Builtin. Type Type // The default key, used for generating new data keys // if no explicit GenerateKeyRequest.Name is provided. DefaultKey string conn conn // Connection to the KMS // Metrics reqOK, reqErr, reqFail atomic.Uint64 latencyBuckets []time.Duration // expected to be sorted latency []atomic.Uint64 }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Aug 18 06:43:03 UTC 2024 - 11.5K bytes - Viewed (0) -
internal/config/identity/ldap/ldap.go
var err error conn, err = l.LDAP.Connect() if err != nil { return nil, false, err } defer conn.Close() // Bind to the lookup user account if err = l.LDAP.LookupBind(conn); err != nil { return nil, false, err } } return l.GetValidatedDNUnderBaseDN(conn, groupDN, l.LDAP.GetGroupSearchBaseDistNames(), nil) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jul 12 01:04:53 UTC 2024 - 12.4K bytes - Viewed (0) -
internal/grid/grid.go
// There should be no retries in this function, // and should have a timeout of something like 2 seconds. // The returned net.Conn should also have quick disconnect on errors. // The net.Conn must support all features as described by the net.Conn interface. type ConnDialer func(ctx context.Context, address string) (net.Conn, error) // ConnectWSWithRoutePath is like ConnectWS but with a custom grid route path.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 29 18:10:04 UTC 2024 - 6.9K bytes - Viewed (0) -
api/go1.9.txt
pkg database/sql, method (*Conn) BeginTx(context.Context, *TxOptions) (*Tx, error) pkg database/sql, method (*Conn) Close() error pkg database/sql, method (*Conn) ExecContext(context.Context, string, ...interface{}) (Result, error) pkg database/sql, method (*Conn) PingContext(context.Context) error pkg database/sql, method (*Conn) PrepareContext(context.Context, string) (*Stmt, error)
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Oct 04 20:20:20 UTC 2021 - 10.7K bytes - Viewed (0) -
internal/deadlineconn/deadlineconn.go
return c } // WithWriteDeadline sets a new write side net.Conn deadline. func (c *DeadlineConn) WithWriteDeadline(d time.Duration) *DeadlineConn { c.writeDeadline = d return c } // New - creates a new connection object wrapping net.Conn with deadlines. func New(c net.Conn) *DeadlineConn { return &DeadlineConn{ Conn: c, }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jul 26 17:40:11 UTC 2024 - 2.6K bytes - Viewed (0) -
mockwebserver/src/test/java/mockwebserver3/CustomDispatcherTest.kt
path: String, responseCode: AtomicInteger, ): Thread { return Thread { val url = mockWebServer.url(path).toUrl() val conn: HttpURLConnection try { conn = url.openConnection() as HttpURLConnection responseCode.set(conn.responseCode) // Force the connection to hit the "server". } catch (ignored: IOException) { } } }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.3K bytes - Viewed (0)