Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 528 for succeed (0.04 sec)

  1. src/builtin/builtin.go

    // never the receiver, and has the effect of shutting down the channel after
    // the last sent value is received. After the last value has been received
    // from a closed channel c, any receive from c will succeed without
    // blocking, returning the zero value for the channel element. The form
    //
    //	x, ok := <-c
    //
    // will also set ok to false for a closed and empty channel.
    func close(c chan<- Type)
    
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Dec 30 23:59:23 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  2. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

       * of this queue less the current {@code size} of this queue.
       *
       * <p>Note that you cannot always tell if an attempt to insert an element will succeed by
       * inspecting {@code remainingCapacity} because it may be the case that another thread is about to
       * insert or remove an element.
       */
      @CanIgnoreReturnValue
      @Override
      public int remainingCapacity() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  3. cmd/server-main.go

    				logger.Info(result.String())
    				break
    			}
    			d := time.Duration(r.Float64() * float64(time.Second))
    			logger.Info("Waiting for quorum READ healthcheck to succeed retrying in %s.. possible cause unhealthy sets", d)
    			logger.Info(result.String())
    			time.Sleep(d)
    			result = newObject.Health(context.Background(), HealthOptions{NoLogging: true})
    		}
    	})
    
    	var err error
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue May 27 15:18:36 UTC 2025
    - 35.9K bytes
    - Viewed (4)
  4. docs/smb3-features/02-persistent-handles-design.md

                return info;
            }
            return null;
        }
        
        public void completeReconnect(String path, boolean success) {
            HandleInfo info = handles.get(path);
            if (info != null) {
                if (success) {
                    info.updateAccessTime();
                    info.reconnecting = false;
                } else {
                    // Remove failed handle
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 31.6K bytes
    - Viewed (0)
  5. mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt

          fail<Unit>()
        } catch (expected: IOException) {
          // Expected.
        }
        server
          .url("/b")
          .toUrl()
          .openConnection()
          .getInputStream() // Should succeed.
      }
    
      @Test
      fun clearDispatcherQueue() {
        server.enqueue(MockResponse(body = "A"))
        (server.dispatcher as QueueDispatcher).clear()
        server.enqueue(MockResponse(body = "B"))
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Aug 03 22:38:00 UTC 2025
    - 28K bytes
    - Viewed (0)
  6. cmd/object-api-putobject_test.go

    		31: {bucketName: bucket, objName: "emptydir/" + object, inputData: data, inputDataSize: int64(len(data)), expectedMd5: getMD5Hash(data)},
    		// Put the empty object with a trailing slash again (refer to Test case 30), this needs to succeed
    		32: {bucketName: bucket, objName: "emptydir/", inputData: []byte{}, expectedMd5: getMD5Hash([]byte{})},
    
    		// With invalid crc32.
    		33: {
    			bucketName: bucket, objName: object, inputData: []byte("abcd"),
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  7. cmd/object-handlers_test.go

    	}
    	apiRouter.ServeHTTP(rec, req)
    	if rec.Code != http.StatusOK {
    		t.Errorf("Test %d %s expected to succeed but failed with HTTP status code %d",
    			1, instanceType, rec.Code)
    	}
    }
    
    // TestAPIListObjectPartsHandler - Tests validate the response of ListObjectParts HTTP handler
    //
    //	for variety of success/failure cases.
    func TestAPIListObjectPartsHandler(t *testing.T) {
    	defer DetectTestLeak(t)()
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 163.1K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt

              body = "Redirecting to /" + (i + 1),
            ),
          )
        }
        server.enqueue(
          MockResponse(body = "Success!"),
        )
        val response = getResponse(newRequest("/0"))
        assertContent("Success!", response)
        assertThat(response.request.url)
          .isEqualTo(server.url("/20"))
      }
    
      @Test
      fun doesNotFollow21Redirects() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 133.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

        final class Task implements Runnable {
          @Override
          public void run() {
            lock.lock();
            try {
              /*
               * requireNonNull is safe because Task isn't run (or at least it doesn't succeed in taking
               * the lock) until after it's scheduled and the runningTask field is set.
               */
              if (requireNonNull(runningTask).isCancelled()) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 27.8K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java

      private static final class TimedPutQueue {
        final BlockingQueue<String> queue;
        final Completion completed;
    
        /**
         * Creates a {@link EnableWrites} which open up a spot for a {@code put} to succeed in {@code
         * countdownInMillis}.
         */
        static TimedPutQueue createWithDelay(long countdownInMillis) {
          return new TimedPutQueue(countdownInMillis);
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 31.7K bytes
    - Viewed (0)
Back to top