Search Options

Results per page
Sort
Preferred Languages
Advance

Results 651 - 660 of 1,715 for docstring (0.11 sec)

  1. src/main/java/org/codelibs/core/xml/DomUtil.java

                case '"':
                    buf.append(""");
                    break;
                default:
                    buf.append(element);
                }
            }
            return buf.toString();
        }
    
        /**
         * テキストをエンコードします。
         *
         * @param s
         *            テキスト
         * @return エンコードされたテキスト
         */
        public static String encodeText(final String s) {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  2. android/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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:12:33 UTC 2024
    - 45K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/MediaTypeTest.kt

        assertEquals("text", mediaType.type)
        assertEquals("plain", mediaType.subtype)
        assertEquals("UTF-8", mediaType.charsetName())
        assertEquals("text/plain;boundary=foo;charset=utf-8", mediaType.toString())
        assertEquals(mediaType, parse("text/plain;boundary=foo;charset=utf-8"))
        assertEquals(
          mediaType.hashCode(),
          parse("text/plain;boundary=foo;charset=utf-8").hashCode(),
        )
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/query/TermQueryCommand.java

                }
                final SortOrder sortOrder;
                if (values.length == 2) {
                    if (SortOrder.DESC.toString().equalsIgnoreCase(values[1])) {
                        sortOrder = SortOrder.DESC;
                    } else if (SortOrder.ASC.toString().equalsIgnoreCase(values[1])) {
                        sortOrder = SortOrder.ASC;
                    } else {
                        throw new InvalidQueryException(
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 10K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultTransformerContextBuilder.java

                    return null;
                }
            };
        }
    
        private boolean addEdge(Path from, Path p, DefaultModelProblemCollector problems) {
            try {
                dag.addEdge(from.toString(), p.toString());
                return true;
            } catch (Graph.CycleDetectedException e) {
                problems.add(new DefaultModelProblem(
                        "Cycle detected between models at " + from + " and " + p,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/netbios/Name.java

                while(( n = src[srcIndex++] & 0xFF ) != 0 ) {
                    sb.append( '.' ).append( new String( src, srcIndex, n, Name.OEM_ENCODING ));
                    srcIndex += n;
                }
                scope = sb.toString();
            } catch( UnsupportedEncodingException uee ) {
            }
    
            return srcIndex - start;
        }
    
        public int hashCode() {
            int result;
    
            result = name.hashCode();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 6.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/CharSourceTester.java

        }
        reader.close();
        writer.close();
    
        assertExpectedString(writer.toString());
      }
    
      public void testCopyTo_appendable() throws IOException {
        StringBuilder builder = new StringBuilder();
    
        assertEquals(expected.length(), source.copyTo(builder));
    
        assertExpectedString(builder.toString());
      }
    
      public void testCopyTo_charSink() throws IOException {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/HtmlExtractor.java

                switch (xObj.type()) {
                case BOOLEAN:
                    final Boolean b = (Boolean) xObj.value();
                    return new String[] { b.toString() };
                case NUMBER:
                    final Number d = (Number) xObj.value();
                    return new String[] { d.toString() };
                case STRING:
                    final String str = (String) xObj.value();
                    return new String[] { str.trim() };
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/job/AggregateLogJob.java

            } catch (final Exception e) {
                logger.error("Failed to store a search log.", e);
                resultBuf.append(e.getMessage()).append("\n");
            }
    
            return resultBuf.toString();
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainBeforeHook.java

                @Override
                public TimeZone provide() {
                    return provided;
                }
    
                @Override
                public String toString() {
                    return DfTypeUtil.toClassTitle(this) + ":{" + provided.getID() + "}";
                }
            };
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top