Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 381 - 390 of 785 for ghost (0.02 seconds)

  1. src/test/java/jcifs/smb/SmbEnumerationUtilTest.java

                }
            }
        }
    
        @Nested
        @DisplayName("Master browser enumeration tests")
        class MasterBrowserEnumerationTests {
    
            @Test
            @DisplayName("doEnum with empty host throws SmbUnsupportedOperationException when master browser not found")
            void doEnum_withEmptyHost_throwsUnsupportedWithoutNetwork() throws Exception {
                // Arrange: mock parent + locator so no real network is used
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.1K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb/SmbOperationExceptionTest.java

        @Test
        @DisplayName("Should add and retrieve context information")
        void testContextInformation() {
            // Given
            Map<String, Object> initialContext = new HashMap<>();
            initialContext.put("host", "server.example.com");
            initialContext.put("port", 445);
    
            exception = new SmbOperationException(SmbOperationException.ErrorCode.ACCESS_DENIED, "Permission denied", null,
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 16.1K bytes
    - Click Count (0)
  3. cmd/signature-v2.go

    		return ErrMalformedExpires
    	}
    
    	// Check if the presigned URL has expired.
    	if expiresInt < UTCNow().Unix() {
    		return ErrExpiredPresignRequest
    	}
    
    	encodedResource, err = getResource(encodedResource, r.Host, globalDomainNames)
    	if err != nil {
    		return ErrInvalidRequest
    	}
    
    	expectedSignature := preSignatureV2(cred, r.Method, encodedResource, strings.Join(filteredQueries, "&"), r.Header, expires)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 12.2K bytes
    - Click Count (0)
  4. android-test/src/androidDeviceTest/java/okhttp/android/test/sni/SniOverrideTest.kt

              } catch (e: Exception) {
                false
              }
            }.build()
    
        val request =
          Request
            .Builder()
            .url("https://sni.cloudflaressl.com/cdn-cgi/trace")
            .header("Host", "cloudflare-dns.com")
            .build()
        client.newCall(request).execute().use { response ->
          assertThat(response.code).isEqualTo(200)
          assertThat(response.protocol).isEqualTo(Protocol.HTTP_2)
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jan 26 07:38:51 GMT 2026
    - 3.6K bytes
    - Click Count (0)
  5. container-tests/src/test/java/okhttp3/containers/BasicLoomTest.kt

        Executors::class.java.getMethod("newVirtualThreadPerTaskExecutor").invoke(null) as ExecutorService
    
      @Test
      fun testHttpsRequest() {
        MockServerClient(mockServer.host, mockServer.serverPort).use { mockServerClient ->
          mockServerClient
            .`when`(
              request()
                .withPath("/person")
                .withQueryStringParameter("name", "peter"),
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 3.7K bytes
    - Click Count (1)
  6. src/test/java/org/codelibs/fess/util/SystemUtilTest.java

        }
    
        @Test
        public void test_maskSensitiveValue_safeValues() {
            // These should NOT be masked
            assertEquals("localhost:9200", SystemUtil.maskSensitiveValue("HOST", "localhost:9200"));
            assertEquals("8080", SystemUtil.maskSensitiveValue("PORT", "8080"));
            assertEquals("/var/log/fess", SystemUtil.maskSensitiveValue("LOG_DIR", "/var/log/fess"));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 17.1K bytes
    - Click Count (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RealInterceptorChain.kt

        calls++
    
        if (exchange != null) {
          check(exchange.finder.routePlanner.sameHostAndPort(request.url)) {
            "network interceptor ${interceptors[index - 1]} must retain the same host and port"
          }
          check(calls == 1) {
            "network interceptor ${interceptors[index - 1]} must call proceed() exactly once"
          }
        }
    
        // Call the next interceptor in the chain.
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Mar 10 21:47:20 GMT 2026
    - 12.8K bytes
    - Click Count (0)
  8. src/test/java/jcifs/ntlmssp/av/AvTargetNameTest.java

         * Verifies that the original string is returned after encoding and decoding.
         */
        @Test
        void testGetTargetNameFromStringConstructor() {
            String targetName = "MyService/Host.Domain.com";
            AvTargetName avTargetName = new AvTargetName(targetName);
    
            // Verify that getTargetName returns the original string
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/exec/CrawlerTest.java

                public long getCurrentTimeAsLong() {
                    return System.currentTimeMillis();
                }
    
                @Override
                public String getHostname() {
                    return "test-host";
                }
    
                @Override
                public File createTempFile(String prefix, String suffix) {
                    try {
                        return File.createTempFile(prefix, suffix);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 30.8K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/crawler/transformer/AbstractFessFileTransformer.java

            try {
                return URLDecoder.decode(name, enc);
            } catch (final Exception e) {
                return name;
            }
        }
    
        /**
         * Get the host on file.
         * @param url The URL.
         * @return The host on file.
         */
        protected String getHostOnFile(final String url) {
            if (StringUtil.isBlank(url)) {
                return StringUtil.EMPTY; // empty
            }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 25.7K bytes
    - Click Count (0)
Back to Top