Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 681 - 690 of 1,620 for emptify (0.09 seconds)

  1. android/guava/src/com/google/common/collect/RegularContiguousSet.java

      }
    
      @Override
      public C first() {
        // requireNonNull is safe because we checked the range is not empty in ContiguousSet.create.
        return requireNonNull(range.lowerBound.leastValueAbove(domain));
      }
    
      @Override
      public C last() {
        // requireNonNull is safe because we checked the range is not empty in ContiguousSet.create.
        return requireNonNull(range.upperBound.greatestValueBelow(domain));
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  2. internal/event/target/nsq.go

    }
    
    // Validate NSQArgs fields
    func (n NSQArgs) Validate() error {
    	if !n.Enable {
    		return nil
    	}
    
    	if n.NSQDAddress.IsEmpty() {
    		return errors.New("empty nsqdAddress")
    	}
    
    	if n.Topic == "" {
    		return errors.New("empty topic")
    	}
    	if n.QueueDir != "" {
    		if !filepath.IsAbs(n.QueueDir) {
    			return errors.New("queueDir path should be absolute")
    		}
    	}
    
    	return nil
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Mar 30 00:56:02 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  3. internal/bucket/lifecycle/expiration.go

    		return err
    	}
    	if numDays <= 0 {
    		return errLifecycleInvalidDays
    	}
    	*eDays = ExpirationDays(numDays)
    	return nil
    }
    
    // MarshalXML encodes number of days to expire if it is non-zero and
    // encodes empty string otherwise
    func (eDays ExpirationDays) MarshalXML(e *xml.Encoder, startElement xml.StartElement) error {
    	if eDays == 0 {
    		return nil
    	}
    	return e.EncodeElement(int(eDays), startElement)
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Mar 30 00:56:02 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/util/concurrent/SequentialExecutor.java

          if (workerRunCount == oldRunCount && workerRunningState == QUEUING) {
            workerRunningState = QUEUED;
          }
        }
      }
    
      /** Worker that runs tasks from {@link #queue} until it is empty. */
      private final class QueueWorker implements Runnable {
        @Nullable Runnable task;
    
        @Override
        public void run() {
          try {
            workOnQueue();
          } catch (Error e) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 10.6K bytes
    - Click Count (0)
  5. guava/src/com/google/common/util/concurrent/SequentialExecutor.java

          if (workerRunCount == oldRunCount && workerRunningState == QUEUING) {
            workerRunningState = QUEUED;
          }
        }
      }
    
      /** Worker that runs tasks from {@link #queue} until it is empty. */
      private final class QueueWorker implements Runnable {
        @Nullable Runnable task;
    
        @Override
        public void run() {
          try {
            workOnQueue();
          } catch (Error e) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 10.6K bytes
    - Click Count (0)
  6. cmd/utils_test.go

    			object: "object///////",
    		},
    		// Test case 7 object has preceding separators.
    		{
    			path:   "/bucket////object////",
    			bucket: "bucket",
    			object: "///object////",
    		},
    		// Test case 8 url path is empty.
    		{
    			path:   "",
    			bucket: "",
    			object: "",
    		},
    	}
    
    	// Validate all test cases.
    	for _, testCase := range testCases {
    		t.Run("", func(t *testing.T) {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  7. guava/src/com/google/common/primitives/Doubles.java

       * that this always returns {@code false} when {@code target} is {@code NaN}.
       *
       * @param array an array of {@code double} values, possibly empty
       * @param target a primitive {@code double} value
       * @return {@code true} if {@code array[i] == target} for some value of {@code i}
       */
      public static boolean contains(double[] array, double target) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Oct 22 18:14:49 GMT 2025
    - 27.6K bytes
    - Click Count (0)
  8. guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

      /**
       * Creates a new, empty instance of the class under test.
       *
       * @return a new, empty map instance.
       * @throws UnsupportedOperationException if it's not possible to make an empty instance of the
       *     class under test.
       */
      protected abstract Map<K, V> makeEmptyMap() throws UnsupportedOperationException;
    
      /**
       * Creates a new, non-empty instance of the class under test.
       *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 43.9K bytes
    - Click Count (0)
  9. internal/bucket/lifecycle/lifecycle_test.go

    			expectedParsingErr:    nil,
    			expectedValidationErr: nil,
    		},
    		// Lifecycle with empty Filter tag
    		{
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 55.5K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/core/log/Logger.java

            }
            return logger;
        }
    
        /**
         * Returns a formatted message string.
         *
         * @param messageCode
         *            Message code. Must not be {@literal null} or empty string.
         * @param args
         *            Arguments
         * @return Formatted message string
         */
        public static LogMessage format(final String messageCode, final Object... args) {
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Thu Jun 19 09:12:22 GMT 2025
    - 12.4K bytes
    - Click Count (0)
Back to Top