Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 103 for disconnect (0.05 seconds)

  1. src/bufio/example_test.go

    // Use a Scanner to implement a simple word-count utility by scanning the
    // input as a sequence of space-delimited tokens.
    func ExampleScanner_words() {
    	// An artificial input source.
    	const input = "Now is the winter of our discontent,\nMade glorious summer by this sun of York.\n"
    	scanner := bufio.NewScanner(strings.NewReader(input))
    	// Set the split function for the scanning operation.
    	scanner.Split(bufio.ScanWords)
    	// Count the words.
    	count := 0
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Nov 01 21:52:12 GMT 2024
    - 5.5K bytes
    - Click Count (0)
  2. cmd/speedtest.go

    			result.Concurrent = concurrency
    
    			select {
    			case ch <- result:
    			case <-ctx.Done():
    				return
    			}
    		}
    
    		for {
    			select {
    			case <-ctx.Done():
    				// If the client got disconnected stop the speedtest.
    				return
    			default:
    			}
    
    			sopts := speedTestOpts{
    				objectSize:      opts.objectSize,
    				concurrency:     concurrency,
    				duration:        opts.duration,
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue May 27 15:19:03 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  3. cmd/handler-api.go

    			if contextCanceled(ctx) {
    				w.WriteHeader(499)
    				return
    			}
    			f.ServeHTTP(w, r)
    		case <-r.Context().Done():
    			globalHTTPStats.addRequestsInQueue(-1)
    			// When the client disconnects before getting the S3 handler
    			// status code response, set the status code to 499 so this request
    			// will be properly audited and traced.
    			w.WriteHeader(499)
    		default:
    			globalHTTPStats.addRequestsInQueue(-1)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/collect/TreeRangeMapTest.java

        rangeMap.put(Range.closedOpen(7, 10), 2);
        rangeMap.put(Range.closedOpen(12, 15), 2);
        rangeMap.put(Range.closedOpen(18, 19), 3);
    
        rangeMap.putCoalescing(Range.closedOpen(-5, -4), 0); // disconnected
        rangeMap.putCoalescing(Range.closedOpen(-6, -5), 0); // lower than minimum
    
        rangeMap.putCoalescing(Range.closedOpen(2, 4), 1); // between
        rangeMap.putCoalescing(Range.closedOpen(9, 14), 0); // different value
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 30.1K bytes
    - Click Count (0)
  5. docs/smb3-features/04-directory-leasing-design.md

            }
        }
    }
    
    @Override
    protected void doConnect() throws IOException {
        // Request directory lease for directories
        if (isDirectory()) {
            requestDirectoryLease();
        }
        
        // Continue with normal connection logic
        super.doConnect();
    }
    
    @Override
    public void close() throws IOException {
        try {
            super.close();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 36.2K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb/SmbFileHandleImplTest.java

            SmbFileHandleImpl h = new SmbFileHandleImpl(cfg, 1, tree, "//server/share", 0, 0, 0, 0, 0L);
            assertTrue(h.isValid());
        }
    
        @Test
        @DisplayName("isValid() false when tree id changed or disconnected or closed")
        void isValid_false_inVariousCases() {
            when(cfg.isTraceResourceUsage()).thenReturn(false);
            stubValidTree(10L, true, true);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/Range.java

          // create() would catch this, but give a confusing error message
          checkArgument(
              newLower.compareTo(newUpper) <= 0,
              "intersection is undefined for disconnected ranges %s and %s",
              this,
              connectedRange);
    
          // TODO(kevinb): all the precondition checks in the constructor are redundant...
          return create(newLower, newUpper);
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 28K bytes
    - Click Count (0)
  8. cmd/storage-rest-client.go

    	return client.endpoint.PoolIdx, client.endpoint.SetIdx, client.endpoint.DiskIdx
    }
    
    // Wrapper to restClient.CallWithMethod to handle network errors, in case of network error the connection is disconnected
    // and a healthcheck routine gets invoked that would reconnect.
    func (client *storageRESTClient) callGet(ctx context.Context, rpcMethod string, values url.Values, body io.Reader, length int64) (io.ReadCloser, error) {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 08 02:38:41 GMT 2025
    - 30.4K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb1/smb1/SmbFile.java

                /* Tree thinks it is connected but transport disconnected
                 * under it, reset tree to reflect the truth.
                 */
                tree.treeDisconnect(true);
            }
    
            if (isConnected()) {
                return;
            }
    
            getUncPath0();
            getFirstAddress();
            for (;;) {
                try {
                    doConnect();
                    return;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 112.2K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb/NtStatus.java

        /** The object was not found */
        int NT_STATUS_OBJECT_NAME_NOT_FOUND = 0xC0000034;
        /** The object name already exists */
        int NT_STATUS_OBJECT_NAME_COLLISION = 0xC0000035;
        /** The port is disconnected */
        int NT_STATUS_PORT_DISCONNECTED = 0xC0000037;
        /** The object path is invalid */
        int NT_STATUS_OBJECT_PATH_INVALID = 0xC0000039;
        /** The object path was not found */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 14.9K bytes
    - Click Count (0)
Back to Top