Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 253 for cond (0.95 sec)

  1. 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 Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 7K bytes
    - Viewed (0)
  2. mockwebserver/src/test/java/mockwebserver3/CustomDispatcherTest.kt

        path: String,
        responseCode: AtomicInteger,
      ): Thread =
        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 Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 3.2K bytes
    - Viewed (1)
  3. internal/deadlineconn/deadlineconn.go

    }
    
    // Unwrap will unwrap the connection and remove the deadline if applied.
    // If not a *DeadlineConn, the unmodified net.Conn is returned.
    func Unwrap(c net.Conn) net.Conn {
    	if dc, ok := c.(*DeadlineConn); ok {
    		return dc.Conn
    	}
    	return c
    }
    
    // Sets read deadline
    func (c *DeadlineConn) setReadDeadline() {
    	// Do not set a Read deadline, if upstream wants to cancel all reads.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Mon Dec 02 13:21:17 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  4. .github/workflows/iam-integrations.yaml

              _MINIO_ETCD_TEST_SERVER: ${{ matrix.etcd }}
              _MINIO_OPENID_TEST_SERVER: ${{ matrix.openid }}
            run: |
              sudo sysctl net.ipv6.conf.all.disable_ipv6=0
              sudo sysctl net.ipv6.conf.default.disable_ipv6=0
              make test-iam
          - name: Test with multiple OpenID providers
            if: matrix.openid == 'http://127.0.0.1:5556/dex'
            env:
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  5. internal/http/listener.go

    func (listener *httpListener) Accept() (conn net.Conn, err error) {
    	select {
    	case result := <-listener.acceptCh:
    		if result.err != nil {
    			return nil, result.err
    		}
    		return deadlineconn.New(result.conn).WithReadDeadline(listener.opts.IdleTimeout).WithWriteDeadline(listener.opts.IdleTimeout), result.err
    	case <-listener.ctxDoneCh:
    	}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  6. internal/event/target/redis.go

    		Dial: func() (redis.Conn, error) {
    			conn, err := redis.Dial("tcp", args.Addr.String())
    			if err != nil {
    				return nil, err
    			}
    
    			if args.Password != "" {
    				if args.User != "" {
    					if _, err = conn.Do("AUTH", args.User, args.Password); err != nil {
    						conn.Close()
    						return nil, err
    					}
    				} else {
    					if _, err = conn.Do("AUTH", args.Password); err != nil {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  7. apache-maven/src/assembly/maven/conf/maven-system.properties

    maven.installation.toolchains = ${maven.installation.conf}/toolchains.xml
    maven.user.toolchains         = ${maven.user.conf}/toolchains.xml
    
    #
    # Extensions
    #
    maven.installation.extensions = ${maven.installation.conf}/extensions.xml
    maven.project.extensions      = ${maven.project.conf}/extensions.xml
    maven.user.extensions         = ${maven.user.conf}/extensions.xml
    
    #
    # Maven central repository URL.
    #
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Jul 03 14:18:26 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  8. statement.go

    								where.Exprs[0] = clause.AndConditions(orConds)
    							}
    						}
    					}
    					conds = append(conds, clause.And(where.Exprs...))
    				} else if cs.Expression != nil {
    					conds = append(conds, cs.Expression)
    				}
    			}
    		case map[interface{}]interface{}:
    			for i, j := range v {
    				conds = append(conds, clause.Eq{Column: i, Value: j})
    			}
    		case map[string]string:
    			keys := make([]string, 0, len(v))
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Fri Sep 12 04:33:27 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  9. cmd/warm-backend-minio.go

    }
    
    func newWarmBackendMinIO(conf madmin.TierMinIO, tier string) (*warmBackendMinIO, error) {
    	// Validation of credentials
    	if conf.AccessKey == "" || conf.SecretKey == "" {
    		return nil, errors.New("both access and secret keys are required")
    	}
    
    	if conf.Bucket == "" {
    		return nil, errors.New("no bucket name was provided")
    	}
    
    	u, err := url.Parse(conf.Endpoint)
    	if err != nil {
    		return nil, err
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 4K bytes
    - Viewed (1)
  10. internal/http/dial_linux.go

    // NewInternodeDialContext setups a custom dialer for internode communication
    func NewInternodeDialContext(dialTimeout time.Duration, opts TCPOptions) DialContext {
    	return func(ctx context.Context, network, addr string) (net.Conn, error) {
    		dialer := &net.Dialer{
    			Timeout: dialTimeout,
    			Control: setTCPParametersFn(opts),
    		}
    		conn, err := dialer.DialContext(ctx, network, addr)
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Jul 23 10:53:03 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top