Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 514 for Negative (0.12 sec)

  1. utils/utils_test.go

    			input:    []int{1, 2, 3},
    			trimLen:  1,
    			expected: []int{1, 2},
    		},
    		{
    			name:     "Empty slice",
    			input:    []int{},
    			trimLen:  2,
    			expected: []int{},
    		},
    		{
    			name:     "Negative trim length (should be treated as zero)",
    			input:    []int{1, 2, 3},
    			trimLen:  -1,
    			expected: []int{1, 2, 3},
    		},
    	}
    
    	for _, testcase := range tests {
    		t.Run(testcase.name, func(t *testing.T) {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Aug 22 11:03:42 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  2. architecture/standards/0004-use-a-platform-architecture.md

    # ADR-0004 - Use a platform-oriented architecture for Gradle
    
    ## Date
    
    2024-02-07
    
    ## Context
    
    The Gradle code base is essentially a large monolith, without strong internal boundaries.
    This has a number of negative effects on productivity, including:
    
    - Unclear ownership of code.
    - Difficult to focus on one particular area.
    - Unintended coupling between areas of the code, including tests.
    
    ## Decision
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Sun Feb 25 22:19:29 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  3. cmd/typed-errors.go

    var errNotFirstDisk = errors.New("Not first drive")
    
    // error returned by first disk waiting to initialize other servers.
    var errFirstDiskWait = errors.New("Waiting on other drives")
    
    // error returned for a negative actual size.
    var errInvalidDecompressedSize = errors.New("Invalid Decompressed Size")
    
    // error returned in IAM subsystem when user doesn't exist.
    var errNoSuchUser = errors.New("Specified user does not exist")
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 28 17:14:16 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  4. common-protos/k8s.io/api/batch/v1/generated.proto

      optional JobTemplateSpec jobTemplate = 5;
    
      // The number of successful finished jobs to retain. Value must be non-negative integer.
      // Defaults to 3.
      // +optional
      optional int32 successfulJobsHistoryLimit = 6;
    
      // The number of failed finished jobs to retain. Value must be non-negative integer.
      // Defaults to 1.
      // +optional
      optional int32 failedJobsHistoryLimit = 7;
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  5. docs/kms/IAM.md

    configuration using e.g. the `mc admin config` commands you will need to adjust
    your deployment.
    
    Even though this change is backward compatible we do not expect that it affects
    the vast majority of deployments in any negative way.
    
    > Will an upgrade of an existing MinIO cluster impact the SLA of the cluster or will it even cause downtime?
    
    No, an upgrade should not cause any downtime. However, on the first startup -
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Iterators.java

       * @throws IllegalArgumentException if {@code limitSize} is negative
       * @since 3.0
       */
      public static <T extends @Nullable Object> Iterator<T> limit(
          Iterator<T> iterator, int limitSize) {
        checkNotNull(iterator);
        checkArgument(limitSize >= 0, "limit is negative");
        return new Iterator<T>() {
          private int count;
    
          @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 50.3K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/idn/IdnaMappingTable.kt

     * This is either a mapping decision or the length of the mapped output, according to this table:
     *
     * ```
     *  0..63 : Length of the UTF-16 sequence that this range maps to. The offset is b2b3.
     * 64..79 : Offset by a fixed negative offset. The bottom 4 bits of b1 are the top 4 bits of the offset.
     * 80..95 : Offset by a fixed positive offset. The bottom 4 bits of b1 are the top 4 bits of the offset.
     *    119 : Ignored.
     *    120 : Valid.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Apr 02 11:39:58 UTC 2024
    - 9K bytes
    - Viewed (0)
  8. build-logic/binary-compatibility/src/main/groovy/gradlebuild/EnrichedReportRenderer.groovy

                        });
                        // Sort the array in place by type, then member
                        // Note that Firefox is fine with a sort function returning any positive or negative number, but Chrome 
                        // requires 1 or -1 specifically and ignores higher or lower values.  This sort ought to remain consistent
                        // with the sort used by AbstractAcceptedApiChangesMaintenanceTask.
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Feb 07 20:38:43 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/hash/BloomFilterTest.java

      // https://github.com/google/guava/issues/1781
      public void testOptimalNumOfHashFunctionsRounding() {
        assertEquals(7, BloomFilter.optimalNumOfHashFunctions(319, 3072));
      }
    
      /** Tests that we always get a non-negative optimal size. */
      public void testOptimalSize() {
        for (int n = 1; n < 1000; n++) {
          for (double fpp = Double.MIN_VALUE; fpp < 1.0; fpp += 0.001) {
            assertTrue(BloomFilter.optimalNumOfBits(n, fpp) >= 0);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java

          fail();
        } catch (NumberFormatException expected) {
        } catch (IllegalArgumentException expected) {
          // Kotlin native, see above
        }
    
        // The radix is used as an array index, so try a negative value.
        try {
          UnsignedInts.parseUnsignedInt("0", -1);
          fail();
        } catch (NumberFormatException expected) {
        } catch (IllegalArgumentException expected) {
          // Kotlin native, see above
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 12.5K bytes
    - Viewed (0)
Back to top