Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 831 - 840 of 3,128 for rint (0.04 seconds)

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

            if (fitsInLong(difference)) {
              int expected = (x < y) ? 1 : 0;
              int actual = LongMath.lessThanBranchFree(x, y);
              assertEquals(expected, actual);
            }
          }
        }
      }
    
      // Throws an ArithmeticException if "the simple implementation" of binomial coefficients overflows
      @GwtIncompatible // TODO
      private long simpleBinomial(int n, int k) {
        long accum = 1;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Oct 30 14:15:36 GMT 2025
    - 31.4K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb1/smb1/SmbComFindClose2.java

        private final int sid;
    
        SmbComFindClose2(final int sid) {
            this.sid = sid;
            command = SMB_COM_FIND_CLOSE2;
        }
    
        @Override
        int writeParameterWordsWireFormat(final byte[] dst, final int dstIndex) {
            writeInt2(sid, dst, dstIndex);
            return 2;
        }
    
        @Override
        int writeBytesWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/opensearch/config/bsbhv/BsDataConfigBhv.java

            doDelete(entity, null);
        }
    
        public int queryDelete(CBCall<DataConfigCB> cbLambda) {
            return doQueryDelete(createCB(cbLambda), null);
        }
    
        public int[] batchInsert(List<DataConfig> list) {
            return batchInsert(list, null, null);
        }
    
        public int[] batchInsert(List<DataConfig> list, RequestOptionCall<BulkRequestBuilder> call) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/opensearch/config/bsbhv/BsLabelTypeBhv.java

            doDelete(entity, null);
        }
    
        public int queryDelete(CBCall<LabelTypeCB> cbLambda) {
            return doQueryDelete(createCB(cbLambda), null);
        }
    
        public int[] batchInsert(List<LabelType> list) {
            return batchInsert(list, null, null);
        }
    
        public int[] batchInsert(List<LabelType> list, RequestOptionCall<BulkRequestBuilder> call) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/base/Utf8.java

          throw new IllegalArgumentException(
              "UTF-8 length does not fit in int: " + (utf8Length + (1L << 32)));
        }
        return utf8Length;
      }
    
      private static int encodedLengthGeneral(CharSequence sequence, int start) {
        int utf16Length = sequence.length();
        int utf8Length = 0;
        for (int i = start; i < utf16Length; i++) {
          char c = sequence.charAt(i);
          if (c < 0x800) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 7K bytes
    - Click Count (0)
  6. guava/src/com/google/common/base/Utf8.java

          throw new IllegalArgumentException(
              "UTF-8 length does not fit in int: " + (utf8Length + (1L << 32)));
        }
        return utf8Length;
      }
    
      private static int encodedLengthGeneral(CharSequence sequence, int start) {
        int utf16Length = sequence.length();
        int utf8Length = 0;
        for (int i = start; i < utf16Length; i++) {
          char c = sequence.charAt(i);
          if (c < 0x800) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 7K bytes
    - Click Count (0)
  7. docs/zh-hant/docs/advanced/advanced-python-types.md

    
    def say_hi(name: Optional[str]):
        print(f"Hey {name}!")
    ```
    
    參數 `name` 被標註為 `Optional[str]`,但它並不是可選的;你不能在沒有該參數的情況下呼叫這個函式:
    
    ```Python
    say_hi()  # 糟了,這會拋出錯誤!😱
    ```
    
    參數 `name` 仍是必填(不是可選),因為它沒有預設值。不過,`name` 可以接受 `None` 作為值:
    
    ```Python
    say_hi(name=None)  # 這可行,None 是有效的 🎉
    ```
    
    好消息是,多數情況下你可以直接用 `|` 來定義型別聯集:
    
    ```python
    def say_hi(name: str | None):
        print(f"Hey {name}!")
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:15:26 GMT 2026
    - 1.9K bytes
    - Click Count (0)
  8. tensorflow/c/eager/gradients_internal.h

                                   int num_values, ForwardOperation*);
    absl::Status SetAttrFloatList(AbstractOperation*, const char* attr_name,
                                  const float* values, int num_values,
                                  ForwardOperation*);
    absl::Status SetAttrIntList(AbstractOperation*, const char* attr_name,
                                const int64_t* values, int num_values,
                                ForwardOperation*);
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Oct 12 05:11:17 GMT 2024
    - 4.7K bytes
    - Click Count (0)
  9. guava/src/com/google/common/base/Strings.java

        }
    
        // start substituting the arguments into the '%s' placeholders
        StringBuilder builder = new StringBuilder(template.length() + 16 * args.length);
        int templateStart = 0;
        int i = 0;
        while (i < args.length) {
          int placeholderStart = template.indexOf("%s", templateStart);
          if (placeholderStart == -1) {
            break;
          }
          builder.append(template, templateStart, placeholderStart);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 12.5K bytes
    - Click Count (0)
  10. tensorflow/c/eager/c_api_unified_experimental_graph.cc

        return absl::OkStatus();
      }
      absl::Status SetAttrShapeList(const char* attr_name, const int64_t** dims,
                                    const int* num_dims, int num_values) override {
        std::vector<PartialTensorShape> shapes;
        shapes.reserve(num_values);
        for (int i = 0; i < num_values; ++i) {
          if (num_dims[i] < 0) {
            shapes.emplace_back();
          } else {
            shapes.emplace_back(absl::Span<const int64_t>(
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat May 31 07:13:41 GMT 2025
    - 15.7K bytes
    - Click Count (0)
Back to Top