Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 408 for succeed (0.17 sec)

  1. 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() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 22.5K bytes
    - Viewed (0)
  2. okhttp/src/test/java/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() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 131.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

        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()) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Dec 13 19:45:20 GMT 2023
    - 25.8K bytes
    - Viewed (0)
  4. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCallResolver.kt

                                val call = createKtCall(psi, this, calleeReference, null, resolveFragmentOfCall)
                                    ?: errorWithFirSpecificEntries(
                                        "expect `createKtCall` to succeed for resolvable case with callable symbol",
                                        fir = this,
                                        psi = psi
                                    )
                                KtSuccessCallInfo(call)
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:05:58 GMT 2024
    - 70.8K bytes
    - Viewed (1)
  5. tensorflow/c/eager/c_api_cluster_test.cc

      ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
    
      // The device of var_handle0 is local device which is the same before and
      // after cluster update. Remove resource with valid device should succeed.
      TFE_Op* op = TFE_NewOp(ctx, "DestroyResourceOp", status);
      ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      TFE_OpAddInput(op, var_handle0, status);
      TFE_OpSetDevice(op, dev0_name, status);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Apr 14 10:03:59 GMT 2023
    - 19.3K bytes
    - Viewed (0)
  6. common-protos/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto

      // - Warn: This will send a warning via the standard warning response
      // header for each unknown field that is dropped from the object, and
      // for each duplicate field that is encountered. The request will
      // still succeed if there are no other errors, and will only persist
      // the last of any duplicate fields. This is the default in v1.23+
      // - Strict: This will fail the request with a BadRequest error if
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 53.3K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/math/LongMathTest.java

              assertTrue(expectedSuccess);
            } catch (ArithmeticException e) {
              if (expectedSuccess) {
                failFormat(
                    "expected divide(%s, %s, UNNECESSARY) to succeed; got ArithmeticException", p, q);
              }
            }
          }
        }
      }
    
      @GwtIncompatible // TODO
      public void testZeroDivIsAlwaysZero() {
        for (long q : NONZERO_LONG_CANDIDATES) {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 20:15:57 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/math/LongMathTest.java

              assertTrue(expectedSuccess);
            } catch (ArithmeticException e) {
              if (expectedSuccess) {
                failFormat(
                    "expected divide(%s, %s, UNNECESSARY) to succeed; got ArithmeticException", p, q);
              }
            }
          }
        }
      }
    
      @GwtIncompatible // TODO
      public void testZeroDivIsAlwaysZero() {
        for (long q : NONZERO_LONG_CANDIDATES) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 20:15:57 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  9. tensorflow/c/eager/c_api_test.cc

                              remote_device) != device_names.end());
      }
    
      // Create a variable using `ctx_0`.
      // Read the variable using `ctx_1`. This read should succeed.
      // 1. Create a variable on `remote_device`, using `ctx_0`.
      TFE_TensorHandle* handle_0 =
          CreateVariable(ctx_0, 1.2, remote_device, /*variable_name=*/"var2");
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 20:50:20 GMT 2023
    - 94.6K bytes
    - Viewed (1)
  10. src/bufio/bufio.go

    }
    
    // Discard skips the next n bytes, returning the number of bytes discarded.
    //
    // If Discard skips fewer than n bytes, it also returns an error.
    // If 0 <= n <= b.Buffered(), Discard is guaranteed to succeed without
    // reading from the underlying io.Reader.
    func (b *Reader) Discard(n int) (discarded int, err error) {
    	if n < 0 {
    		return 0, ErrNegativeCount
    	}
    	if n == 0 {
    		return
    	}
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Oct 12 14:39:08 GMT 2023
    - 21.8K bytes
    - Viewed (0)
Back to top