- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 13 for accBits (0.09 seconds)
-
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...
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu Dec 11 16:27:41 GMT 2025 - 663K bytes - Click Count (0) -
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:Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 730 bytes - Click Count (0) -
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.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 9K bytes - Click Count (0) -
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} ofCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 20:45:32 GMT 2025 - 29.8K bytes - Click Count (0) -
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} ofCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 20:45:32 GMT 2025 - 29.8K bytes - Click Count (0) -
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"`.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 12.4K bytes - Click Count (0) -
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 🎉 ```
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 15.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/api/json/SearchApiManager.java
break; default: writeJsonResponse(HttpServletResponse.SC_NOT_FOUND, escapeJsonKeyValue(MESSAGE_FIELD, "Not found.")); break; } } /** * Accepts the HTTP method. * @param request The HTTP request. * @param methods The accepted methods. * @return true if the method is accepted, false otherwise. */Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 55.4K bytes - Click Count (1) -
src/main/java/org/codelibs/fess/ldap/LdapManager.java
} } /** * An interface for consuming search results. */ interface SearchConsumer { /** * Accepts a list of search results. * * @param t The list of search results. * @throws NamingException If a naming exception occurs. */Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 86.3K bytes - Click Count (0) -
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("")},
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue Dec 23 23:54:14 GMT 2025 - 62.9K bytes - Click Count (0)