Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 225 for Truong (0.21 sec)

  1. guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java

                return new Iterator<Integer>() {
                  @Override
                  public void remove() {
                    // Wrong exception type.
                    throw new IllegalArgumentException();
                  }
    
                  @Override
                  public Integer next() {
                    // Wrong exception type.
                    throw new UnsupportedOperationException();
                  }
    
                  @Override
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 12:41:04 GMT 2023
    - 10.4K bytes
    - Viewed (0)
  2. maven-compat/src/test/java/org/apache/maven/project/artifact/MavenMetadataSourceTest.java

            Artifact artifact = (Artifact) artifactMap.get( key );
    
            assertNotNull( artifact, "dependency artifact not found in map." );
            assertEquals( Artifact.SCOPE_COMPILE, artifact.getScope(), "dependency artifact has wrong scope." );
    
            //check for back-propagation of default scope.
            assertEquals( Artifact.SCOPE_COMPILE, dep.getScope(), "default scope NOT back-propagated to dependency." );
            */
        }
    
        @Test
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/WrongType.java

    import com.google.common.annotations.GwtCompatible;
    
    /**
     * A type which will never be used as the element type of any collection in our tests, and so can be
     * used to test how a Collection behaves when given input of the wrong type.
     */
    @GwtCompatible
    public enum WrongType {
      VALUE
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 934 bytes
    - Viewed (0)
  4. internal/bucket/lifecycle/noncurrentversion.go

    }
    
    // IsDaysNull returns true if days field is null
    func (n NoncurrentVersionExpiration) IsDaysNull() bool {
    	return n.NoncurrentDays == ExpirationDays(0)
    }
    
    // Validate returns an error with wrong value
    func (n NoncurrentVersionExpiration) Validate() error {
    	if !n.set {
    		return nil
    	}
    	val := int(n.NoncurrentDays)
    	switch {
    	case val == 0 && n.NewerNoncurrentVersions == 0:
    		// both fields can't be zero
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Dec 14 17:41:44 GMT 2021
    - 5.3K bytes
    - Viewed (1)
  5. tensorflow/c/c_api_experimental_test.cc

      TF_DeleteFunction(funcs[0]);
    }
    
    TEST_F(CApiExperimentalFunctionTest, EmptyGraphRemoveNonExistentFunction) {
      TF_GraphRemoveFunction(func_graph_, "wrong_name", s_);
      EXPECT_EQ(TF_INVALID_ARGUMENT, TF_GetCode(s_));
      EXPECT_EQ(string("Tried to remove non-existent function 'wrong_name'."),
                string(TF_Message(s_)));
    }
    
    TEST_F(CApiExperimentalFunctionTest, GraphRemoveNonExistentFunction) {
      TF_Function* funcs[1];
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Jan 17 22:27:52 GMT 2023
    - 13.1K bytes
    - Viewed (1)
  6. src/test/java/jcifs/tests/TimeoutTest.java

            return new NSOverrideWrapper(ctx, wrapper);
        }
    
    
        @Test
        public void testMultiHostFailoverTimeout () throws MalformedURLException, CIFSException, UnknownHostException {
            // this could inject wrong DFS cache entries
            CIFSContext newContext = getNewContext();
            try ( SmbResource root = getDefaultShareRoot(failHostInjecting(medConnectTimeout(newContext), "10.255.255.1")) ) {
                root.exists();
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 12.4K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/exception/DefaultExceptionHandler.java

    - plugin dependency metadata retrieval problem
    - plugin configuration problem
    - plugin execution failure due to something that is know to possibly go wrong (like compilation failure)
    - plugin execution error due to something that is not expected to go wrong (the compiler executable missing)
    - asking to use a plugin for which you do not have a version defined - tools to easily select versions
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Jul 19 15:37:28 GMT 2023
    - 10.4K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/math/QuantilesAlgorithmTest.java

        for (QuantilesAlgorithm algorithm : NON_REFERENCE_ALGORITHMS) {
          Map<Integer, Double> quantiles = algorithm.multipleQuantiles(indexes, 100, dataset.clone());
          assertWithMessage("Wrong keys from " + algorithm).that(quantiles.keySet()).isEqualTo(indexes);
          for (int i : indexes) {
            assertWithMessage("Mismatch between %s and %s at %s", algorithm, REFERENCE_ALGORITHM, i)
                .that(quantiles.get(i))
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.4K bytes
    - Viewed (0)
  9. internal/config/compress/legacy.go

    	"github.com/minio/minio/internal/config"
    )
    
    // Legacy envs.
    const (
    	EnvCompress                 = "MINIO_COMPRESS"
    	EnvCompressMimeTypesLegacy1 = "MINIO_COMPRESS_MIMETYPES"
    
    	// These envs were wrong but we supported them for a long time
    	// so keep them here to support existing deployments.
    	EnvCompressAllowEncryptionLegacy = "MINIO_COMPRESS_ALLOW_ENCRYPTION"
    	EnvCompressExtensionsLegacy      = "MINIO_COMPRESS_EXTENSIONS"
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Jul 17 15:43:14 GMT 2022
    - 1.8K bytes
    - Viewed (0)
  10. src/bytes/compare_test.go

    	// This test compares byte slices that are almost identical, except one
    	// difference that for some j, a[j]>b[j] and a[j+1]<b[j+1]. If the implementation
    	// compares large chunks with wrong endianness, it gets wrong result.
    	// no vector register is larger than 512 bytes for now
    	const maxLength = 512
    	a := make([]byte, maxLength)
    	b := make([]byte, maxLength)
    	// randomish but deterministic data. No 0 or 255.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Jul 13 23:11:42 GMT 2023
    - 6.8K bytes
    - Viewed (0)
Back to top