Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2641 - 2650 of 2,799 for Create (0.05 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionToArrayTester.java

      /**
       * {@link Collection#toArray(Object[])} says: "Note that {@code toArray(new Object[0])} is
       * identical in function to {@code toArray()}."
       *
       * <p>For maximum effect, the collection under test should be created from an element array of a
       * type other than {@code Object[]}.
       */
      public void testToArray_isPlainObjectArray() {
        Object[] array = collection.toArray();
        assertEquals(Object[].class, array.getClass());
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/hash/Fingerprint2011Test.java

        assertThat(fingerprint(stringA.getBytes(UTF_8)))
            .isNotEqualTo(fingerprint(stringB.getBytes(UTF_8)));
    
        // ISO 8859-1 only has 0-255 (ubyte) representation so throws away UTF-8 characters
        // greater than 127 (ie with their top bit set).
        // Don't attempt to do this in real code.
        assertEquals(
            fingerprint(stringA.getBytes(ISO_8859_1)), fingerprint(stringB.getBytes(ISO_8859_1)));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/graph/GraphBuilder.java

     *     constructed based on an existing {@code Graph} using {@link #from(Graph)}.
     * @since 20.0
     */
    @Beta
    @DoNotMock
    public final class GraphBuilder<N> extends AbstractGraphBuilder<N> {
    
      /** Creates a new instance with the specified edge directionality. */
      private GraphBuilder(boolean directed) {
        super(directed);
      }
    
      /** Returns a {@link GraphBuilder} for building directed graphs. */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/io/CharStreams.java

     * @author Colin Decker
     * @since 1.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    public final class CharStreams {
    
      // 2K chars (4K bytes)
      private static final int DEFAULT_BUF_SIZE = 0x800;
    
      /** Creates a new {@code CharBuffer} for buffering reads or writes. */
      static CharBuffer createBuffer() {
        return CharBuffer.allocate(DEFAULT_BUF_SIZE);
      }
    
      private CharStreams() {}
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 30 17:25:01 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java

        private int recv_buf_size;
        private int tx_buf_size;
    
        private int capabilities;
        private final int sessionKey = 0x00000000;
        private boolean useUnicode;
    
        /**
         * Creates a new SMB1 negotiate response.
         *
         * @param ctx the CIFS context
         */
        public SmbComNegotiateResponse(final CIFSContext ctx) {
            super(ctx.getConfig());
            this.server = new ServerData();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImpl.java

        private static final Logger logger = LogManager.getLogger(IndexUpdateCallbackImpl.class);
    
        /**
         * Default constructor for index update callback implementation.
         * Creates a new instance with default values.
         */
        public IndexUpdateCallbackImpl() {
            // Default constructor
        }
    
        /** Atomic counter for the number of documents processed */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/convert/TimestampConversionUtil.java

     * </p>
     * <p>
     * If the source object is a {@link Date}, {@link Calendar}, or {@link Timestamp}, the converted object is created using their millisecond value.
     * For other types, the converted object is created from the string representation of the source object.
     * </p>
     * <p>
     * If no pattern is specified, the pattern used for conversion depends on the locale as follows:
     * </p>
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-HostnamesCommon.kt

    /** Returns true if this string is not a host name and might be an IP address. */
    fun String.canParseAsIpAddress(): Boolean = VERIFY_AS_IP_ADDRESS.matches(this)
    
    /**
     * Returns true if the length is not valid for DNS (empty or greater than 253 characters), or if any
     * label is longer than 63 characters. Trailing dots are okay.
     */
    internal fun String.containsInvalidLabelLengths(): Boolean {
      if (length !in 1..253) return true
    
      var labelStart = 0
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/xml/XmlEscapers.java

        Escapers.Builder builder = Escapers.builder();
        // The char values \uFFFE and \uFFFF are explicitly not allowed in XML
        // (Unicode code points above \uFFFF are represented via surrogate pairs
        // which means they are treated as pairs of safe characters).
        builder.setSafeRange(Character.MIN_VALUE, '\uFFFD');
        // Unsafe characters are replaced with the Unicode replacement character.
        builder.setUnsafeReplacement("\uFFFD");
    
        /*
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jun 20 17:15:33 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/util/concurrent/ExecutionList.java

       * RunnableExecutorPair#next} field.
       */
      @GuardedBy("this")
      private @Nullable RunnableExecutorPair runnables;
    
      @GuardedBy("this")
      private boolean executed;
    
      /** Creates a new, empty {@link ExecutionList}. */
      public ExecutionList() {}
    
      /**
       * Adds the {@code Runnable} and accompanying {@code Executor} to the list of listeners to
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
Back to top