Search Options

Results per page
Sort
Preferred Languages
Advance

Results 481 - 490 of 742 for zero (0.08 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java

                    return emptyMap();
                  }
                })
            .named("emptyMap")
            .withFeatures(CollectionFeature.SERIALIZABLE, CollectionSize.ZERO)
            .suppressing(suppressForEmptyMap())
            .createTestSuite();
      }
    
      public Test testsForSingletonMap() {
        return MapTestSuiteBuilder.using(
                new TestStringMapGenerator() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 17K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/QueuesTest.java

          testZeroElements(q);
        }
      }
    
      private void testZeroElements(BlockingQueue<Object> q) throws InterruptedException {
        for (boolean interruptibly : new boolean[] {true, false}) {
          // asking to drain zero elements
          assertEquals(0, drain(q, ImmutableList.of(), 0, 10, MILLISECONDS, interruptibly));
        }
      }
    
      public void testEmpty() throws Exception {
        for (BlockingQueue<Object> q : blockingQueues()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/UnsignedLongs.java

       * @param b the second unsigned {@code long} to compare
       * @return a negative value if {@code a} is less than {@code b}; a positive value if {@code a} is
       *     greater than {@code b}; or zero if they are equal
       */
      public static int compare(long a, long b) {
        return Longs.compare(flip(a), flip(b));
      }
    
      /**
       * Returns the least value present in {@code array}, treating values as unsigned.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Aug 12 21:04:48 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/Splitter.java

       * @param length the desired length of pieces after splitting, a positive integer
       * @return a splitter, with default settings, that can split into fixed sized pieces
       * @throws IllegalArgumentException if {@code length} is zero or negative
       */
      public static Splitter fixedLength(final int length) {
        checkArgument(length > 0, "The length may not be less than 1");
    
        return new Splitter(
            new Strategy() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 21:14:05 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  5. src/archive/tar/writer.go

    }
    
    // writeRawHeader writes the value of blk, regardless of its value.
    // It sets up the Writer such that it can accept a file of the given size.
    // If the flag is a special header-only flag, then the size is treated as zero.
    func (tw *Writer) writeRawHeader(blk *block, size int64, flag byte) error {
    	if err := tw.Flush(); err != nil {
    		return err
    	}
    	if _, err := tw.w.Write(blk[:]); err != nil {
    		return err
    	}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 02 14:22:59 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/Ordering.java

        return new CompoundOrdering<>(this, checkNotNull(secondaryComparator));
      }
    
      /**
       * Returns an ordering which tries each given comparator in order until a non-zero result is
       * found, returning that result, and returning zero only if all comparators return zero. The
       * returned ordering is based on the state of the {@code comparators} iterable at the time it was
       * provided to this method.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  7. common-protos/k8s.io/api/extensions/v1beta1/generated.proto

      // +optional
      optional int64 templateGeneration = 5;
    
      // The number of old history to retain to allow rollback.
      // This is a pointer to distinguish between explicit zero and not specified.
      // Defaults to 10.
      // +optional
      optional int32 revisionHistoryLimit = 6;
    }
    
    // DaemonSetStatus represents the current status of a daemon set.
    message DaemonSetStatus {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 45.6K bytes
    - Viewed (0)
  8. docs/debugging/inspect/export.go

    // and perform a callback for each version in order, newest first.
    // Any non-nil error is returned.
    func decodeVersions(buf []byte, versions int, fn func(idx int, hdr, meta []byte) error) (e error) {
    	var tHdr, tMeta []byte // Zero copy bytes
    	for i := 0; i < versions; i++ {
    		tHdr, buf, e = msgp.ReadBytesZC(buf)
    		if e != nil {
    			return e
    		}
    		tMeta, buf, e = msgp.ReadBytesZC(buf)
    		if e != nil {
    			return e
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Nov 08 15:58:02 UTC 2022
    - 9.1K bytes
    - Viewed (0)
  9. internal/event/target/mysql.go

    		if !filepath.IsAbs(m.QueueDir) {
    			return errors.New("queueDir path should be absolute")
    		}
    	}
    
    	if m.MaxOpenConnections < 0 {
    		return errors.New("maxOpenConnections cannot be less than zero")
    	}
    
    	return nil
    }
    
    // MySQLTarget - MySQL target.
    type MySQLTarget struct {
    	initOnce once.Init
    
    	id         event.TargetID
    	args       MySQLArgs
    	updateStmt *sql.Stmt
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  10. manifests/addons/dashboards/pilot-dashboard.gen.json

             "datasource": {
                "type": "datasource",
                "uid": "-- Mixed --"
             },
             "description": "Count of active and pending proxies managed by each instance.\nPending is expected to converge to zero.\n",
             "gridPos": {
                "h": 10,
                "w": 8,
                "x": 8,
                "y": 14
             },
             "id": 13,
             "interval": "1m",
             "options": {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jul 26 23:54:32 UTC 2024
    - 24.7K bytes
    - Viewed (0)
Back to top