Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 1,300 for empty (0.02 sec)

  1. src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiFile.java

                String line = null;
                while ((line = reader.readLine()) != null) {
                    // Remove comments
                    final String replacedLine = line.replaceAll("#.*$", StringUtil.EMPTY).trim();
    
                    // Skip empty lines or comment lines
                    if (replacedLine.length() == 0) {
                        if (updater != null) {
                            updater.write(line);
                        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/Platform.java

      }
    
      /**
       * Returns the string if it is not null, or an empty string otherwise.
       *
       * @param string the string to test and possibly return
       * @return {@code string} if it is not null; {@code ""} otherwise
       */
      static String nullToEmpty(@CheckForNull String string) {
        return (string == null) ? "" : string;
      }
    
      /**
       * Returns the string if it is not empty, or a null string otherwise.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 15 22:32:14 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. futures/listenablefuture1/pom.xml

        - If users want all of Guava, they depend on guava, which, as of Guava
        27.0, depends on
        listenablefuture-9999.0-empty-to-avoid-conflict-with-guava. The 9999.0-...
        version number is enough for some build systems (notably, Gradle) to select
        that empty artifact over the "real" listenablefuture-1.0 -- avoiding a
        conflict with the copy of ListenableFuture in guava itself. If users are
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 12 21:42:09 UTC 2018
    - 2.2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/HashMultimap.java

      private static final int DEFAULT_VALUES_PER_KEY = 2;
    
      @VisibleForTesting transient int expectedValuesPerKey = DEFAULT_VALUES_PER_KEY;
    
      /**
       * Creates a new, empty {@code HashMultimap} with the default initial capacities.
       *
       * <p>You may also consider the equivalent {@code
       * MultimapBuilder.hashKeys().hashSetValues().build()}, which provides more control over the
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 02 10:02:49 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/RangeMap.java

      /**
       * Returns the minimal range {@linkplain Range#encloses(Range) enclosing} the ranges in this
       * {@code RangeMap}.
       *
       * @throws NoSuchElementException if this range map is empty
       */
      Range<K> span();
    
      /**
       * Maps a range to a specified value (optional operation).
       *
       * <p>Specifically, after a call to {@code put(range, value)}, if {@link
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  6. cmd/sftp-server-driver.go

    		if bucket == "" {
    			return errors.New("bucket name cannot be empty")
    		}
    
    		return clnt.RemoveObject(context.Background(), bucket, object, minio.RemoveObjectOptions{})
    
    	case "Mkdir":
    		bucket, prefix := path2BucketObject(r.Filepath)
    		if bucket == "" {
    			return errors.New("bucket name cannot be empty")
    		}
    
    		if prefix == "" {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jun 05 07:51:13 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  7. guava-tests/benchmark/com/google/common/base/ToStringHelperBenchmark.java

                .addValue(null)
                .add(SHORT_NAME, java.util.Optional.of("1"))
                .add(LONG_NAME, java.util.Optional.of("1"))
                .add(SHORT_NAME, java.util.Optional.empty())
                .add(LONG_NAME, java.util.Optional.empty())
                .add(SHORT_NAME, Optional.of("2"))
                .add(SHORT_NAME, Optional.absent())
                .addValue(null)
                .add(SHORT_NAME, new int[] {1})
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jun 10 19:21:11 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  8. internal/arn/arn.go

    package arn
    
    import (
    	"errors"
    	"fmt"
    	"regexp"
    	"strings"
    )
    
    // ARN structure:
    //
    // arn:partition:service:region:account-id:resource-type/resource-id
    //
    // In this implementation, account-id is empty.
    //
    // Reference: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
    
    const (
    	arnPrefixArn        = "arn"
    	arnPartitionMinio   = "minio"
    	arnServiceIAM       = "iam"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Apr 04 08:31:34 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/MoreCollectorsTest.java

     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public class MoreCollectorsTest extends TestCase {
      public void testToOptionalEmpty() {
        assertThat(Stream.empty().collect(toOptional())).isEmpty();
      }
    
      public void testToOptionalSingleton() {
        assertThat(Stream.of(1).collect(toOptional())).hasValue(1);
      }
    
      public void testToOptionalNull() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  10. compat/maven-builder-support/src/main/java/org/apache/maven/building/StringSource.java

         *
         * @param content The String representation, may be empty or {@code null}.
         */
        public StringSource(CharSequence content) {
            this(content, null);
        }
    
        /**
         * Creates a new source backed by the specified string.
         *
         * @param content The String representation, may be empty or {@code null}.
         * @param location The location to report for this use, may be {@code null}.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
Back to top