Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2351 - 2360 of 5,013 for cstring (0.04 sec)

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

            assertEquals(new String(testPassword), auth.getPassword());
        }
    
        /**
         * Test null password handling
         */
        @Test
        public void testNullPasswordHandling() {
            // Test with null String password
            NtlmPasswordAuthenticator auth1 = new NtlmPasswordAuthenticator("testuser", (String) null);
            assertNull(auth1.getPassword());
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessApiFailureHook.java

                    sb.append(" [ ").append(sw.toString()).append(" ]");
                } catch (final IOException ignore) {}
                return sb.toString();
            };
    
            if (Constants.TRUE.equalsIgnoreCase(ComponentUtil.getFessConfig().getApiJsonResponseExceptionIncluded())) {
                return stacktraceString.get();
            }
    
            final String errorCode = UUID.randomUUID().toString();
            if (logger.isDebugEnabled()) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/UrlComponentEncodingTesterJvm.kt

        apply {
          uriEscapedCodePoints.append(String(*codePoints))
        }
    
      /**
       * Configure code points to be stripped in conversion to `java.net.URI`. That class is more
       * strict than the others.
       */
      fun stripForUri(vararg codePoints: Int) =
        apply {
          uriStrippedCodePoints.append(String(*codePoints))
        }
    
      override fun test(
        codePoint: Int,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/eventbus/SubscriberTest.java

        assertThrows(JudgmentError.class, () -> subscriber.invokeSubscriberMethod(FIXTURE_ARGUMENT));
      }
    
      public void testEquals() throws Exception {
        Method charAt = String.class.getMethod("charAt", int.class);
        Method concat = String.class.getMethod("concat", String.class);
        new EqualsTester()
            .addEqualityGroup(
                Subscriber.create(bus, "foo", charAt), Subscriber.create(bus, "foo", charAt))
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/io/ClassTraversalTest.java

        @Before
        public void setUp() throws Exception {
            count = 0;
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testForEachJarFile() throws Exception {
            final String classFilePath = TestCase.class.getName().replace('.', '/') + ".class";
            final URL classURL = ResourceUtil.getResource(classFilePath);
            final JarURLConnection con = (JarURLConnection) classURL.openConnection();
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/dcerpc/DcerpcPipeHandle.java

         */
        public DcerpcPipeHandle(String url, final NtlmPasswordAuthentication auth)
                throws UnknownHostException, MalformedURLException, DcerpcException {
            binding = DcerpcHandle.parseBinding(url);
            url = "smb1://" + binding.server + "/IPC$/" + binding.endpoint.substring(6);
    
            String params = "", server, address;
            server = (String) binding.getOption("server");
            if (server != null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/OsService.java

         * @return the operating system name (never null)
         */
        @Nonnull
        String name();
    
        /**
         * Returns the OS architecture as reported by the system property "os.arch".
         * The value is converted to lowercase for consistency.
         *
         * @return the operating system architecture (never null)
         */
        @Nonnull
        String arch();
    
        /**
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Mon Feb 10 14:12:18 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRetainAllTester.java

      private final class Target {
        private final Collection<E> toRetain;
        private final String description;
    
        private Target(Collection<E> toRetain, String description) {
          this.toRetain = toRetain;
          this.description = description;
        }
    
        @Override
        public String toString() {
          return description;
        }
      }
    
      private Target empty;
      private Target disjoint;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 18 15:05:43 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralTest.java

            // Then
            assertEquals(0, bytesRead);
        }
    
        @Test
        @DisplayName("toString should return formatted string with details")
        void testToString() throws Exception {
            // Given
            String filename = "\\\\server\\share\\file.txt";
            trans2GetDfsReferral = new Trans2GetDfsReferral(mockConfig, filename);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/base/EquivalenceTest.java

                LENGTH_EQUIVALENCE.<@Nullable String>wrap(null),
                LENGTH_EQUIVALENCE.<@Nullable String>wrap(null))
            .addEqualityGroup(Equivalence.equals().wrap("hello"))
            .addEqualityGroup(Equivalence.equals().<@Nullable Object>wrap(null))
            .testEquals();
      }
    
      public void testWrap_get() {
        String test = "test";
        Wrapper<String> wrapper = LENGTH_EQUIVALENCE.wrap(test);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.5K bytes
    - Viewed (0)
Back to top