Search Options

Results per page
Sort
Preferred Languages
Advance

Results 551 - 560 of 1,119 for numIter (0.06 sec)

  1. android/guava/src/com/google/common/net/InternetDomainName.java

        return ancestor(1);
      }
    
      /**
       * Returns the ancestor of the current domain at the given number of levels "higher" (rightward)
       * in the subdomain list. The number of levels must be non-negative, and less than {@code N-1},
       * where {@code N} is the number of parts in the domain.
       *
       * <p>TODO: Reasonable candidate for addition to public API.
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Feb 05 20:47:23 UTC 2024
    - 28K bytes
    - Viewed (0)
  2. internal/auth/credentials_test.go

    	}{
    		{"", true},
    		{"-1", true},
    		{"1574812326", false},
    		{1574812326, false},
    		{int64(1574812326), false},
    		{int(1574812326), false},
    		{uint(1574812326), false},
    		{uint64(1574812326), false},
    		{json.Number("1574812326"), false},
    		{1574812326.000, false},
    		{time.Duration(3) * time.Minute, false},
    	}
    
    	for _, testCase := range testCases {
    		testCase := testCase
    		t.Run("", func(t *testing.T) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Mar 01 21:09:42 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  3. internal/s3select/csv/record.go

    			if err != nil {
    				return nil, fmt.Errorf("column %v not found", name)
    			}
    			// The position count starts at 1.
    			idx--
    			if idx >= len(r.csvRecord) || idx < 0 {
    				// If field index > number of columns, return null
    				return sql.FromNull(), nil
    			}
    			return sql.FromBytes([]byte(r.csvRecord[idx])), nil
    		}
    		// TODO: Return Missing?
    		return nil, fmt.Errorf("column %v not found", name)
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

      // okay since we have to copy the just-created array anyway.
      public static ImmutableLongArray of(long first, long... rest) {
        checkArgument(
            rest.length <= Integer.MAX_VALUE - 1, "the total number of elements must fit in an int");
        long[] array = new long[rest.length + 1];
        array[0] = first;
        System.arraycopy(rest, 0, array, 1, rest.length);
        return new ImmutableLongArray(array);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/primitives/ImmutableIntArray.java

      // okay since we have to copy the just-created array anyway.
      public static ImmutableIntArray of(int first, int... rest) {
        checkArgument(
            rest.length <= Integer.MAX_VALUE - 1, "the total number of elements must fit in an int");
        int[] array = new int[rest.length + 1];
        array[0] = first;
        System.arraycopy(rest, 0, array, 1, rest.length);
        return new ImmutableIntArray(array);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  6. cmd/batch-expire_gen.go

    		default:
    			bts, err = msgp.Skip(bts)
    			if err != nil {
    				err = msgp.WrapError(err)
    				return
    			}
    		}
    	}
    	o = bts
    	return
    }
    
    // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
    func (z *BatchJobExpire) Msgsize() (s int) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/util/MemoryUtil.java

            if (obj == null) {
                return 0L;
            }
            if (obj instanceof String) {
                return ((String) obj).length() + 56L;
            }
            if (obj instanceof Number) {
                return 24L;
            }
            if (obj instanceof Date) {
                return 32L;
            }
            if (obj instanceof LocalDateTime) {
                return 80L;
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/io/ByteSourceTest.java

      /**
       * @param input the size of the input source
       * @param offset the first argument to {@link ByteSource#slice}
       * @param length the second argument to {@link ByteSource#slice}
       * @param expectRead the number of bytes we expect to read
       */
      private static void assertCorrectSlice(int input, int offset, long length, int expectRead)
          throws IOException {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  9. guava-tests/benchmark/com/google/common/math/BigIntegerMathBenchmark.java

          for (int i = n1 + 1; i <= n2; i++) {
            result *= i;
          }
          return BigInteger.valueOf(result);
        }
    
        /*
         * We want each multiplication to have both sides with approximately the same number of digits.
         * Currently, we just divide the range in half.
         */
        int mid = (n1 + n2) >>> 1;
        return oldSlowFactorial(n1, mid).multiply(oldSlowFactorial(mid, n2));
      }
    
      @Benchmark
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Aug 19 16:21:24 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Stream.kt

      /** The bytes consumed and acknowledged by the stream. */
      val readBytes: WindowCounter = WindowCounter(id)
    
      /** The total number of bytes produced by the application. */
      var writeBytesTotal = 0L
        internal set
    
      /** The total number of bytes permitted to be produced by incoming `WINDOW_UPDATE` frame. */
      var writeBytesMaximum: Long = connection.peerSettings.initialWindowSize.toLong()
        internal set
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 23.2K bytes
    - Viewed (0)
Back to top