Search Options

Results per page
Sort
Preferred Languages
Advance

Results 541 - 550 of 1,673 for Docstring (0.04 sec)

  1. guava-tests/test/com/google/common/io/ResourcesTest.java

        return suite;
      }
    
      public void testToString() throws IOException {
        URL resource = getClass().getResource("testdata/i18n.txt");
        assertEquals(I18N, Resources.toString(resource, UTF_8));
        assertThat(Resources.toString(resource, US_ASCII)).isNotEqualTo(I18N);
      }
    
      public void testToByteArray() throws IOException {
        URL resource = getClass().getResource("testdata/i18n.txt");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/helper/NotificationHelperTest.java

                longContent.append("Content Line ").append(i).append(" with more text. ");
            }
    
            discloser.setSubject(longSubject.toString());
            discloser.setPlainText(longContent.toString());
    
            String result = notificationHelper.toSlackMessage(discloser);
    
            assertNotNull(result);
            assertTrue(result.contains("Subject Line"));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/IterablesTest.java

        assertFalse(elementsEqual(b, a));
      }
    
      public void testToString() {
        List<String> list = emptyList();
        assertEquals("[]", Iterables.toString(list));
    
        list = newArrayList("yam", "bam", "jam", "ham");
        assertEquals("[yam, bam, jam, ham]", Iterables.toString(list));
      }
    
      public void testLimit() {
        Iterable<String> iterable = newArrayList("foo", "bar", "baz");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 46.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/convert/DoubleConversionUtil.java

                    return Double.valueOf(new SimpleDateFormat(pattern).format(o));
                }
                return Double.valueOf(((java.util.Date) o).getTime());
            } else {
                return toDouble(o.toString());
            }
        }
    
        private static Double toDouble(final String s) {
            if (StringUtil.isEmpty(s)) {
                return null;
            }
            return Double.valueOf(DecimalFormatUtil.normalize(s));
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/trans/TransPeekNamedPipeResponse.java

        @Override
        protected int readDataWireFormat(final byte[] buffer, final int bufferIndex, final int len) {
            return 0;
        }
    
        @Override
        public String toString() {
            return ("TransPeekNamedPipeResponse[" + super.toString() + "]");
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/com/SmbComNegotiate.java

        }
    
        @Override
        protected int readBytesWireFormat(final byte[] buffer, final int bufferIndex) {
            return 0;
        }
    
        @Override
        public String toString() {
            return ("SmbComNegotiate[" + super.toString() + ",wordCount=" + this.wordCount + ",dialects=NT LM 0.12]");
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/api/admin/searchlist/ApiAdminSearchlistAction.java

            }).orElseGet(() -> {
                throwValidationErrorApi(messages -> messages.addErrorsCrudCouldNotFindCrudTable(GLOBAL, body.doc.toString()));
                return null;
            });
            return asJson(
                    new ApiUpdateResponse().id(doc.get(fessConfig.getIndexFieldDocId()).toString()).created(false).status(Status.OK).result());
        }
    
        /**
         * Deletes a document by ID from the search index.
         *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/com/SmbComRenameTest.java

            // When
            int result = smbComRename.readBytesWireFormat(buffer, 0);
    
            // Then
            assertEquals(0, result);
        }
    
        /**
         * Test toString method
         */
        @Test
        @DisplayName("Test toString returns properly formatted string")
        public void testToString() {
            // Given
            String oldFileName = "oldFile.txt";
            String newFileName = "newFile.txt";
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/query/MatchAllQueryCommandTest.java

            assertTrue(result2 instanceof MatchAllQueryBuilder);
    
            // Both should generate the same JSON
            String json1 = result1.toString().replaceAll("[\\s\\n]", "");
            String json2 = result2.toString().replaceAll("[\\s\\n]", "");
            assertEquals(json1, json2);
        }
    
        public void test_execute_withVeryLargeBoost() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/primitives/UnsignedLongsTest.java

          String maxAsString = max.toString(radix);
          assertThat(UnsignedLongs.parseUnsignedLong(maxAsString, radix)).isEqualTo(max.longValue());
    
          assertThrows(
              NumberFormatException.class,
              () -> {
                BigInteger overflow = max.add(ONE);
                String overflowAsString = overflow.toString(radix);
                UnsignedLongs.parseUnsignedLong(overflowAsString, radix);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
Back to top