- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 304 for sequence (0.24 sec)
-
tests/test_compat.py
def test_is_bytes_sequence_annotation_union(): # For coverage # TODO: in theory this would allow declaring types that could be lists of bytes # to be read from files and other types, but I'm not even sure it's a good idea # to support it as a first class "feature" assert is_bytes_sequence_annotation(Union[List[str], List[bytes]]) def test_is_uploadfile_sequence_annotation(): # For coverage
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Sep 28 04:14:40 GMT 2023 - 2.8K bytes - Viewed (0) -
fastapi/exceptions.py
""" class ValidationException(Exception): def __init__(self, errors: Sequence[Any]) -> None: self._errors = errors def errors(self) -> Sequence[Any]: return self._errors class RequestValidationError(ValidationException): def __init__(self, errors: Sequence[Any], *, body: Any = None) -> None: super().__init__(errors) self.body = body
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Tue Apr 02 02:48:51 GMT 2024 - 4.9K bytes - Viewed (0) -
build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiExtensionsGenerator.kt
isKotlinCollection && typeArguments.single().isJavaClass private fun candidatesForExtensionFrom(type: ApiType): Sequence<ApiFunction> = type.functions.filter(::isCandidateForExtension).asSequence() private fun Sequence<ApiFunction>.sortedWithTypeOfTakingFunctionsFirst() = sortedBy { f -> if (f.parameters.any { it.type.isGradleTypeOf }) 0 else 1 }
Plain Text - Registered: Wed Feb 28 11:36:09 GMT 2024 - Last Modified: Wed Dec 20 21:41:53 GMT 2023 - 18.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SigningDigest.java
int index = offset; update(data, index, ServerMessageBlock.SIGNATURE_OFFSET); index += ServerMessageBlock.SIGNATURE_OFFSET; byte[] sequence = new byte[8]; ServerMessageBlock.writeInt4(response.signSeq, sequence, 0); update(sequence, 0, sequence.length); index += 8; if( response.command == ServerMessageBlock.SMB_COM_READ_ANDX ) {
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Fri Mar 22 21:10:40 GMT 2019 - 7K bytes - Viewed (0) -
src/main/java/jcifs/pac/kerberos/KerberosApRequest.java
ASN1Sequence sequence; try { try ( ASN1InputStream stream = new ASN1InputStream(new ByteArrayInputStream(token)) ) { sequence = ASN1Util.as(ASN1Sequence.class, stream); } } catch ( IOException e ) { throw new PACDecodingException("Malformed Kerberos Ticket", e); } return sequence; }
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Mon Oct 02 12:02:06 GMT 2023 - 3.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java
int index = offset; update(data, index, SmbConstants.SIGNATURE_OFFSET); index += SmbConstants.SIGNATURE_OFFSET; byte[] sequence = new byte[8]; SMBUtil.writeInt4(msg.getSignSeq(), sequence, 0); update(sequence, 0, sequence.length); index += 8; if ( msg.getCommand() == ServerMessageBlock.SMB_COM_READ_ANDX ) { /*
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Sun Aug 05 09:45:59 GMT 2018 - 10.6K bytes - Viewed (0) -
src/main/java/jcifs/pac/kerberos/KerberosTicket.java
if ( token.length <= 0 ) throw new PACDecodingException("Empty kerberos ticket"); ASN1Sequence sequence; try { try ( ASN1InputStream stream = new ASN1InputStream(new ByteArrayInputStream(token)) ) { sequence = ASN1Util.as(ASN1Sequence.class, stream); } } catch ( IOException e ) {
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Mon Oct 02 12:02:06 GMT 2023 - 5.7K bytes - Viewed (0) -
src/bytes/bytes.go
return bytealg.LastIndexByte(s, c) } // IndexRune interprets s as a sequence of UTF-8-encoded code points. // It returns the byte index of the first occurrence in s of the given rune. // It returns -1 if rune is not present in s. // If r is utf8.RuneError, it returns the first instance of any // invalid UTF-8 byte sequence. func IndexRune(s []byte, r rune) int { switch { case 0 <= r && r < utf8.RuneSelf:
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Feb 19 19:51:15 GMT 2024 - 33.8K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/scopes/KtFirDelegatedMemberScope.kt
override fun getCallableSymbols(nameFilter: KtScopeNameFilter): Sequence<KtCallableSymbol> = withValidityAssertion { return super.getCallableSymbols(nameFilter).filter { it.origin == KtSymbolOrigin.DELEGATED } } override fun getCallableSymbols(names: Collection<Name>): Sequence<KtCallableSymbol> = withValidityAssertion {
Plain Text - Registered: Fri Mar 22 08:18:09 GMT 2024 - Last Modified: Mon May 22 19:21:34 GMT 2023 - 1.3K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/BasicDerAdapter.kt
* * ``` * Point ::= SEQUENCE { * x [0] INTEGER OPTIONAL, * y [1] INTEGER OPTIONAL * } * ``` * * You may also specify a tag class like [DerHeader.TAG_CLASS_APPLICATION]. The default tag class * is [DerHeader.TAG_CLASS_CONTEXT_SPECIFIC]. * * ``` * Point ::= SEQUENCE { * x [APPLICATION 0] INTEGER OPTIONAL,
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 4.4K bytes - Viewed (0)