Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 870 for ostname (0.06 sec)

  1. src/test/java/jcifs/dcerpc/msrpc/srvsvcTest.java

            srvsvc.ShareInfo0 shareInfo0 = new srvsvc.ShareInfo0();
            shareInfo0.netname = null;
    
            shareInfo0.encode(mockNdrBuffer);
    
            // Verify the encode operations
            verify(mockNdrBuffer).align(4);
            verify(mockNdrBuffer).enc_ndr_referent(null, 1);
            // Should not encode string if netname is null
            verify(mockDeferredBuffer, never()).enc_ndr_string(anyString());
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  2. android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt

        val clientCertificates =
          HandshakeCertificates
            .Builder()
            .apply {
              if (Build.VERSION.SDK_INT >= 24) {
                addInsecureHost(server.hostName)
              }
            }.build()
    
        client =
          client
            .newBuilder()
            .sslSocketFactory(clientCertificates.sslSocketFactory(), clientCertificates.trustManager)
            .build()
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 02 14:12:28 UTC 2025
    - 29K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/UniAddressTest.java

        @ParameterizedTest
        @MethodSource("hostnamesProvider")
        void firstCalledNameForInetAddressConformsToUpperCase(String hostname, String hostWithoutDot, String expectedPrefix) {
            // Arrange
            InetAddress addr = mock(InetAddress.class);
            when(addr.getHostName()).thenReturn(hostname);
            UniAddress ua = new UniAddress(addr);
            // Act
            String called = ua.firstCalledName();
            // Assert
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java

                verify(request, times(1)).getName();
            }
    
            @Test
            @DisplayName("getName() should handle null return value")
            void testGetNameWithNull() {
                CreateContextRequest request = mock(CreateContextRequest.class);
                when(request.getName()).thenReturn(null);
    
                byte[] actualName = request.getName();
                assertNull(actualName);
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbTransportImplTest.java

            when(cfg.getResponseTimeout()).thenReturn(2222);
    
            // Act & Assert
            assertEquals(2222, transport.getResponseTimeout(req));
        }
    
        @Test
        @DisplayName("Basic getters: address, hostName, inflight, sessions")
        void basicGetters() {
            assertEquals(address, transport.getRemoteAddress());
            assertNull(transport.getRemoteHostName(), "tconHostName starts null");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

                    for (int i = 0; i < response.addressArray.length; i++) {
                        response.addressArray[i].hostName.srcHashCode = srcHashCode;
                    }
                    return response.addressArray;
                }
            }
            throw new UnknownHostException(addr.hostName.name);
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/NetServerEnum2Test.java

            assertEquals(5000, netServerEnum2.timeout);
        }
    
        /**
         * Test the reset method.
         */
        @Test
        void testReset() {
            String lastName = "LAST_NAME";
            netServerEnum2.reset(0, lastName);
            assertEquals(lastName, netServerEnum2.lastName);
        }
    
        /**
         * Test the writeSetupWireFormat method.
         */
        @Test
        void testWriteSetupWireFormat() {
            byte[] dst = new byte[10];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/fileauth/CreateForm.java

            // Default constructor
        }
    
        /** The CRUD operation mode for this form. */
        @ValidateTypeFailure
        public Integer crudMode;
    
        /** The hostname of the file server (maximum 100 characters). */
        @Size(max = 100)
        public String hostname;
    
        /** The port number of the file server (0 to 2147483647). */
        @Min(value = 0)
        @Max(value = 2147483647)
        @ValidateTypeFailure
        public Integer port;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  9. okhttp/src/jvmMain/kotlin/okhttp3/internal/platform/BouncyCastlePlatform.kt

        throw UnsupportedOperationException(
          "clientBuilder.sslSocketFactory(SSLSocketFactory) not supported with BouncyCastle",
        )
    
      override fun configureTlsExtensions(
        sslSocket: SSLSocket,
        hostname: String?,
        protocols: List<@JvmSuppressWildcards Protocol>,
      ) {
        if (sslSocket is BCSSLSocket) {
          val sslParameters = sslSocket.parameters
    
          // Enable ALPN.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/webauth/CreateForm.java

        }
    
        /**
         * The CRUD mode for the form.
         */
        @ValidateTypeFailure
        public Integer crudMode;
    
        /**
         * The hostname for the web authentication.
         */
        @Size(max = 100)
        public String hostname;
    
        /**
         * The port number for the web authentication.
         */
        @Min(value = 0)
        @Max(value = 2147483647)
        @ValidateTypeFailure
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.8K bytes
    - Viewed (0)
Back to top