Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 193 for Truong (0.04 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolverTest.java

            assertEquals(4, res.getVertices().size(), "wrong # of vertices in the resulting graph after resolver");
            assertEquals(
                    2,
                    res.getExcidentEdges(v1).size(),
                    "wrong # of excident edges in the resulting graph entry after resolver");
    
            assertEquals(
                    1,
                    res.getIncidentEdges(v2).size(),
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/base/StringsRepeatBenchmark.java

      void oldRepeat(long reps) {
        for (int i = 0; i < reps; i++) {
          String x = oldRepeat(originalString, count);
          if (x.length() != (originalString.length() * count)) {
            throw new RuntimeException("Wrong length: " + x);
          }
        }
      }
    
      private static String oldRepeat(String string, int count) {
        // If this multiplication overflows, a NegativeArraySizeException or
        // OutOfMemoryError is not far behind
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  3. internal/bpool/bpool_test.go

    	for range size {
    		bp.Get() // discard
    	}
    
    	// Try putting some invalid buffers into pool
    	bp.Put(make([]byte, bp.w, bp.wcap-1)) // wrong capacity is rejected (less)
    	bp.Put(make([]byte, bp.w, bp.wcap+1)) // wrong capacity is rejected (more)
    	bp.Put(make([]byte, width))           // wrong capacity is rejected (very less)
    	if len(bp.c) > 0 {
    		t.Fatal("bytepool should have rejected invalid packets")
    	}
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  4. internal/handlers/proxy_test.go

    	res := GetSourceIP(req)
    	if res != "8.8.8.8" {
    		t.Errorf("wrong header, xff takes precedence: got %s, want: 8.8.8.8", res)
    	}
    
    	// When explicitly disabled, the XFF header is ignored and X-Real-IP is used.
    	enableXFFHeader = false
    	defer func() {
    		enableXFFHeader = true
    	}()
    	res = GetSourceIP(req)
    	if res != "1.1.1.1" {
    		t.Errorf("wrong header, xff is disabled: got %s, want: 1.1.1.1", res)
    	}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Feb 26 19:25:49 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/pac/kerberos/KerberosApRequestTest.java

            // Arrange: Build sequence with invalid version and otherwise valid tags
            ASN1EncodableVector v = new ASN1EncodableVector();
            v.add(new DERTaggedObject(true, 0, new ASN1Integer(badPvno))); // wrong pvno
            v.add(new DERTaggedObject(true, 1, new ASN1Integer(Integer.parseInt(KerberosConstants.KERBEROS_AP_REQ))));
            v.add(new DERTaggedObject(true, 2, new DERBitString(new byte[] { 0x00 })));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginValidator.java

                errors.add("Plugin's descriptor contains the wrong group ID: " + pluginDescriptor.getGroupId());
            }
    
            if (!pluginArtifact.getArtifactId().equals(pluginDescriptor.getArtifactId())) {
                errors.add("Plugin's descriptor contains the wrong artifact ID: " + pluginDescriptor.getArtifactId());
            }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  7. guava-tests/benchmark/com/google/common/base/StringsRepeatBenchmark.java

      void oldRepeat(long reps) {
        for (int i = 0; i < reps; i++) {
          String x = oldRepeat(originalString, count);
          if (x.length() != (originalString.length() * count)) {
            throw new RuntimeException("Wrong length: " + x);
          }
        }
      }
    
      private static String oldRepeat(String string, int count) {
        // If this multiplication overflows, a NegativeArraySizeException or
        // OutOfMemoryError is not far behind
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  8. cmd/erasure-object-conditional_test.go

    		}
    	})
    
    	t.Run("if-match wrong etag with read quorum failure", func(t *testing.T) {
    		// Test Case 3: if-match with wrong ETag
    		// Even if the ETag doesn't match, we should still get read quorum error
    		// because we can't read the object to check the condition.
    		opts := ObjectOptions{
    			UserDefined: map[string]string{
    				xhttp.IfMatch: "wrong-etag",
    			},
    			CheckPrecondFn: func(oi ObjectInfo) bool {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Oct 24 04:05:31 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  9. RELEASE.md

    *   Improved DirectSession::Run() overhead and error checking. Feeding a value
        of the wrong type will now synchronously raise an INVALID_ARGUMENT error
        instead of asynchronously raising an INTERNAL error. Code that depends on
        the (undefined) behavior when feeding a tensor of the wrong type may need to
        be updated.
    *   Added unreduced NONE, and reduced MEAN options for losses. Removed
    Registered: Tue Dec 30 12:39:10 UTC 2025
    - Last Modified: Tue Oct 28 22:27:41 UTC 2025
    - 740.4K bytes
    - Viewed (3)
  10. cmd/erasure-multipart-conditional_test.go

    		}
    	})
    
    	t.Run("if-match with wrong ETag and read quorum failure", func(t *testing.T) {
    		// Test Case 2: if-match with WRONG ETag
    		// This should fail even without quorum issues, but with quorum failure
    		// we can't verify the ETag at all.
    		opts := ObjectOptions{
    			UserDefined: map[string]string{
    				xhttp.IfMatch: "wrong-etag-12345",
    			},
    			HasIfMatch: true,
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Oct 24 04:05:31 UTC 2025
    - 6.9K bytes
    - Viewed (0)
Back to top