Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 3,649 for Mode (0.03 sec)

  1. android/guava-tests/benchmark/com/google/common/math/LongMathRoundingBenchmark.java

    import com.google.caliper.Param;
    import java.math.RoundingMode;
    
    /**
     * Benchmarks for the rounding methods of {@code LongMath}.
     *
     * @author Louis Wasserman
     */
    public class LongMathRoundingBenchmark {
      @Param({"DOWN", "UP", "FLOOR", "CEILING", "HALF_EVEN", "HALF_UP", "HALF_DOWN"})
      RoundingMode mode;
    
      private static final long[] positive = new long[ARRAY_SIZE];
      private static final long[] nonzero = new long[ARRAY_SIZE];
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.6K bytes
    - Viewed (0)
  2. guava-tests/benchmark/com/google/common/math/IntMathRoundingBenchmark.java

        }
      }
    
      @Param({"DOWN", "UP", "FLOOR", "CEILING", "HALF_EVEN", "HALF_UP", "HALF_DOWN"})
      RoundingMode mode;
    
      @Benchmark
      int log2(int reps) {
        int tmp = 0;
        for (int i = 0; i < reps; i++) {
          int j = i & ARRAY_MASK;
          tmp += IntMath.log2(positive[j], mode);
        }
        return tmp;
      }
    
      @Benchmark
      int log10(int reps) {
        int tmp = 0;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.6K bytes
    - Viewed (0)
  3. fess-crawler-opensearch/src/test/resources/lasta_di.properties

    # _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
    # Lasta Di properties, you can set container's options
    # _/_/_/_/_/_/_/_/_/_/
    
    # location of smart-deploy mode e.g. maihama_env.properties: lasta_di.smart.deploy.mode
    #smart.deploy.mode.location = maihama_env.properties: lasta_di.smart.deploy.mode
    
    # package for smart deploy target e.g. org.docksidestage.app
    smart.package1 = org.codelibs.fess.crawler
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 479 bytes
    - Viewed (0)
  4. src/archive/tar/tar_test.go

    			t.Logf("%#v %#v", v.h, fi.Sys())
    			t.Errorf("i=%d: Typeflag: got %q, want %q", i, got, want)
    		}
    		if got, want := h2.Mode, v.h.Mode; got != want {
    			t.Errorf("i=%d: Mode: got %o, want %o", i, got, want)
    		}
    		if got, want := fi.Mode(), v.fm; got != want {
    			t.Errorf("i=%d: fi.Mode: got %o, want %o", i, got, want)
    		}
    		if got, want := h2.AccessTime, v.h.AccessTime; got != want {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jul 25 00:25:45 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/math/ToDoubleRounder.java

      /** Returns d's value as an X, rounded with the specified mode. */
      abstract X toX(double d, RoundingMode mode);
    
      /** Returns a - b, guaranteed that both arguments are nonnegative. */
      abstract X minus(X a, X b);
    
      /** Rounds {@code x} to a {@code double}. */
      final double roundToDouble(X x, RoundingMode mode) {
        checkNotNull(x, "x");
        checkNotNull(mode, "mode");
        double roundArbitrarily = roundToDoubleArbitrarily(x);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  6. docs/bucket/retention/README.md

    ```sh
    awscli s3api put-object-lock-configuration --bucket mybucket --object-lock-configuration 'ObjectLockEnabled=\"Enabled\",Rule={DefaultRetention={Mode=\"GOVERNANCE\",Days=1}}'
    ```
    
    ### Set object lock
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 29 04:28:45 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/math/IntMathTest.java

        for (RoundingMode mode : ALL_ROUNDING_MODES) {
          assertThrows(IllegalArgumentException.class, () -> IntMath.log2(0, mode));
        }
      }
    
      public void testLog2NegativeAlwaysThrows() {
        for (int x : NEGATIVE_INTEGER_CANDIDATES) {
          for (RoundingMode mode : ALL_ROUNDING_MODES) {
            assertThrows(IllegalArgumentException.class, () -> IntMath.log2(x, mode));
          }
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  8. internal/bucket/object/lock/lock_test.go

    		o := GetObjectRetentionMeta(tt.metadata)
    		if o.Mode != tt.expected.Mode {
    			t.Fatalf("Case %d expected %v, got %v", i, tt.expected.Mode, o.Mode)
    		}
    	}
    }
    
    func TestGetObjectLegalHoldMeta(t *testing.T) {
    	tests := []struct {
    		metadata map[string]string
    		expected ObjectLegalHold
    	}{
    		{
    			metadata: map[string]string{
    				"x-amz-object-lock-mode": "governance",
    			},
    			expected: ObjectLegalHold{},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Jun 29 01:20:27 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  9. docs/fr/docs/deployment/docker.md

    ## Cluster en mode Docker Swarm avec Traefik et HTTPS
    
    Vous pouvez avoir un cluster en mode Docker Swarm configuré en quelques minutes (environ 20 min) avec un processus Traefik principal gérant HTTPS (y compris l'acquisition et le renouvellement des certificats).
    
    En utilisant le mode Docker Swarm, vous pouvez commencer par un "cluster" d'une seule machine (il peut même s'agir
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  10. src/main/resources/fess_env_crawler.properties

    #                                                                                    Core
    #                                                                                   ======
    # The mode of Lasta Di's smart-deploy, should be cool in production (e.g. hot, cool, warm)
    lasta_di.smart.deploy.mode = warm
    
    # Is development environment here? (used for various purpose, you should set false if unknown)
    development.here = false
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jan 29 07:34:32 UTC 2018
    - 2.2K bytes
    - Viewed (0)
Back to top