Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 36 for nonnegative (0.16 sec)

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

        static final Comparator<Entry<?>> INSTANCE = new DecreasingCount();
    
        @Override
        public int compare(Entry<?> entry1, Entry<?> entry2) {
          return entry2.getCount() - entry1.getCount(); // subtracting two nonnegative integers
        }
      }
    
      /**
       * An {@link AbstractMultiset} with additional default implementations, some of them linear-time
       * implementations in terms of {@code elementSet} and {@code entrySet}.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 41.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/Multisets.java

        static final Comparator<Entry<?>> INSTANCE = new DecreasingCount();
    
        @Override
        public int compare(Entry<?> entry1, Entry<?> entry2) {
          return entry2.getCount() - entry1.getCount(); // subtracting two nonnegative integers
        }
      }
    
      /**
       * An {@link AbstractMultiset} with additional default implementations, some of them linear-time
       * implementations in terms of {@code elementSet} and {@code entrySet}.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 41.4K bytes
    - Viewed (0)
  3. src/net/timeout_test.go

    				n, err := c2.WriteTo([]byte("WRITETO TIMEOUT TEST"), c1.LocalAddr())
    				t.Logf("#%d: WriteTo: %d, %v", j, n, err)
    				if err == nil && timeout >= 0 && nDeadlineExceeded == 0 {
    					// If the timeout is nonnegative, some number of WriteTo calls may
    					// succeed before the timeout takes effect.
    					t.Logf("WriteTo succeeded; sleeping %v", timeout/3)
    					time.Sleep(timeout / 3)
    					continue
    				}
    				if isENOBUFS(err) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 18:06:55 UTC 2024
    - 30K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/_gen/genericOps.go

    	{name: "Xor64", argLength: 2, commutative: true},
    
    	// For shifts, AxB means the shifted value has A bits and the shift amount has B bits.
    	// Shift amounts are considered unsigned.
    	// If arg1 is known to be nonnegative and less than the number of bits in arg0,
    	// then auxInt may be set to 1.
    	// This enables better code generation on some platforms.
    	{name: "Lsh8x8", argLength: 2, aux: "Bool"}, // arg0 << arg1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Iterators.java

       */
      @CanIgnoreReturnValue
      public static int advance(Iterator<?> iterator, int numberToAdvance) {
        checkNotNull(iterator);
        checkArgument(numberToAdvance >= 0, "numberToAdvance must be nonnegative");
    
        int i;
        for (i = 0; i < numberToAdvance && iterator.hasNext(); i++) {
          iterator.next();
        }
        return i;
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 03 14:46:32 UTC 2024
    - 50.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/CharMatcher.java

       * start}, calling {@link #matches} for each character.
       *
       * @param sequence the character sequence to examine
       * @param start the first index to examine; must be nonnegative and no greater than {@code
       *     sequence.length()}
       * @return the index of the first matching character, guaranteed to be no less than {@code start},
       *     or {@code -1} if no character matches
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 53.7K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/Iterators.java

       */
      @CanIgnoreReturnValue
      public static int advance(Iterator<?> iterator, int numberToAdvance) {
        checkNotNull(iterator);
        checkArgument(numberToAdvance >= 0, "numberToAdvance must be nonnegative");
    
        int i;
        for (i = 0; i < numberToAdvance && iterator.hasNext(); i++) {
          iterator.next();
        }
        return i;
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 03 14:46:32 UTC 2024
    - 50.2K bytes
    - Viewed (0)
  8. guava/src/com/google/common/base/CharMatcher.java

       * start}, calling {@link #matches} for each character.
       *
       * @param sequence the character sequence to examine
       * @param start the first index to examine; must be nonnegative and no greater than {@code
       *     sequence.length()}
       * @return the index of the first matching character, guaranteed to be no less than {@code start},
       *     or {@code -1} if no character matches
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 53.8K bytes
    - Viewed (0)
  9. src/cmd/vendor/github.com/ianlancetaylor/demangle/demangle.go

    		st.advance(1)
    	}
    	// We don't currently print out the discriminator, so we don't
    	// save it.
    	return a
    }
    
    // closureTypeName parses:
    //
    //	<closure-type-name> ::= Ul <lambda-sig> E [ <nonnegative number> ] _
    //	<lambda-sig> ::= <parameter type>+
    func (st *state) closureTypeName() AST {
    	st.checkChar('U')
    	st.checkChar('l')
    
    	oldLambdaTemplateLevel := st.lambdaTemplateLevel
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 94.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc

        for (const auto& crops_value : crops_range) {
          int64_t crops_value_int = crops_value.getSExtValue();
          if (crops_value_int < 0)
            return op.emitOpError()
                   << "requires all crop values to be nonnegative, but got "
                   << crops_attr;
    
          crops_values.push_back(crops_value_int);
        }
      }
    
      auto output_type = mlir::cast<TensorType>(op.getOutput().getType());
      if (output_type.hasRank()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 146.7K bytes
    - Viewed (0)
Back to top