- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 1,350 for given (0.52 sec)
-
api/maven-api-core/src/main/java/org/apache/maven/api/JavaPathType.java
} /** * Returns the path type associated to the given {@code javax.tool} location. * This method is the converse of {@link #location()}. * * @param location identification of a path in the {@code javax.tool} API * @return Java path type associated to the given location */ public static Optional<JavaPathType> valueOf(JavaFileManager.Location location) {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Dec 15 11:13:42 UTC 2025 - 15.7K bytes - Viewed (1) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/service/DataService.java
/** * Stores the given access result. * * @param accessResult the access result to store */ void store(RESULT accessResult); /** * Updates the given access result. * * @param accessResult the access result to update */ void update(RESULT accessResult); /** * Updates the given list of access results. *Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 2.7K bytes - Viewed (0) -
src/test/java/jcifs/DfsReferralDataTest.java
mockReferralData.next(); mockReferralData.getLink(); }); } @Test @DisplayName("Should get server") void testGetServer() { // Given String server = "testserver"; when(mockReferralData.getServer()).thenReturn(server); // When String result = mockReferralData.getServer(); // Then
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.1K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/primitives/UnsignedLongsBenchmark.java
return randomSource.nextLong(); } // A random value that cannot be 0 and that is unsigned-less-than or equal // to the given dividend, so that we don't have half of our divisions being // trivial because the divisor is bigger than the dividend. // Using remainder here does not give us a uniform distribution but it should // not have a big impact on the measurement. private static long randomDivisor(long dividend) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 28 01:26:26 UTC 2024 - 4.4K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Session.java
* <p> * Shortcut for {@code DependencyScope.forId(...)} with a verification that the given identifier exists. * * @param id the identifier of the scope (case-sensitive) * @return the scope for the given identifier (never null) * @throws IllegalArgumentException if the given identifier is not a known scope * * @see org.apache.maven.api.DependencyScope#forId(String) */Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Jul 03 14:18:26 UTC 2025 - 36.5K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcBindTest.java
} @Test @DisplayName("Package constructor should initialize with binding and handle") void testPackageConstructor() throws Exception { // Given int maxXmit = 4096; int maxRecv = 4096; when(mockHandle.getMaxXmit()).thenReturn(maxXmit); when(mockHandle.getMaxRecv()).thenReturn(maxRecv); // WhenRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.7K bytes - Viewed (0) -
build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/PublicAPIRulesTest.groovy
} def cleanup() { repository?.close() } def "each new #apiElement requires a @Incubating annotation"() { given: JApiCompatibility jApiType = getProperty(jApiTypeName) def rule = withContext(new IncubatingMissingRule([:])) def annotations = [] jApiType.annotations >> annotations when:Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Fri Jun 06 17:52:09 UTC 2025 - 16K bytes - Viewed (0) -
build-logic/build-update-utils/src/test/groovy/gradlebuild/buildutils/tasks/UpdateKotlinVersionsTest.groovy
def "latest patch version"() { given: def allVersions = ["2.0.30", "2.0.20", "2.0.10", "2.0.0"] + previousVersions when: def selected = UpdateKotlinVersions.selectVersionsFrom(minimumSupported, allVersions) then: selected == ["1.9.10", "1.9.25", "2.0.30"] } def "beta of latest patch version"() { given: def allVersions = [Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Wed Oct 29 08:29:55 UTC 2025 - 3.1K bytes - Viewed (0) -
src/test/java/jcifs/AddressTest.java
@Mock private Address mockAddress; @Test @DisplayName("Address interface should define correct method signatures") void testInterfaceContract() { // Given Address address = mockAddress; // When & Then - verify interface methods exist and can be called assertDoesNotThrow(() -> { address.getHostName(); address.getHostAddress();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.9K bytes - Viewed (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/UserGuideTransformTaskTest.groovy
class UserGuideTransformTaskTest extends Specification { def replacesTabsWith4Spaces() { given: String content = "test\ttest\ttest" when: def actual = UserGuideTransformTask.normalise(content) then: actual == "test test test" } def usesUnixLineEndings() { given: String content = "test\r\ntest\r\ntest" when:Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Tue Jul 27 19:28:51 UTC 2021 - 1.9K bytes - Viewed (0)