Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3061 - 3070 of 5,095 for tstring (0.06 sec)

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

            });
        }
    
        // Helper class for testing with concrete NetbiosName implementation
        private class TestNetbiosName implements NetbiosName {
            private final String name;
            private final int type;
            private final String scope;
    
            TestNetbiosName(String name, int type, String scope) {
                // Ensure names are uppercase and limited to 15 characters
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/http/NtlmHttpServletRequestTest.java

         */
        @Test
        void testGetRemoteUser() {
            // Arrange: Define the expected user name from the principal
            String expectedUserName = "testUser";
            when(mockPrincipal.getName()).thenReturn(expectedUserName);
    
            // Act: Call the method under test
            String actualUserName = ntlmRequest.getRemoteUser();
    
            // Assert: Verify that the returned user name is the expected one
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  3. api/maven-api-plugin/src/test/java/org/apache/maven/api/plugin/descriptor/another/ExtendedPluginDescriptorTest.java

         */
        static class ExtendedPluginDescriptor extends PluginDescriptor {
    
            private final String additionalField;
    
            ExtendedPluginDescriptor(Builder builder) {
                super(builder);
                this.additionalField = builder.additionalField;
            }
    
            public String getAdditionalField() {
                return additionalField;
            }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  4. docs/smb3-features/05-rdma-smb-direct-design.md

    ```java
    // In PropertyConfiguration.java
    public static final String USE_RDMA = "jcifs.smb.client.useRDMA";
    public static final String RDMA_PROVIDER = "jcifs.smb.client.rdmaProvider";
    public static final String RDMA_READ_WRITE_THRESHOLD = "jcifs.smb.client.rdmaReadWriteThreshold";
    public static final String RDMA_MAX_SEND_SIZE = "jcifs.smb.client.rdmaMaxSendSize";
    public static final String RDMA_MAX_RECEIVE_SIZE = "jcifs.smb.client.rdmaMaxReceiveSize";
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 35.9K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/WebPlatformToAsciiTest.kt

        if (failures.isNotEmpty()) {
          for (failure in failures) {
            println(failure)
          }
          throw failures.first()
        }
      }
    
      private fun testToAscii(
        input: String,
        output: String?,
        comment: String?,
      ) {
        val url = "https://$input/".toHttpUrlOrNull()
        assertThat(url?.host, name = comment ?: input).isEqualTo(output)
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. samples/guide/src/test/kotlin/okhttp3/AllMainsTest.kt

      fun runMain(className: String) {
        val mainMethod =
          Class
            .forName(className)
            .methods
            .find { it.name == "main" }
        try {
          if (mainMethod != null) {
            if (mainMethod.parameters.isEmpty()) {
              mainMethod.invoke(null)
            } else {
              mainMethod.invoke(null, arrayOf<String>())
            }
          } else {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/dcerpc/DcerpcException.java

         */
        public DcerpcException(final String msg) {
            super(msg);
        }
    
        /**
         * Constructs a DcerpcException with the specified message and root cause
         *
         * @param msg
         *            the error message
         * @param rootCause
         *            the underlying cause of this exception
         */
        public DcerpcException(final String msg, final Throwable rootCause) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/DosErrorTest.java

            final int expectedNt = 0xc0000002;
            Optional<Integer> actual = findNtStatus(dosErr);
            assertTrue(actual.isPresent(), String.format("Mapping for %08x should exist", dosErr));
            assertEquals(expectedNt, actual.get(), String.format("NTSTATUS for %08x should be %08x", dosErr, expectedNt));
        }
    
        @Test
        @DisplayName("Unknown DOS error code yields empty Optional")
        void testUnknownCode() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  9. cmd/data-usage-cache_test.go

    package cmd
    
    import (
    	"fmt"
    	"testing"
    
    	"github.com/dustin/go-humanize"
    )
    
    func TestSizeHistogramToMap(t *testing.T) {
    	tests := []struct {
    		sizes []int64
    		want  map[string]uint64
    	}{
    		{
    			sizes: []int64{100, 1000, 72_000, 100_000},
    			want: map[string]uint64{
    				"LESS_THAN_1024_B":         2,
    				"BETWEEN_64_KB_AND_256_KB": 2,
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sat Jan 13 07:51:08 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  10. compat/maven-compat/src/test/java/org/apache/maven/toolchain/DefaultToolchainTest.java

                @Override
                public String findTool(String toolName) {
                    return null;
                }
            };
        }
    
        private DefaultToolchain newDefaultToolchain(ToolchainModel model, String type) {
            return new DefaultToolchain(model, type, logger) {
                @Override
                public String findTool(String toolName) {
                    return null;
                }
            };
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Tue Feb 11 12:33:57 UTC 2025
    - 4.9K bytes
    - Viewed (0)
Back to top