Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 2,948 for integers (0.16 sec)

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

       *
       * @throws IllegalArgumentException if {@code lower} is greater than {@code upper}
       * @since 23.0
       */
      public static ContiguousSet<Integer> closed(int lower, int upper) {
        return create(Range.closed(lower, upper), DiscreteDomain.integers());
      }
    
      /**
       * Returns a nonempty contiguous set containing all {@code long} values from {@code lower}
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/DiscreteDomain.java

          return (i == Integer.MIN_VALUE) ? null : i - 1;
        }
    
        @Override
        Integer offset(Integer origin, long distance) {
          checkNonnegative(distance, "distance");
          return Ints.checkedCast(origin.longValue() + distance);
        }
    
        @Override
        public long distance(Integer start, Integer end) {
          return (long) end - start;
        }
    
        @Override
        public Integer minValue() {
          return Integer.MIN_VALUE;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/stringintconv/doc.go

    // license that can be found in the LICENSE file.
    
    // Package stringintconv defines an Analyzer that flags type conversions
    // from integers to strings.
    //
    // # Analyzer stringintconv
    //
    // stringintconv: check for string(int) conversions
    //
    // This checker flags conversions of the form string(x) where x is an integer
    // (but not byte or rune) type. Such conversions are discouraged because they
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 09 01:28:01 UTC 2023
    - 982 bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/quantization/numerical_utils.cc

    // multiplier.
    //
    // Args:
    //   double_multiplier: The double-precision floating-point multiplier.
    //
    // Returns:
    //   A quantized multiplier, represented as a pair of integers: the quantized
    //   multiplier and the shift amount. The shift amount is the number of bits
    //   that the quantized multiplier should be shifted to the right before being
    //   used.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 17 19:57:04 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  5. subprojects/core/src/test/groovy/org/gradle/internal/typeconversion/IntegerFromCharSequenceNotationConverterSpec.groovy

        def "can convert strings to integers"() {
            expect:
            123 == parser.parseNotation("123")
        }
    
        def "reports available values for non convertible strings"() {
            when:
            parser.parseNotation(value)
    
            then:
            def e = thrown(TypeConversionException)
            e.message == "Cannot convert string value '$value' to an integer."
    
            where:
            value        | _
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 08 09:28:44 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/util/Encdec.java

    /* encdec - encode and decode integers, times, and
     * internationalized strings to and from popular binary formats
     * http://www.ioplex.com/~miallen/encdec/
     * Copyright (c) 2003 Michael B. Allen <******@****.***>
     *
     * The GNU Library General Public License
     * 
     * This library is free software; you can redistribute it and/or
     * modify it under the terms of the GNU Library General Public
     * License as published by the Free Software Foundation; either
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 11K bytes
    - Viewed (0)
  7. platforms/core-runtime/base-services/src/test/groovy/org/gradle/util/internal/CollectionUtilsTest.groovy

        def "flattenToList"() {
            given:
            def integers = [1, 2, 3]
    
            expect:
            flattenCollections([1, 2, 3] as Set) == [1, 2, 3]
            flattenCollections("asdfa") == ["asdfa"]
            flattenCollections(null) == [null]
            flattenCollections([null, [null, null]]) == [null, null, null]
            flattenCollections(integers) == integers
            flattenCollections([1, 2, 3] as Set) == [1, 2, 3]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 11.7K bytes
    - Viewed (0)
  8. docs/debugging/healing-bin/main.go

    					}
    					buf := bytes.NewBuffer(nil)
    					if _, err = msgp.CopyToJSON(buf, bytes.NewReader(b)); err != nil {
    						return err
    					}
    
    					dec := json.NewDecoder(buf)
    					// Use number to preserve integers.
    					dec.UseNumber()
    					var htr map[string]interface{}
    					if err = dec.Decode(&htr); err != nil {
    						return err
    					}
    					ht[file.Name] = htr
    				}
    			}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 3.2K bytes
    - Viewed (0)
  9. src/runtime/libfuzzer.go

    	end := unsafe.Pointer(&__stop___sancov_cntrs)
    
    	// PC tables are arrays of ptr-sized integers representing pairs [PC,PCFlags] for every instrumented block.
    	// The number of PCs and PCFlags is the same as the number of 8-bit counters. Each PC table entry has
    	// the size of two ptr-sized integers. We allocate one more byte than what we actually need so that we can
    	// get a pointer representing the end of the PC table array.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 23 01:12:02 UTC 2022
    - 6.3K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/listtype/validation_test.go

    							},
    						},
    						Extensions: schema.Extensions{
    							XListType: strPtr("set"),
    						},
    					},
    					"integers": {
    						Generic: schema.Generic{
    							Type: "array",
    						},
    						Items: &schema.Structural{
    							Generic: schema.Generic{
    								Type: "integer",
    							},
    						},
    						Extensions: schema.Extensions{
    							XListType: strPtr("set"),
    						},
    					},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 24.2K bytes
    - Viewed (0)
Back to top