Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 181 - 190 of 2,346 for result (0.04 seconds)

  1. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessApiFailureHookTest.java

        }
    
        // Test API result status codes
        @Test
        public void test_apiResultStatusCodes() {
            // Test OK status
            ApiResult okResult = new ApiResult.ApiResponse().status(Status.OK).result();
            assertNotNull(okResult);
    
            // Test BAD_REQUEST status
            ApiResult badRequestResult = new ApiResult.ApiResponse().status(Status.BAD_REQUEST).result();
            assertNotNull(badRequestResult);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

                    || result.hasVersionRangeViolations()
                    || result.hasCircularDependencyExceptions()) {
                return result;
            }
    
            if (result.getArtifactResolutionNodes() != null) {
                ClassLoader classLoader = Thread.currentThread().getContextClassLoader();
    
                CountDownLatch latch =
                        new CountDownLatch(result.getArtifactResolutionNodes().size());
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 25K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb1/smb1/Trans2SetFileInformationTest.java

            // When
            int result = trans2SetFileInformation.writeDataWireFormat(dst, 0);
    
            // Then
            assertEquals(40, result); // Returns 40 bytes written
        }
    
        @Test
        void testReadSetupWireFormat() {
            // When
            int result = trans2SetFileInformation.readSetupWireFormat(new byte[0], 0, 0);
    
            // Then
            assertEquals(0, result);
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  4. internal/config/lambda/event/targetidset_test.go

    	}
    
    	for i, testCase := range testCases {
    		result := testCase.set.Clone()
    
    		if !reflect.DeepEqual(result, testCase.set) {
    			t.Fatalf("test %v: result: expected: %v, got: %v", i+1, testCase.set, result)
    		}
    
    		result.add(testCase.targetIDToAdd)
    		if reflect.DeepEqual(result, testCase.set) {
    			t.Fatalf("test %v: result: expected: not equal, got: equal", i+1)
    		}
    	}
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Mar 07 16:12:41 GMT 2023
    - 3.9K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/math/StatsAccumulator.java

       * contains {@link Double#NEGATIVE_INFINITY} and not {@link Double#NaN} then the result is {@link
       * Double#NEGATIVE_INFINITY}. If it contains {@link Double#POSITIVE_INFINITY} and finite values
       * only then the result is the lowest finite value. If it contains {@link
       * Double#POSITIVE_INFINITY} only then the result is {@link Double#POSITIVE_INFINITY}.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Apr 14 16:36:11 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/opensearch/config/bsbhv/BsFileConfigBhv.java

        }
    
        @Override
        protected <RESULT extends FileConfig> RESULT createEntity(Map<String, Object> source, Class<? extends RESULT> entityType) {
            try {
                final RESULT result = entityType.newInstance();
                result.setAvailable(DfTypeUtil.toBoolean(source.get("available")));
                result.setBoost(DfTypeUtil.toFloat(source.get("boost")));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb1/smb1/SmbComSessionSetupAndXTest.java

            byte[] buffer = new byte[1024];
    
            int result = setupAndX.readBytesWireFormat(buffer, 0);
    
            // The implementation always returns 0
            assertEquals(0, result, "readBytesWireFormat returns 0");
        }
    
        @Test
        void testToString() {
            String result = setupAndX.toString();
            assertNotNull(result);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  8. src/test/java/jcifs/util/StringsTest.java

            void testGetUNIBytes() {
                // When
                byte[] result = Strings.getUNIBytes(TEST_STRING);
    
                // Then
                assertNotNull(result, "Result should not be null");
                assertTrue(result.length > 0, "Result should not be empty");
                assertEquals(TEST_STRING.getBytes(StandardCharsets.UTF_16LE).length, result.length, "Length should match UTF-16LE encoding");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.6K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeTest.java

            // Act
            String result = transPeekNamedPipe.toString();
    
            // Assert
            assertNotNull(result);
            assertTrue(result.contains("TransPeekNamedPipe"));
            if (pipeName != null) {
                assertTrue(result.contains("pipeName=" + pipeName));
            } else {
                assertTrue(result.contains("pipeName=null"));
            }
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.4K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/ldap/LdapUserTest.java

            assertEquals("c", result[2]);
        }
    
        @Test
        public void test_distinct_withDuplicates() {
            // Test distinct with duplicates
            String[] input = new String[] { "a", "b", "a", "c", "b", "a" };
            String[] result = invokeDistinct(input);
            assertEquals(3, result.length);
            assertEquals("a", result[0]);
            assertEquals("b", result[1]);
            assertEquals("c", result[2]);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 16.9K bytes
    - Click Count (0)
Back to Top