Search Options

Results per page
Sort
Preferred Languages
Advance

Results 491 - 500 of 3,219 for Shouldn (0.12 sec)

  1. internal/kms/config_test.go

    // but WITHOUT ANY WARRANTY; without even the implied warranty of
    // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    // GNU Affero General Public License for more details.
    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package kms
    
    import (
    	"os"
    	"testing"
    )
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/mvnenc/EncryptOptions.java

     */
    @Experimental
    public interface EncryptOptions extends Options {
        /**
         * Should the operation be forced (ie overwrite existing config, if any).
         *
         * @return an {@link Optional} containing the boolean value {@code true} if specified, or empty
         */
        Optional<Boolean> force();
    
        /**
         * Should imply "yes" to all questions.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Mon Oct 14 19:57:22 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. cmd/erasure-heal_test.go

    		closeBitrotReaders(readers)
    		closeBitrotWriters(staleWriters)
    		if err != nil && !test.shouldFail {
    			t.Errorf("Test %d: should pass but it failed with: %v", i, err)
    		}
    		if err == nil && test.shouldFail {
    			t.Errorf("Test %d: should fail but it passed", i)
    		}
    		if err == nil {
    			// Verify that checksums of staleDisks
    			// match expected values
    			for i := range staleWriters {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  4. internal/event/target/mqtt.go

    	default:
    		return errors.New("unknown protocol in broker address")
    	}
    	if m.QueueDir != "" {
    		if !filepath.IsAbs(m.QueueDir) {
    			return errors.New("queueDir path should be absolute")
    		}
    		if m.QoS == 0 {
    			return errors.New("qos should be set to 1 or 2 if queueDir is set")
    		}
    	}
    
    	return nil
    }
    
    // MQTTTarget - MQTT target.
    type MQTTTarget struct {
    	initOnce once.Init
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  5. android/guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java

              @Override
              public void run() {
                assertFalse("previous tearDown should have run before setUp", setUpRan.getAndSet(true));
              }
            };
        Runnable tearDown =
            new Runnable() {
              @Override
              public void run() {
                assertTrue("setUp should have run", setUpRan.getAndSet(false));
              }
            };
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  6. compat/maven-embedder/src/test/java/org/apache/maven/cli/CLIManagerDocumentationTest.java

    import org.junit.jupiter.api.Test;
    
    import static java.util.Objects.nonNull;
    
    /**
     * Pseudo test to generate documentation fragment about supported CLI options. TODO such documentation generation code
     * should not be necessary as unit test but should be run during site generation (Velocity? Doxia macro?)
     */
    class CLIManagerDocumentationTest {
        private static final String LS = System.lineSeparator();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  7. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java

        }
    
        /**
         * Test <a href="https://issues.apache.org/jira/browse/MNG-5568">MNG-5568</a> edge case
         * which was showing transitive inconsistency: since A &gt; B and B &gt; C then we should have A &gt; C
         * otherwise sorting a list of ComparableVersions() will in some cases throw runtime exception;
         * see Netbeans issues <a href="https://netbeans.org/bugzilla/show_bug.cgi?id=240845">240845</a> and
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/CompactHashing.java

       * {@code short[]}, or {@code int[]}. The value of {@code entry} should fit in the size of the
       * assigned array element, when seen as an unsigned value. So if {@code table} is a {@code byte[]}
       * then we should have {@code 0 ≤ entry ≤ 255}, and if {@code table} is a {@code short[]} then we
       * should have {@code 0 ≤ entry ≤ 65535}. It is the caller's responsibility to ensure this.
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 15:34:52 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  9. internal/bucket/lifecycle/expiration.go

    	errLifecycleInvalidDeleteMarker = Errorf("Delete marker cannot be specified with Days or Date in a Lifecycle Expiration Policy")
    	errLifecycleDateNotMidnight     = Errorf("'Date' must be at midnight GMT")
    	errLifecycleInvalidDeleteAll    = Errorf("Days (positive integer) should be present inside Expiration with ExpiredObjectAllVersions.")
    )
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Feb 21 20:28:34 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/io/Closer.java

     * <a href="http://docs.oracle.com/javase/tutorial/essential/exceptions/tryResourceClose.html"
     * >try-with-resources</a> statement in JDK6-compatible code. Code using this should be
     * approximately equivalent in behavior to the same code written with try-with-resources.
     *
     * <p>This class is intended to be used in the following pattern:
     *
     * <pre>{@code
     * Closer closer = Closer.create();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 07 15:26:58 UTC 2024
    - 10.4K bytes
    - Viewed (0)
Back to top