Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1381 - 1390 of 3,763 for int (0.03 sec)

  1. android/guava-tests/test/com/google/common/math/DoubleMathTest.java

      }
    
      private static void runTestFuzzyCompare(int toleranceIndex) {
        double tolerance = get(TOLERANCE_CANDIDATES, toleranceIndex);
        for (double a : ALL_DOUBLE_CANDIDATES) {
          for (double b : ALL_DOUBLE_CANDIDATES) {
            int expected = DoubleMath.fuzzyEquals(a, b, tolerance) ? 0 : Double.compare(a, b);
            int actual = DoubleMath.fuzzyCompare(a, b, tolerance);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 27.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/ConcurrencyTest.java

                    List<MultiTestCase> runnables = new ArrayList<>();
                    for ( int i = 0; i < n; i++ ) {
                        runnables.add(new LockedWritesTest(failCount, writeCount, new SmbFile(sr, fname)));
                    }
                    runMultiTestCase(runnables, 60);
    
                    int readCnt = 0;
                    try ( InputStream is = f.openInputStream(SmbConstants.FILE_NO_SHARE) ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 14 17:40:50 UTC 2021
    - 17.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ForwardingListIterator.java

      public boolean hasPrevious() {
        return delegate().hasPrevious();
      }
    
      @Override
      public int nextIndex() {
        return delegate().nextIndex();
      }
    
      @CanIgnoreReturnValue
      @Override
      @ParametricNullness
      public E previous() {
        return delegate().previous();
      }
    
      @Override
      public int previousIndex() {
        return delegate().previousIndex();
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 29 19:42:21 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  4. internal/s3select/sql/errors.go

    type s3Error struct {
    	code       string
    	message    string
    	statusCode int
    	cause      error
    }
    
    func (err *s3Error) Cause() error {
    	return err.cause
    }
    
    func (err *s3Error) ErrorCode() string {
    	return err.code
    }
    
    func (err *s3Error) ErrorMessage() string {
    	return err.message
    }
    
    func (err *s3Error) HTTPStatusCode() int {
    	return err.statusCode
    }
    
    func (err *s3Error) Error() string {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 2.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableRangeSet.java

        } else {
          toIndex = ranges.size();
        }
        final int length = toIndex - fromIndex;
        if (length == 0) {
          return ImmutableList.of();
        } else {
          return new ImmutableList<Range<C>>() {
            @Override
            public int size() {
              return length;
            }
    
            @Override
            public Range<C> get(int index) {
              checkElementIndex(index, length);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 27K bytes
    - Viewed (0)
  6. docs/uk/docs/python-types.md

    ////
    
    //// tab | Python 3.9 і вище
    
    ```Python hl_lines="1"
    {!> ../../docs_src/python_types/tutorial007_py39.py!}
    ```
    
    ////
    
    Це означає:
    
    * Змінна `items_t` це `tuple` з 3 елементами, `int`, ще `int`, та `str`.
    * Змінна `items_s` це `set`, і кожен його елемент типу `bytes`.
    
    #### Dict (словник)
    
    Щоб оголосити `dict`, вам потрібно передати 2 параметри типу, розділені комами.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  7. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/SimpleIdnaMappingTable.kt

          )
      }
    
      return SimpleIdnaMappingTable(result)
    }
    
    internal data class Mapping(
      val sourceCodePoint0: Int,
      val sourceCodePoint1: Int,
      val type: Int,
      val mappedTo: ByteString,
    ) {
      val section: Int
        get() = sourceCodePoint0 and 0x1fff80
    
      val rangeStart: Int
        get() = sourceCodePoint0 and 0x7f
    
      val hasSingleSourceCodePoint: Boolean
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/google/TestStringSetMultimapGenerator.java

      @Override
      @SuppressWarnings("unchecked")
      public final Entry<String, String>[] createArray(int length) {
        return (Entry<String, String>[]) new Entry<?, ?>[length];
      }
    
      @Override
      public final String[] createKeyArray(int length) {
        return new String[length];
      }
    
      @Override
      public final String[] createValueArray(int length) {
        return new String[length];
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/ImmutableListTest.java

        assertEquals(0x000000, (int) webSafeColorArray[0]);
        assertEquals(0x000033, (int) webSafeColorArray[1]);
        assertEquals(0x000066, (int) webSafeColorArray[2]);
        assertEquals(0x003300, (int) webSafeColorArray[6]);
        assertEquals(0x330000, (int) webSafeColorArray[36]);
        assertEquals(0x000066, (int) webSafeColors.get(2));
        assertEquals(0x003300, (int) webSafeColors.get(6));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  10. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

                                + "'. Value must be positive.");
                    }
    
                    int procs = Runtime.getRuntime().availableProcessors();
                    int threads = (int) (coreMultiplier * procs);
                    return threads == 0 ? 1 : threads;
                } else {
                    int threads = Integer.parseInt(threadConfiguration);
                    if (threads <= 0) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 76.8K bytes
    - Viewed (0)
Back to top