Search Options

Results per page
Sort
Preferred Languages
Advance

Results 591 - 600 of 1,526 for expected (0.06 sec)

  1. okhttp/src/test/java/okhttp3/ConnectionReuseTest.kt

        assertFailsWith<IOException> {
          anotherClient.newCall(request).execute()
        }.also { expected ->
          when (expected) {
            is SSLException, is TlsFatalAlert -> {}
            else -> throw expected
          }
        }
      }
    
      @Test
      fun connectionsAreNotReusedIfHostnameVerifierChanges() {
        enableHttps()
        server.enqueue(MockResponse())
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/FilteredCollectionsTestUtil.java

        public void testEqualsAndHashCode() {
          for (List<Integer> contents : SAMPLE_INPUTS) {
            Set<Integer> expected = newHashSet();
            for (Integer i : contents) {
              if (EVEN.apply(i)) {
                expected.add(i);
              }
            }
            new EqualsTester()
                .addEqualityGroup(expected, filter(createUnfiltered(contents), EVEN))
                .testEquals();
          }
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 13K bytes
    - Viewed (0)
  3. mockwebserver-junit4/src/test/java/mockwebserver3/junit4/MockWebServerRuleTest.kt

            },
            Description.EMPTY,
          )
        statement.evaluate()
        assertThat(called.get()).isTrue()
        try {
          rule.server.url("/").toUrl().openConnection().connect()
          fail()
        } catch (expected: ConnectException) {
        }
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  4. tensorflow/c/eager/parallel_device/parallel_device.cc

        // tensor.
        if (inputs.size() != parallel_device.num_underlying_devices()) {
          std::string message(absl::StrCat(
              "The parallel device ", parallel_device_name, " expected ",
              parallel_device.num_underlying_devices(),
              " inputs to TPUReplicatedInput, but got ", inputs.size()));
          TF_SetStatus(status, TF_INVALID_ARGUMENT, message.c_str());
          return result;
        }
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon Oct 21 04:14:14 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt

          key = "has_space "
          cache.edit(key)
        }.also { expected ->
          assertThat(expected.message).isEqualTo("keys must match regex [a-z0-9_-]{1,120}: \"$key\"")
        }
        assertFailsWith<IllegalArgumentException> {
          key = "has_CR\r"
          cache.edit(key)
        }.also { expected ->
          assertThat(expected.message).isEqualTo("keys must match regex [a-z0-9_-]{1,120}: \"$key\"")
        }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 14:55:09 UTC 2024
    - 75.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/info/Smb2SetInfoResponse.java

            int structureSize = SMBUtil.readInt2(buffer, bufferIndex);
            if ( structureSize != 2 ) {
                throw new SMBProtocolDecodingException("Expected structureSize = 2");
            }
            return 2;
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.9K bytes
    - Viewed (0)
  7. internal/bucket/lifecycle/noncurrentversion_test.go

    				NewerNoncurrentVersions: 5,
    				set:                     true,
    			},
    			err: nil,
    		},
    	}
    
    	for i, tc := range testcases {
    		if got := tc.n.Validate(); got != tc.err {
    			t.Fatalf("%d: expected %v but got %v", i+1, tc.err, got)
    		}
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Dec 14 17:41:44 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  8. tensorflow/c/c_api_macros_internal.h

        if (STRUCT_OBJ.struct_size == 0) {                                    \
          return tensorflow::Status(absl::StatusCode::kFailedPrecondition,    \
                                    "Expected initialized `" #STRUCT_NAME     \
                                    "` structure with `struct_size` field "   \
                                    "set to " #SIZE_VALUE_NAME                \
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon Mar 13 17:40:56 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

      /* The names of the expected method that tests null checks. */
      private static final ImmutableList<String> NULL_TEST_METHOD_NAMES =
          ImmutableList.of(
              "testNulls", "testNull",
              "testNullPointers", "testNullPointer",
              "testNullPointerExceptions", "testNullPointerException");
    
      /* The names of the expected method that tests serializable. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 19:43:49 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  10. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/DefaultArtifactDescriptorReaderTest.java

                            evt.getException().getMessage());
                    missingArtifactDescriptor = true;
                }
            }
    
            assertTrue(
                    missingArtifactDescriptor,
                    "Expected missing artifact descriptor for org.apache.maven.its:dep-mng5459:pom:0.4.0-20130404.090532-2");
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top