- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 7,376 for expert (0.08 sec)
-
src/test/java/org/codelibs/core/collection/EmptyIteratorTest.java
} /** * Test method for {@link org.codelibs.core.collection.EmptyIterator#remove()} * . */ @Test public void testRemove() { exception.expect(ClUnsupportedOperationException.class); exception.expectMessage(is("remove")); final EmptyIterator<String> emptyIterator = new EmptyIterator<String>(); emptyIterator.remove(); } /**
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 2.5K bytes - Viewed (0) -
tests/count_test.go
t.Errorf("Count() method should get correct value, expect: %v, got %v", count, len(users)) } if err := DB.Model(&User{}).Where("name = ?", user1.Name).Or("name = ?", user3.Name).Count(&count).Find(&users).Error; err != nil { t.Errorf(fmt.Sprintf("Count should work, but got err %v", err)) } if count != int64(len(users)) { t.Errorf("Count() method should get correct value, expect: %v, got %v", count, len(users)) }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Oct 30 09:15:49 UTC 2023 - 6.9K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/ArrayIteratorTest.java
assertThat(itr.next(), equalTo("b")); assertThat(itr.next(), equalTo("c")); } /** * */ @Test public void testNoSuchElement() { exception.expect(NoSuchElementException.class); exception.expectMessage(is("index=2")); final ArrayIterator<Integer> itr = new ArrayIterator<Integer>(new Integer[] { 1, 2 }); itr.next(); itr.next();
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 2.5K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ExecutionError.java
* non-nullable {@code cause}, as many users expect to find one. */ public ExecutionError(@CheckForNull String message, @CheckForNull Error cause) { super(message, cause); } /** * Creates a new instance with {@code null} as its detail message and the given cause. Prefer to * provide a non-nullable {@code cause}, as many users expect to find one. */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Mar 07 17:52:19 UTC 2024 - 3.8K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http/CallServerInterceptor.kt
// If there's a "Expect: 100-continue" header on the request, wait for a "HTTP/1.1 100 // Continue" response before transmitting the request body. If we don't get that, return // what we did get (such as a 4xx response) without ever transmitting the request body. if ("100-continue".equals(request.header("Expect"), ignoreCase = true)) { exchange.flushRequest()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 6.3K bytes - Viewed (0) -
ci/official/containers/linux_arm64/devel.usertools/wheel_verification.bats
# Suite of verification tests for the SINGLE TensorFlow wheel in /tf/pkg # or whatever path is set as $TF_WHEEL. setup_file() { cd /tf/pkg if [[ -z "$TF_WHEEL" ]]; then export TF_WHEEL=$(find /tf/pkg -iname "*.whl") fi } teardown_file() { rm -rf /tf/venv } @test "Wheel is manylinux2014 (manylinux_2_17) compliant" { python3 -m auditwheel show "$TF_WHEEL" > audit.txt
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Tue Jan 23 02:14:00 UTC 2024 - 2.7K bytes - Viewed (0) -
guava/src/com/google/common/reflect/TypeParameter.java
/* * A nullable bound would let users create a TypeParameter instance for a parameter with a nullable * bound. However, it would also let them create `new TypeParameter<@Nullable T>() {}`, which * wouldn't behave as users might expect. Additionally, it's not clear how the TypeToken API could * support even a "normal" `TypeParameter<T>` when `<T>` has a nullable bound. (See the discussion
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jan 05 17:43:40 UTC 2022 - 2.5K bytes - Viewed (0) -
bin/init.sh
if [[ "${ISTIO_ENVOY_BASE_URL}" != "https://storage.googleapis.com/istio-build/proxy" ]]; then AUTH_HEADER="Authorization: Bearer $(gcloud auth print-access-token)" export AUTH_HEADER fi SIDECAR="${SIDECAR:-envoy}" # OS-neutral vars. These currently only work for linux. ISTIO_ENVOY_VERSION="${ISTIO_ENVOY_VERSION:-${PROXY_REPO_SHA}}"
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Jan 25 19:11:31 UTC 2024 - 6.1K bytes - Viewed (0) -
docs_src/security/tutorial005_py310.py
def create_access_token(data: dict, expires_delta: timedelta | None = None): to_encode = data.copy() if expires_delta: expire = datetime.now(timezone.utc) + expires_delta else: expire = datetime.now(timezone.utc) + timedelta(minutes=15) to_encode.update({"exp": expire}) encoded_jwt = jwt.encode(to_encode, SECRET_KEY, algorithm=ALGORITHM) return encoded_jwt async def get_current_user(
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Mon May 20 17:37:28 UTC 2024 - 5.1K bytes - Viewed (0) -
internal/ringbuffer/ring_buffer_test.go
} if rb.Length() != 64 { t.Fatalf("expect len 64 bytes but got %d. r.w=%d, r.r=%d", rb.Length(), rb.w, rb.r) } if rb.Free() != 0 { t.Fatalf("expect free 0 bytes but got %d. r.w=%d, r.r=%d", rb.Free(), rb.w, rb.r) } // check empty or full if rb.IsEmpty() { t.Fatalf("expect IsEmpty is false but got true") } if !rb.IsFull() { t.Fatalf("expect IsFull is true but got false")
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed May 15 00:11:04 UTC 2024 - 26.8K bytes - Viewed (0)