Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 36 for getChars (0.09 sec)

  1. android/guava/src/com/google/common/io/CharSource.java

       *
       * <ul>
       *   <li>use {@link StringReader} instead of {@link CharSequenceReader}. It is faster since it can
       *       use {@link String#getChars(int, int, char[], int)} instead of copying characters one by
       *       one with {@link CharSequence#charAt(int)}.
       *   <li>use {@link Appendable#append(CharSequence)} in {@link #copyTo(Appendable)} and {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/io/CharSource.java

       *
       * <ul>
       *   <li>use {@link StringReader} instead of {@link CharSequenceReader}. It is faster since it can
       *       use {@link String#getChars(int, int, char[], int)} instead of copying characters one by
       *       one with {@link CharSequence#charAt(int)}.
       *   <li>use {@link Appendable#append(CharSequence)} in {@link #copyTo(Appendable)} and {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java

            SmbResourceLocatorImpl copy = l.clone();
            assertEquals(l.getURLPath(), copy.getURLPath());
            assertEquals(l.getUNCPath(), copy.getUNCPath());
            assertEquals(l.getShare(), copy.getShare());
            assertEquals(l.getType(), copy.getType());
            assertSame(l.getURL(), copy.getURL());
        }
    
        @ParameterizedTest
        @DisplayName("queryLookup extracts values case-insensitively")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/DfsReferralDataTest.java

        void testGetShare() {
            // Given
            String share = "testshare";
            when(mockReferralData.getShare()).thenReturn(share);
    
            // When
            String result = mockReferralData.getShare();
    
            // Then
            assertEquals(share, result);
            verify(mockReferralData).getShare();
        }
    
        @Test
        @DisplayName("Should get path consumed")
        void testGetPathConsumed() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbTreeConnection.java

                if (t != null) {
                    if (log.isDebugEnabled()) {
                        log.debug("Tree is " + t);
                    }
    
                    if (Objects.equals(loc.getShare(), t.getShare())) {
                        try (SmbSessionImpl session = t.getSession()) {
                            targetDomain = session.getTargetDomain();
                            if (!session.isFailed()) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java

          h = remix(h);
          buf[bufLen++] = getChar(h);
    
          h ^= fingerprint(buf, i * i % bufLen);
          h = remix(h);
          buf[bufLen++] = getChar(h);
    
          h ^= fingerprint(buf, i * i * i % bufLen);
          h = remix(h);
          buf[bufLen++] = getChar(h);
    
          h ^= fingerprint(buf, bufLen);
          h = remix(h);
          buf[bufLen++] = getChar(h);
    
          int x0 = buf[bufLen - 1] & 0xff;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/hash/Fingerprint2011Test.java

          h = remix(h);
          buf[bufLen++] = getChar(h);
    
          h ^= fingerprint(buf, i * i % bufLen);
          h = remix(h);
          buf[bufLen++] = getChar(h);
    
          h ^= fingerprint(buf, i * i * i % bufLen);
          h = remix(h);
          buf[bufLen++] = getChar(h);
    
          h ^= fingerprint(buf, bufLen);
          h = remix(h);
          buf[bufLen++] = getChar(h);
    
          int x0 = buf[bufLen - 1] & 0xff;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java

                    }
    
                    @Override
                    public String getServer() {
                        return null;
                    }
    
                    @Override
                    public String getShare() {
                        return null;
                    }
    
                    @Override
                    public String getPath() {
                        return null;
                    }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

            if (dunc.charAt(0) != '\\') {
                log.warn("No slash at start of remaining DFS path " + dunc);
            }
    
            this.unc = dunc;
            if (dr.getShare() != null && !dr.getShare().isEmpty()) {
                this.share = dr.getShare();
            }
            if (reqPath != null && reqPath.endsWith("\\") && !dunc.endsWith("\\")) {
                dunc += "\\";
            }
            return dunc;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/dfs/DfsReferralDataInternalTest.java

                // Test with mock
                when(mockReferralData.getShare()).thenReturn(share);
                assertEquals(share, mockReferralData.getShare());
                verify(mockReferralData, times(1)).getShare();
    
                // Test with concrete implementation
                String concreteShare = concreteImplementation.getShare();
                // Should be share based on our initialization
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 28.2K bytes
    - Viewed (0)
Back to top