Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 1,307 for result2 (0.07 seconds)

  1. tests/update_test.go

    	sort.Slice(result.Pets, func(i, j int) bool {
    		return result.Pets[i].ID < result.Pets[j].ID
    	})
    	sort.Slice(result.Team, func(i, j int) bool {
    		return result.Team[i].ID < result.Team[j].ID
    	})
    	sort.Slice(result.Friends, func(i, j int) bool {
    		return result.Friends[i].ID < result.Friends[j].ID
    	})
    	sort.Slice(result2.Pets, func(i, j int) bool {
    		return result2.Pets[i].ID < result2.Pets[j].ID
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Mon Jul 21 02:46:58 GMT 2025
    - 30.4K bytes
    - Click Count (0)
  2. internal/config/dns/etcd_dns_test.go

    	}
    
    	result2 := msgUnPath("/skydns/local/cluster/staging/service")
    	if result2 != "service.staging.cluster.local.skydns" {
    		t.Errorf("Failure to get domain from etcd key (without trailing '/'), expect: 'service.staging.cluster.local.' actually get: '%s'", result2)
    	}
    
    	result3 := msgUnPath("/singleleveldomain/")
    	if result3 != "singleleveldomain" {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Aug 28 17:31:12 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb1/util/HMACT64Test.java

            for (byte b : TEST_DATA) {
                hmac2.engineUpdate(b);
            }
    
            // Both should produce the same result
            byte[] result1 = hmac1.engineDigest();
            byte[] result2 = hmac2.engineDigest();
    
            assertArrayEquals(result1, result2);
        }
    
        @Test
        void testHMACT64WithKnownTestVector() throws NoSuchAlgorithmException {
            // Test with known test vector
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.1K bytes
    - Click Count (0)
  4. tests/create_test.go

    	}
    
    	var result2 User
    	if err := DB.Where("name = ?", "create_from_map_2").First(&result2).Error; err != nil || result2.Age != 19 {
    		t.Fatalf("failed to query data after create from slice of map, got error %v", err)
    	}
    
    	var result3 User
    	if err := DB.Where("name = ?", "create_from_map_3").First(&result3).Error; err != nil || result3.Age != 20 {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Mon Jul 21 09:55:20 GMT 2025
    - 26.8K bytes
    - Click Count (0)
  5. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeResultTest.java

                assertEquals(0, result.processedCount(), "Empty result should have no processed POMs");
                assertEquals(0, result.modifiedCount(), "Empty result should have no modified POMs");
                assertEquals(0, result.unmodifiedCount(), "Empty result should have no unmodified POMs");
                assertEquals(0, result.errorCount(), "Empty result should have no errors");
            }
    
            @Test
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Jun 07 06:22:47 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  6. src/test/java/jcifs/netbios/NodeStatusRequestTest.java

            // Act
            int result1 = nodeStatusRequest.writeBodyWireFormat(dst, 0);
            int result2 = nodeStatusRequest.writeBodyWireFormat(dst, 50);
            int result3 = nodeStatusRequest.writeBodyWireFormat(dst, 100);
    
            // Assert
            assertEquals(result1, result2);
            assertEquals(result2, result3);
            assertTrue(result1 > 0);
        }
    
        @Test
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.9K bytes
    - Click Count (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/service/impl/UrlQueueServiceImplTest.java

            AccessResultImpl<Long> result1 = new AccessResultImpl<>();
            result1.setUrl("https://example.com/page1");
            result1.setMethod("GET");
            result1.setParentUrl("https://example.com");
            result1.setLastModified(123456789L);
            accessResultMap.put("https://example.com/page1", result1);
    
            AccessResultImpl<Long> result2 = new AccessResultImpl<>();
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Thu Nov 13 13:29:22 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  8. src/test/java/jcifs/SmbWatchHandleTest.java

            List<FileNotifyInformation> result1 = watchHandle.watch();
            List<FileNotifyInformation> result2 = watchHandle.watch();
            List<FileNotifyInformation> result3 = watchHandle.watch();
    
            // Verify results
            assertEquals(1, result1.size());
            assertEquals(fileNotifyInfo1, result1.get(0));
    
            assertEquals(2, result2.size());
            assertEquals(fileNotifyInfo2, result2.get(0));
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.2K bytes
    - Click Count (1)
  9. impl/maven-core/src/test/java/org/apache/maven/project/ProjectBuildingExceptionTest.java

            DefaultProjectBuildingResult result2 =
                    new DefaultProjectBuildingResult("com.example:project2:1.0", new File("project2/pom.xml"), problems2);
            results.add(result2);
    
            ProjectBuildingException exception = new ProjectBuildingException(results);
            String message = exception.getMessage();
    
            assertTrue(
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Jul 26 19:15:57 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  10. tests/serializer_test.go

    	// Verify the record was saved correctly
    	var result ProductWithAny
    	if err := DB.First(&result, product.ID).Error; err != nil {
    		t.Fatalf("failed to query product, got error %v", err)
    	}
    
    	if result.Name != "Product 1 (Updated)" {
    		t.Errorf("expected name to be 'Product 1 (Updated)', got %s", result.Name)
    	}
    
    	if result.Data != nil {
    		t.Errorf("expected Data to be nil, got %v", result.Data)
    	}
    
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Sat Nov 22 03:14:36 GMT 2025
    - 9.3K bytes
    - Click Count (0)
Back to Top