Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 728 for ostname (0.06 sec)

  1. src/test/java/jcifs/netbios/UniAddressTest.java

                when(mockInetAddress.getHostName()).thenReturn("h.ostname");
                UniAddress uniAddress = new UniAddress(mockInetAddress);
                // Dot at position 1, which is NOT > 1, so it doesn't substring, just uppercase
                assertEquals("H.OSTNAME", uniAddress.firstCalledName());
            }
        }
    
        @Nested
        @DisplayName("nextCalledName method tests")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  2. cmd/net_test.go

    			sortedIPList: []string{"hostname", "192.168.1.106", "127.0.0.1"},
    		},
    		// Non parsable ip is assumed to be hostname, with a mixed input of ip and hostname.
    		// gets preserved and moved into left most elements, regardless of
    		// IP based sorting.
    		{
    			ipList:       []string{"hostname1", "10.0.0.13", "hostname2", "127.0.0.1", "192.168.1.106"},
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/tls/OkHostnameVerifier.kt

       * @param pattern domain name pattern from certificate. May be a wildcard pattern such as
       *     `*.android.com`.
       */
      private fun verifyHostname(
        hostname: String?,
        pattern: String?,
      ): Boolean {
        var hostname = hostname
        var pattern = pattern
        if (hostname.isNullOrEmpty() ||
          hostname.startsWith(".") ||
          hostname.endsWith("..")
        ) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  4. okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt

         * a literal IP address, or a hostname pattern. If no subject alternative names are added that
         * extension will be omitted.
         */
        fun addSubjectAlternativeName(altName: String) =
          apply {
            altNames += altName
          }
    
        /**
         * Set this certificate's common name (CN). Historically this held the hostname of TLS
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 21.6K bytes
    - Viewed (0)
  5. samples/crawler/src/main/java/okhttp3/sample/Crawler.java

          }
    
          Thread currentThread = Thread.currentThread();
          String originalName = currentThread.getName();
          currentThread.setName("Crawler " + url);
          try {
            fetch(url);
          } catch (IOException e) {
            System.out.printf("XXX: %s %s%n", url, e);
          } finally {
            currentThread.setName(originalName);
          }
        }
      }
    
      public void fetch(HttpUrl url) throws IOException {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jul 23 00:58:06 UTC 2025
    - 5K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessMailDeliveryDepartmentCreatorTest.java

            }
        }
    
        // Test with different hostnames
        public void test_differentHostnames() {
            String[] hostnames = { "smtp.gmail.com", "mail.example.com", "localhost", "192.168.1.1" };
    
            for (String hostname : hostnames) {
                ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/NetbiosNameTest.java

            when(mockNetbiosName.getName()).thenReturn(testName);
    
            // When
            String name = mockNetbiosName.getName();
    
            // Then
            assertEquals(testName, name);
            verify(mockNetbiosName).getName();
        }
    
        @Test
        @DisplayName("Should handle getScope() method")
        void testGetScope() {
            // Given
            String testScope = "WORKGROUP";
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/net/SmbShareInfoTest.java

            // Verify all values are set correctly
            assertEquals(TEST_NET_NAME, info.getName());
            assertEquals(SmbConstants.TYPE_SHARE, info.getType());
            assertNotNull(info.toString());
            assertTrue(info.toString().contains(TEST_NET_NAME));
            assertTrue(info.toString().contains(TEST_REMARK));
        }
    
        @Test
        @DisplayName("Test getName method")
        void testGetName() {
            // Default constructor
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/netbios/NameServiceClientImpl.java

        private static boolean isAllDigits(final String hostname) {
            for (int i = 0; i < hostname.length(); i++) {
                if (!Character.isDigit(hostname.charAt(i))) {
                    return false;
                }
            }
            return true;
        }
    
        @Override
        public UniAddress getByName(final String hostname) throws UnknownHostException {
            return getByName(hostname, false);
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 38.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/duplicatehost/CreateForm.java

     * crawling from duplicate hostnames to the regular canonical hostname.
     */
    public class CreateForm {
    
        /**
         * Creates a new CreateForm instance.
         */
        public CreateForm() {
        }
    
        /** The CRUD operation mode for form processing */
        @ValidateTypeFailure
        public Integer crudMode;
    
        /** The regular canonical hostname that should be used */
        @Required
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.5K bytes
    - Viewed (0)
Back to top