Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for nonnegative (0.34 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. src/cmd/compile/internal/ssa/prove.go

    		return isNonNegative(v.Args[0])
    
    	case OpAnd64, OpAnd32, OpAnd16, OpAnd8:
    		return isNonNegative(v.Args[0]) || isNonNegative(v.Args[1])
    
    	case OpMod64, OpMod32, OpMod16, OpMod8,
    		OpDiv64, OpDiv32, OpDiv16, OpDiv8,
    		OpOr64, OpOr32, OpOr16, OpOr8,
    		OpXor64, OpXor32, OpXor16, OpXor8:
    		return isNonNegative(v.Args[0]) && isNonNegative(v.Args[1])
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:30:21 UTC 2024
    - 48.9K bytes
    - Viewed (0)
Back to top