- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 2,370 for vscode (0.05 sec)
-
cmd/erasure-decode.go
} // If we cannot decode, just return read quorum error. return nil, fmt.Errorf("%w (offline-disks=%d/%d)", errErasureReadQuorum, disksNotFound, len(p.readers)) } // Decode reads from readers, reconstructs data if needed and writes the data to the writer. // A set of preferred drives can be supplied. In that case they will be used and the data reconstructed.
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Thu Aug 29 01:40:52 UTC 2024 - 9.5K bytes - Viewed (0) -
docs_src/security/tutorial005_an_py310.py
headers={"WWW-Authenticate": authenticate_value}, ) try: payload = jwt.decode(token, SECRET_KEY, algorithms=[ALGORITHM]) username = payload.get("sub") if username is None: raise credentials_exception scope: str = payload.get("scope", "") token_scopes = scope.split(" ") token_data = TokenData(scopes=token_scopes, username=username)Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Sep 29 02:57:38 UTC 2025 - 5.3K bytes - Viewed (0) -
docs_src/security/tutorial005_an_py39.py
headers={"WWW-Authenticate": authenticate_value}, ) try: payload = jwt.decode(token, SECRET_KEY, algorithms=[ALGORITHM]) username = payload.get("sub") if username is None: raise credentials_exception scope: str = payload.get("scope", "") token_scopes = scope.split(" ") token_data = TokenData(scopes=token_scopes, username=username)Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Sep 29 02:57:38 UTC 2025 - 5.3K bytes - Viewed (0) -
compat/maven-model-builder/src/test/resources/poms/validation/bad-dependency-scope.xml
<version>0.2</version> <scope>compile</scope> </dependency> <dependency> <groupId>test</groupId> <artifactId>c</artifactId> <version>0.2</version> <scope>runtime</scope> </dependency> <dependency> <groupId>test</groupId> <artifactId>d</artifactId> <version>0.2</version> <scope>test</scope> </dependency> <dependency>
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileStandardInfoTest.java
// Decode into first instance FileStandardInfo firstInstance = new FileStandardInfo(); firstInstance.decode(originalBuffer, 0, originalBuffer.length); // Encode from first instance byte[] encodedBuffer = new byte[22]; firstInstance.encode(encodedBuffer, 0); // Decode into second instanceRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/EncryptionNegotiateContextTest.java
EncryptionNegotiateContext decodedContext = new EncryptionNegotiateContext(); int decoded = decodedContext.decode(buffer, 0, encoded); assertEquals(encoded, decoded); assertArrayEquals(originalCiphers, decodedContext.getCiphers()); } @Test @DisplayName("Should encode and decode correctly with null ciphers")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0) -
docs/smb3-features/04-directory-leasing-design.md
super(); setLeaseKey(key); setLeaseState(leaseState); this.cacheScope = scope; this.maxCacheAge = 30000; // 30 seconds default this.notificationEnabled = true; } @Override public void encode(byte[] buffer, int offset) { super.encode(buffer, offset);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 36.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/dcerpc/ndr/NdrHyperTest.java
/** * Unit tests for {@link NdrHyper}. * <p> * The class only contains an encode/decode pair that delegates to * {@link NdrBuffer#enc_ndr_hyper(long)} and {@link NdrBuffer#dec_ndr_hyper()}. * The tests verify that: * <ul> * <li>encoding and decoding round‑trip correctly handle typical, zero, * and extreme {@code long} values.</li> * <li>encode/decode methods interact correctly with a mockedRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileRenameInformation2Test.java
FileRenameInformation2 original = new FileRenameInformation2(fileName, replaceIfExists); // Encode byte[] buffer = new byte[200]; int bytesWritten = original.encode(buffer, 0); // Decode FileRenameInformation2 decoded = new FileRenameInformation2(); int bytesRead = decoded.decode(buffer, 0, bytesWritten); // Verify round trip assertEquals(bytesWritten, bytesRead);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java
} @Test @DisplayName("Test decode method with valid buffer") void testDecode() throws SMBProtocolDecodingException { // Prepare buffer with known value long expectedValue = 0x0123456789ABCDEFL; byte[] buffer = new byte[16]; SMBUtil.writeInt8(expectedValue, buffer, 0); // Decode int bytesRead = fileInfo.decode(buffer, 0, buffer.length);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0)