- Sort Score
- Result 10 results
- Languages All
Results 1481 - 1490 of 2,268 for Method (0.03 sec)
-
CONTRIBUTING.md
for details. #### Running doctest for testable docstring There are two ways to test the code in the docstring locally: 1. If you are only changing the docstring of a class/function/method, then you can test it by passing that file's path to [tf_doctest.py](https://www.tensorflow.org/code/tensorflow/tools/docs/tf_doctest.py). For example: ```bashRegistered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Sat Jan 11 04:47:59 UTC 2025 - 15.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MultimapBuilder.java
* MultimapBuilder.linkedHashKeys().arrayListValues().build(); * SortedSetMultimap<String, Method> methodsForName = * MultimapBuilder.treeKeys().treeSetValues(this::compareMethods).build(); * } * * <p>{@code MultimapBuilder} instances are immutable. Invoking a configuration method has no effect * on the receiving instance; you must store and use the new builder instance it returns instead. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 18K bytes - Viewed (0) -
guava/src/com/google/common/collect/MultimapBuilder.java
* MultimapBuilder.linkedHashKeys().arrayListValues().build(); * SortedSetMultimap<String, Method> methodsForName = * MultimapBuilder.treeKeys().treeSetValues(this::compareMethods).build(); * } * * <p>{@code MultimapBuilder} instances are immutable. Invoking a configuration method has no effect * on the receiving instance; you must store and use the new builder instance it returns instead. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 18K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/LongMathTest.java
} } /** Helper method that asserts the arithmetic mean of x and y is equal to the expectedMean. */ private static void assertMean(long expectedMean, long x, long y) { assertEquals( "The expectedMean should be the same as computeMeanSafely", expectedMean, computeMeanSafely(x, y)); assertMean(x, y); } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 31.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImplTest.java
try { indexUpdateCallback.isUrlCrawlable(paramMap, null); fail("Expected NullPointerException for null URL"); } catch (NullPointerException e) { // Expected behavior - the method doesn't handle null URLs } } public void test_isUrlCrawlable_nullUrlWithoutPattern() { DataStoreParams paramMap = new DataStoreParams();Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 23:31:00 UTC 2025 - 7.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/sereq/AdminSereqAction.java
} return redirect(getClass()); // no-op } /** * Creates a CURL request from the provided header string. * * @param header the header string containing HTTP method and path * @return CURL request object or null if header is invalid */ private CurlRequest getCurlRequest(final String header) { if (StringUtil.isBlank(header)) { return null;Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 7.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbRenewableCredentialsTest.java
import jcifs.CIFSContext; import jcifs.CIFSException; import jcifs.Credentials; /** * Tests for SmbRenewableCredentials interface. * * Since this file is an interface with a single method, we provide small * helper implementations to exercise expected interaction patterns and edge cases. */ @ExtendWith(MockitoExtension.class) public class SmbRenewableCredentialsTest {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/multichannel/ChannelManagerTest.java
ChannelInfo healthyChannel = new ChannelInfo("test-channel", mockTransport, localInterface, remoteInterface); healthyChannel.setState(ChannelState.ESTABLISHED); // Use reflection or package-private method to add channel for testing // For now, just test the empty case assertEquals(0, channelManager.getHealthyChannels().size()); } @Test void testChannelSelection() { try {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 7.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/PluginHelperTest.java
protected void install(Artifact artifact) { // Mock install method } }; Artifact artifact = new Artifact("fess-ds-test", "1.0.0", "http://test.com/test.jar"); try { testHelper.installArtifact(artifact); // If we get here, the method executed without throwing assertTrue(true); } catch (Exception e) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 05:35:01 UTC 2025 - 22.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/DfsTest.java
assertNull(testDfs.getTrustedDomains(auth)); } @Test void testGetTrustedDomains_Success() throws IOException, SmbAuthException { // This test is complex due to static method dependencies and reflection access // For now, we'll test the disabled path which is safer testDfs.setDisabled(true); assertNull(testDfs.getTrustedDomains(auth)); } @TestRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.6K bytes - Viewed (0)