Search Options

Results per page
Sort
Preferred Languages
Advance

Results 871 - 880 of 1,673 for Docstring (0.67 sec)

  1. guava-tests/test/com/google/common/collect/SpecialRandom.java

        this.hasSeed = false;
        this.seed = 0;
      }
    
      public SpecialRandom(long seed) {
        super(seed);
        this.hasSeed = true;
        this.seed = seed;
      }
    
      @Override
      public String toString() {
        return hasSeed ? "(seed:" + seed : "(default seed)";
      }
    
      private static final long serialVersionUID = 0;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/text/JsonUtil.java

                default -> c < ' ' ? "\\u" + "0".repeat(4 - Integer.toHexString(c).length()) + Integer.toHexString(c) : String.valueOf(c);
                };
                buf.append(escaped);
            }
            return buf.toString();
        }
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 24 01:52:43 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/convert/DateConversionUtil.java

                return new Date(((Date) src).getTime());
            }
            if (src instanceof Calendar) {
                return new Date(((Calendar) src).getTimeInMillis());
            }
            final String str = src.toString();
            if (isEmpty(str)) {
                return null;
            }
            if (isNotEmpty(pattern)) {
                final SimpleDateFormat format = new SimpleDateFormat(pattern, locale);
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/CharSourceTest.java

        while ((read = reader.read(buf)) != -1) {
          writer.write(buf, 0, read);
        }
        reader.close();
        writer.close();
    
        assertTrue(source.wasStreamClosed());
        assertEquals(STRING, writer.toString());
      }
    
      public void testLines() throws IOException {
        source = new TestCharSource(LINES);
    
        ImmutableList<String> lines;
        try (Stream<String> linesStream = source.lines()) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbEnumerationUtil.java

            if (u.getPath().lastIndexOf('/') != u.getPath().length() - 1) {
                throw new SmbException(u.toString() + " directory must end with '/'");
            }
    
            if (locator.getType() != SmbConstants.TYPE_SERVER) {
                throw new SmbException("The requested list operations is invalid: " + u.toString());
            }
    
            final Set<FileEntry> set = new HashSet<>();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/netbios/NodeStatusRequestTest.java

        @Test
        void toString_shouldReturnFormattedString() {
            // Arrange
            nodeStatusRequest = new NodeStatusRequest(mockConfig, mockName);
    
            // Act
            String result = nodeStatusRequest.toString();
    
            // Assert
            assertNotNull(result);
            assertTrue(result.startsWith("NodeStatusRequest["));
            assertTrue(result.endsWith("]"));
            assertTrue(result.contains("NodeStatusRequest"));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/trans/SmbComTransactionResponse.java

         */
        protected abstract int readDataWireFormat(byte[] buffer, int bufferIndex, int len) throws SMBProtocolDecodingException;
    
        @Override
        public String toString() {
            return (super.toString() + ",totalParameterCount=" + this.totalParameterCount + ",totalDataCount=" + this.totalDataCount
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/persistent/PersistentHandleManager.java

        private void persistHandle(HandleInfo info) {
            if (info.getType() != HandleType.PERSISTENT) {
                return;
            }
    
            Path handleFile = stateDirectory.resolve(info.getCreateGuid().toString() + ".handle");
            try (ObjectOutputStream oos = new ObjectOutputStream(Files.newOutputStream(handleFile, StandardOpenOption.CREATE,
                    StandardOpenOption.WRITE, StandardOpenOption.TRUNCATE_EXISTING))) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 13K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbCopyUtilTest.java

                SmbTreeHandleImpl dh = newTreeHandle(false);
    
                byte[][] buffers = new byte[][] { new byte[8], new byte[8] };
    
                when(src.toString()).thenReturn("smb://src");
                when(dest.toString()).thenReturn("smb://dest");
    
                // Act + Assert
                SmbException ex =
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/FaultTolerantClientTest.java

                }
    
                final ResponseData responseData = new ResponseData();
                responseData.setUrl(request.getUrl());
                responseData.setMethod(request.getMethod().toString());
                return responseData;
            }
    
            /*
             * (non-Javadoc)
             *
             * @see org.codelibs.fess.crawler.client.CrawlerClient#doHead(java.lang.String)
             */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 15.1K bytes
    - Viewed (0)
Back to top