- Sort Score
- Result 10 results
- Languages All
Results 501 - 510 of 2,244 for convert (0.88 sec)
-
src/test/java/jcifs/netbios/LmhostsTest.java
String content = "#INCLUDE \\\\server\\share\\lmhosts\n" + "192.168.1.100 MAINHOST\n"; // Mock SmbFileInputStream to simulate include file try (MockedConstruction<SmbFileInputStream> mockedConstruction = Mockito.mockConstruction(SmbFileInputStream.class, (mock, context) -> { // Mock the read method to return simple contentRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.2K bytes - Viewed (0) -
cmd/metrics.go
tc, ok := r.Context().Value(mcontext.ContextTraceKey).(*mcontext.TraceCtxt) if ok { tc.FuncName = "handler.MetricsLegacy" tc.ResponseRecorder.LogErrBody = true } mfs, err := gatherers.Gather() if err != nil { if len(mfs) == 0 { writeErrorResponseJSON(r.Context(), w, toAdminAPIErr(r.Context(), err), r.URL) return } }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Oct 24 04:06:31 UTC 2025 - 16.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/tcp/TcpRdmaProvider.java
return new TcpRdmaConnection(remote, local); } @Override public RdmaConnection connect(String hostname, int port) throws IOException { InetSocketAddress remoteAddress = new InetSocketAddress(hostname, port); RdmaConnection connection = createConnection(remoteAddress, null); connection.connect(); return connection; } @Override
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 2.9K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/io/IOIntegrationTest.java
class MockCurlRequest extends CurlRequest { MockCurlRequest(Curl.Method method, String url) { super(method, url); } @Override public void connect(Consumer<HttpURLConnection> actionListener, Consumer<Exception> exceptionListener) { try { actionListener.accept(new MockHttpURLConnection(new URL(url))); } catch (MalformedURLException e) {Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Sat May 10 01:44:04 UTC 2025 - 3.4K bytes - Viewed (0) -
cmd/erasure-metadata.go
} // pickValidFileInfo - picks one valid FileInfo content and returns from a // slice of FileInfo. func pickValidFileInfo(ctx context.Context, metaArr []FileInfo, modTime time.Time, etag string, quorum int) (FileInfo, error) { return findFileInfoInQuorum(ctx, metaArr, modTime, etag, quorum) }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 21.3K bytes - Viewed (0) -
fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/client/FesenClientTest.java
} // Should try initial + maxRetryCount times (1 + 3 = 4) assertEquals(4, attemptCount.get()); } /** * Test: Null safety in connect() when targetIndices is null * Verifies that connect() handles null targetIndices gracefully */ @Test public void testConnectWithNullTargetIndices() { final AdminClient mockAdminClient = mock(AdminClient.class);Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 20 08:44:44 UTC 2025 - 17K bytes - Viewed (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/entity/OpenSearchAccessResultData.java
} catch (final Exception e) { throw new OpenSearchAccessException("data: " + dataStr, e); } } } /** * Converts this access result data to XContent format for OpenSearch indexing. * * @param builder The XContentBuilder to write to. * @param params Additional parameters for the conversion.
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 3.2K bytes - Viewed (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/entity/OpenSearchUrlQueue.java
*/ public static final String CREATE_TIME = "createTime"; /** * Field name for weight. */ public static final String WEIGHT = "weight"; /** * Converts this URL queue entry to XContent format for OpenSearch indexing. * * @param builder The XContentBuilder to write to. * @param params Additional parameters for the conversion.Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 3.1K bytes - Viewed (0) -
internal/config/bool-flag.go
// BoolFlag - wrapper bool type. type BoolFlag bool // String - returns string of BoolFlag. func (bf BoolFlag) String() string { if bf { return "on" } return "off" } // MarshalJSON - converts BoolFlag into JSON data. func (bf BoolFlag) MarshalJSON() ([]byte, error) { return json.Marshal(bf.String()) } // UnmarshalJSON - parses given data into BoolFlag.
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Thu Apr 07 15:10:40 UTC 2022 - 2.3K bytes - Viewed (0) -
src/main/java/jcifs/util/transport/Transport.java
} } /* * Build a connection. Only one thread will ever call this method at * any one time. If this method throws an exception or the connect timeout * expires an encapsulating TransportException will be thrown from connect * and the transport will be in error. */ /** * Establish the transport connection * * @throws Exception if the connection failsRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 27.8K bytes - Viewed (0)