Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 341 - 350 of 2,346 for result (0.15 seconds)

  1. android/guava-tests/benchmark/com/google/common/util/concurrent/FuturesGetCheckedBenchmark.java

        Validator(GetCheckedTypeValidator validator) {
          this.validator = validator;
        }
      }
    
      private enum Result {
        SUCCESS(immediateFuture(new Object())),
        FAILURE(immediateFailedFuture(new Exception()));
    
        final Future<Object> future;
    
        Result(Future<Object> result) {
          this.future = result;
        }
      }
    
      private enum ExceptionType {
        CHECKED(IOException.class),
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  2. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionRangeResolver.java

                                versions.add(ver);
                                result.setRepository(ver, v.getValue());
                            }
                        } catch (InvalidVersionSpecificationException e) {
                            result.addException(e);
                        }
                    }
    
                    Collections.sort(versions);
                    result.setVersions(versions);
                }
            }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Dec 16 13:41:14 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  3. src/test/java/jcifs/netbios/NameQueryRequestTest.java

            int result = request.writeBodyWireFormat(dst, dstIndex);
    
            // Verify that writeQuestionSectionWireFormat was called
            verify((NameServicePacket) request, times(1)).writeQuestionSectionWireFormat(dst, dstIndex);
            assertEquals(10, result);
        }
    
        @Test
        void testReadBodyWireFormat() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java

            void testToString() {
                String result = smbInfoAllocation.toString();
    
                assertNotNull(result);
                assertTrue(result.contains("SmbInfoAllocation"));
                assertTrue(result.contains("alloc="));
                assertTrue(result.contains("free="));
                assertTrue(result.contains("sectPerAlloc="));
                assertTrue(result.contains("bytesPerSect="));
            }
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.1K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java

            thumbnailFile.getParentFile().mkdirs();
            thumbnailFile.createNewFile();
    
            File result = thumbnailManager.getThumbnailFile(docMap);
            assertNotNull(result);
            assertEquals(thumbnailFile.getAbsolutePath(), result.getAbsolutePath());
        }
    
        // Test getThumbnailFile with non-existing file
        @Test
        public void test_getThumbnailFile_notExists() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 20.4K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/opensearch/config/bsbhv/BsRoleTypeBhv.java

        }
    
        @Override
        protected <RESULT extends RoleType> RESULT createEntity(Map<String, Object> source, Class<? extends RESULT> entityType) {
            try {
                final RESULT result = entityType.newInstance();
                result.setCreatedBy(DfTypeUtil.toString(source.get("createdBy")));
                result.setCreatedTime(DfTypeUtil.toLong(source.get("createdTime")));
                result.setName(DfTypeUtil.toString(source.get("name")));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeResult.java

        }
    
        /**
         * Creates an empty result (no POMs processed).
         */
        public static UpgradeResult empty() {
            return new UpgradeResult(Collections.emptySet(), Collections.emptySet(), Collections.emptySet());
        }
    
        /**
         * Merges this result with another result, combining the sets of POMs.
         * This allows proper aggregation of results from multiple strategies without double-counting.
         */
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Jun 07 06:22:47 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  8. src/test/java/jcifs/netbios/SessionServicePacketTest.java

                SessionServicePacket.writeInt2(value, buffer, 0);
                int result = SessionServicePacket.readInt2(buffer, 0);
                assertEquals(value & 0xFFFF, result);
            } else {
                SessionServicePacket.writeInt4(value, buffer, 0);
                int result = SessionServicePacket.readInt4(buffer, 0);
                assertEquals(value, result);
            }
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.5K bytes
    - Click Count (0)
  9. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ModelVersionUtilsTest.java

                        .version("1.0.0")
                        .build();
    
                Document document = Document.of(pomXml);
                String result = ModelVersionUtils.detectModelVersion(document);
                assertEquals("4.0.0", result);
            }
    
            @ParameterizedTest(name = "for {0}")
            @ValueSource(strings = {"4.0.0", "4.1.0", "4.2.0"})
            @DisplayName("should detect model version")
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 19.6K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/opensearch/user/exbhv/GroupBhv.java

            }
            return indexName;
        }
    
        @Override
        protected <RESULT extends Group> RESULT createEntity(final Map<String, Object> source, final Class<? extends RESULT> entityType) {
            try {
                final RESULT result = entityType.newInstance();
                result.setName(DfTypeUtil.toString(source.get("name")));
                result.setAttributes(source.entrySet()
                        .stream()
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 2.3K bytes
    - Click Count (0)
Back to Top