- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 329 for robot (0.05 sec)
-
okhttp/src/commonTest/kotlin/okhttp3/CompressionInterceptorTest.kt
.body("Hello".toResponseBody()) .header("Content-Encoding", "piedpiper") .build() }.build() val response = client.newCall(Request("https://google.com/robots.txt".toHttpUrl())).execute() assertThat(response.header("Content-Encoding")).isEqualTo("piedpiper") assertThat(response.body.string()).isEqualTo("Hello") } @Test fun gzipThroughCall() {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Aug 01 06:04:22 UTC 2025 - 3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponse.java
* Indicates a target set boundary in the referral response. */ public static final int FLAGS_TARGET_SET_BOUNDARY = 0x0004; /** * Indicates root targets in the DFS referral. */ public static final int TYPE_ROOT_TARGETS = 0x0; /** * Indicates non-root targets in the DFS referral. */ public static final int TYPE_NON_ROOT_TARGETS = 0x1;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/DfsImplTest.java
// Scenario: DFS is disabled. when(mockConfig.isDfsDisabled()).thenReturn(true); assertNull(dfsImpl.resolve(mockContext, "domain", "root", "/path")); } @Test void testResolve_NullRoot() throws SmbAuthException { // Scenario: The root is null. assertNull(dfsImpl.resolve(mockContext, "domain", null, "/path")); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.5K bytes - Viewed (0) -
src/test/java/jcifs/util/transport/ConnectionTimeoutExceptionTest.java
@Test void testThrowableConstructor() { // Test the constructor with a cause Throwable cause = new RuntimeException("Root cause of timeout"); ConnectionTimeoutException exception = new ConnectionTimeoutException(cause); assertEquals("java.lang.RuntimeException: Root cause of timeout", exception.getMessage(), "Message should be derived from the cause");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2K bytes - Viewed (0) -
guava/src/com/google/common/math/PairedStats.java
* * <p>This fit minimizes the root-mean-square error in {@code y} as a function of {@code x}. This * error is defined as the square root of the mean of the squares of the differences between the * actual {@code y} values of the data and the values predicted by the fit for the {@code x} * values (i.e. it is the square root of the mean of the squares of the vertical distances betweenRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 12.6K bytes - Viewed (0) -
src/test/java/org/codelibs/core/jar/JarFileUtilTest.java
public void testToJarFilePath() throws Exception { final File f = new File("/Program Files/foo.jar"); final URL url = new URL("jar:" + f.toURI().toURL() + "!/"); final String root = new File("/").getCanonicalPath(); assertEquals(root + "Program Files" + File.separator + "foo.jar", JarFileUtil.toJarFilePath(url)); } /** * @throws Exception */ public void testRelativePath() throws Exception {
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 1.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/xml/DomUtilTest.java
final Document doc = DocumentBuilderUtil.parse(builder, ResourceUtil.getResourceAsStream("org/codelibs/core/xml/test1.xml")); final Element root = doc.getDocumentElement(); final String contents = DomUtil.toString(root); System.out.println(contents); }
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 1.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileInputStream.java
IOException ioe = se; Throwable root = se.getCause(); if (root instanceof TransportException) { ioe = (TransportException) root; root = ioe.getCause(); } if (root instanceof InterruptedException) { ioe = new InterruptedIOException(root.getMessage()); ioe.initCause(root); } return ioe; } /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.6K bytes - Viewed (0) -
src/main/java/jcifs/util/transport/TransportException.java
*/ public TransportException(final String msg, final Throwable rootCause) { super(msg, rootCause); } /** * Gets the root cause of this exception. * @return root cause of this exception */ @Deprecated public Throwable getRootCause() { return getCause(); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.1K bytes - Viewed (0) -
okhttp-tls/src/test/java/okhttp3/tls/HeldCertificateTest.kt
} @Test fun ecdsaSignedByRsa() { val root = HeldCertificate .Builder() .certificateAuthority(0) .rsa2048() .build() val leaf = HeldCertificate .Builder() .certificateAuthority(0) .ecdsa256() .signedBy(root) .build() assertThat(root.certificate.sigAlgName).isEqualTo("SHA256WITHRSA", ignoreCase = true)
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 22.6K bytes - Viewed (0)