Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 182 for connected (0.09 sec)

  1. internal/rest/client.go

    func (c *Client) Close() {
    	atomic.StoreInt32(&c.connected, closed)
    }
    
    // NewClient - returns new REST client.
    func NewClient(uu *url.URL, tr http.RoundTripper, auth func() string) *Client {
    	connected := int32(online)
    	urlStr := uu.String()
    	u, err := url.Parse(urlStr)
    	if err != nil {
    		// Mark offline, with no reconnection attempts.
    		connected = int32(offline)
    		err = &url.Error{URL: urlStr, Err: err}
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 26 12:55:01 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/RangeTest.java

        assertTrue(Range.closed(3, 5).isConnected(Range.open(5, 6)));
        assertTrue(Range.closed(3, 5).isConnected(Range.closed(5, 6)));
        assertTrue(Range.closed(5, 6).isConnected(Range.closed(3, 5)));
        assertTrue(Range.closed(3, 5).isConnected(Range.openClosed(5, 5)));
        assertTrue(Range.open(3, 5).isConnected(Range.closed(5, 6)));
        assertTrue(Range.closed(3, 7).isConnected(Range.open(6, 8)));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  3. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/client/FesenClient.java

        }
    
        public void addOnConnectListener(final OnConnectListener listener) {
            onConnectListenerList.add(listener);
        }
    
        public boolean connected() {
            return connected;
        }
    
        public void connect() {
            destroy();
            client = createClient();
    
            final ClusterHealthResponse healthResponse =
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Range.java

       *
       * <p>For example,
       *
       * <ul>
       *   <li>{@code [2, 4)} and {@code [5, 7)} are not connected
       *   <li>{@code [2, 4)} and {@code [3, 5)} are connected, because both enclose {@code [3, 4)}
       *   <li>{@code [2, 4)} and {@code [4, 6)} are connected, because both enclose the empty range
       *       {@code [4, 4)}
       * </ul>
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Range.java

       *
       * <p>For example,
       *
       * <ul>
       *   <li>{@code [2, 4)} and {@code [5, 7)} are not connected
       *   <li>{@code [2, 4)} and {@code [3, 5)} are connected, because both enclose {@code [3, 4)}
       *   <li>{@code [2, 4)} and {@code [4, 6)} are connected, because both enclose the empty range
       *       {@code [4, 4)}
       * </ul>
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  6. internal/store/store.go

    )
    
    type logger = func(ctx context.Context, err error, id string, errKind ...interface{})
    
    // ErrNotConnected - indicates that the target connection is not active.
    var ErrNotConnected = errors.New("not connected to target server/service")
    
    // Target - store target interface
    type Target interface {
    	Name() string
    	SendFromStore(key Key) error
    }
    
    // Store - Used to persist items.
    type Store[I any] interface {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  7. cmd/storage-interface.go

    	// of this function is to know if the "drive" has "format.json" or not
    	// if it has a "format.json" then is it correct "format.json" or not.
    	IsOnline() bool
    
    	// Returns the last time this disk (re)-connected
    	LastConn() time.Time
    
    	// Indicates if disk is local or not.
    	IsLocal() bool
    
    	// Returns hostname if disk is remote.
    	Hostname() string
    
    	// Returns the entire endpoint.
    	Endpoint() Endpoint
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Aug 12 08:38:15 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/TreeRangeMapTest.java

        assertEquals(
            ImmutableMap.of(Range.closedOpen(0, 1), 1, Range.closedOpen(1, 2), 1),
            rangeMap.asMapOfRanges());
    
        rangeMap.putCoalescing(Range.closedOpen(1, 1), 1); // empty range coalesces connected ranges
        assertEquals(ImmutableMap.of(Range.closedOpen(0, 2), 1), rangeMap.asMapOfRanges());
      }
    
      public void testPutCoalescingSubmapEmpty() {
        RangeMap<Integer, Integer> rangeMap = TreeRangeMap.create();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sun Oct 06 13:04:03 UTC 2024
    - 29.9K bytes
    - Viewed (0)
  9. docs/en/docs/advanced/events.md

    So, we declare the event handler function with standard `def` instead of `async def`.
    
    ///
    
    ### `startup` and `shutdown` together
    
    There's a high chance that the logic for your *startup* and *shutdown* is connected, you might want to start something and then finish it, acquire a resource and then release it, etc.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 28 10:36:22 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  10. internal/config/lambda/target/webhook.go

    	if err := target.init(); err != nil {
    		return false, err
    	}
    	return target.isActive()
    }
    
    // errNotConnected - indicates that the target connection is not active.
    var errNotConnected = errors.New("not connected to target server/service")
    
    func (target *WebhookTarget) isActive() (bool, error) {
    	ctx, cancel := context.WithTimeout(context.Background(), 5*time.Second)
    	defer cancel()
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 08 21:39:49 UTC 2024
    - 6.7K bytes
    - Viewed (0)
Back to top