Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for accBits (0.07 sec)

  1. lib/fips140/v1.1.0-rc1.zip

    + b)) if bitlen <= 0 || bitlen > 16 { panic("mldsa: internal error: invalid bitlen") } out, v := sliceForAppend(buf, n*bitlen/8) var acc uint32 var accBits uint for i := range r { w := int32(b) - fieldCenteredMod(r[i]) acc |= uint32(w) << accBits accBits += uint(bitlen) for accBits >= 8 { v[0] = byte(acc) v = v[1:] acc >>= 8 accBits -= 8 } } if accBits > 0 { v[0] = byte(acc) } return out } func bitUnpackSlow(v []byte, a, b int) (ringElement, error) { bitlen := bits.Len(uint(a + b)) if bitlen <= 0...
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Thu Dec 11 16:27:41 UTC 2025
    - 663K bytes
    - Viewed (0)
  2. tests/test_openapi_schema_type.py

        [
            "array",
            ["string", "null"],
            None,
        ],
    )
    def test_allowed_schema_type(
        type_value: Optional[Union[SchemaType, list[SchemaType]]],
    ) -> None:
        """Test that Schema accepts SchemaType, List[SchemaType] and None for type field."""
        schema = Schema(type=type_value)
        assert schema.type == type_value
    
    
    def test_invalid_type_value() -> None:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 730 bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/handling-errors.md

    And **FastAPI**'s `HTTPException` error class inherits from Starlette's `HTTPException` error class.
    
    The only difference is that **FastAPI**'s `HTTPException` accepts any JSON-able data for the `detail` field, while Starlette's `HTTPException` only accepts strings for it.
    
    So, you can keep raising **FastAPI**'s `HTTPException` as normally in your code.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 9K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/math/QuantilesTest.java

      /**
       * A {@link Correspondence} which accepts finite values within {@link #ALLOWED_ERROR} of each
       * other.
       */
      private static final Correspondence<Number, Number> FINITE_QUANTILE_CORRESPONDENCE =
          Correspondence.tolerance(ALLOWED_ERROR);
    
      /**
       * A {@link Correspondence} which accepts either finite values within {@link #ALLOWED_ERROR} of
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:45:32 UTC 2025
    - 29.8K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/math/QuantilesTest.java

      /**
       * A {@link Correspondence} which accepts finite values within {@link #ALLOWED_ERROR} of each
       * other.
       */
      private static final Correspondence<Number, Number> FINITE_QUANTILE_CORRESPONDENCE =
          Correspondence.tolerance(ALLOWED_ERROR);
    
      /**
       * A {@link Correspondence} which accepts either finite values within {@link #ALLOWED_ERROR} of
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:45:32 UTC 2025
    - 29.8K bytes
    - Viewed (0)
  6. docs/en/docs/advanced/custom-response.md

    ///
    
    ### `Response` { #response }
    
    The main `Response` class, all the other responses inherit from it.
    
    You can return it directly.
    
    It accepts the following parameters:
    
    * `content` - A `str` or `bytes`.
    * `status_code` - An `int` HTTP status code.
    * `headers` - A `dict` of strings.
    * `media_type` - A `str` giving the media type. E.g. `"text/html"`.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  7. docs/en/docs/python-types.md

    ```Python
    say_hi()  # Oh, no, this throws an error! 😱
    ```
    
    The `name` parameter is **still required** (not *optional*) because it doesn't have a default value. Still, `name` accepts `None` as the value:
    
    ```Python
    say_hi(name=None)  # This works, None is valid 🎉
    ```
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  8. src/bytes/bytes_test.go

    		if len(tt.a) > 0 {
    			if want := tt.a[len(tt.a)-1] + "z"; string(x) != want {
    				t.Errorf("last appended result was %s; want %s", x, want)
    			}
    		}
    	}
    }
    
    // Test case for any function which accepts and returns a byte slice.
    // For ease of creation, we write the input byte slice as a string.
    type StringTest struct {
    	in  string
    	out []byte
    }
    
    var upperTests = []StringTest{
    	{"", []byte("")},
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Tue Dec 23 23:54:14 UTC 2025
    - 62.9K bytes
    - Viewed (0)
  9. doc/go_spec.html

    where <code>E</code> is the element type of <code>S</code>
    and the respective <a href="#Passing_arguments_to_..._parameters">parameter
    passing rules</a> apply.
    As a special case, <code>append</code> also accepts a slice whose type is assignable to
    type <code>[]byte</code> with a second argument of <code>string</code> type followed by
    <code>...</code>.
    This form appends the bytes of the string.
    </p>
    
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Tue Dec 02 23:07:19 UTC 2025
    - 286.5K bytes
    - Viewed (1)
  10. CHANGELOG/CHANGELOG-1.32.md

    - kube-apiserver: Promoted the `StructuredAuthorizationConfiguration` feature gate to GA. The `--authorization-config` flag now accepts `AuthorizationConfiguration` in version `apiserver.config.k8s.io/v1` (with no changes from `apiserver.config.k8s.io/v1beta1`). ([#128172](https://github.com/kubernetes/kubernetes/pull/128172), [@liggitt](https://github.com/liggitt)) [SIG API Machinery,...
    Registered: Fri Dec 26 09:05:12 UTC 2025
    - Last Modified: Tue Dec 16 18:27:41 UTC 2025
    - 448.1K bytes
    - Viewed (0)
Back to top