- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 27 for decodabet (0.05 seconds)
-
android/guava/src/com/google/common/io/BaseEncoding.java
private static byte[] decodabetFor(char[] chars) { byte[] decodabet = new byte[Ascii.MAX + 1]; Arrays.fill(decodabet, (byte) -1); for (int i = 0; i < chars.length; i++) { char c = chars[i]; checkArgument(c < decodabet.length, "Non-ASCII character: %s", c); checkArgument(decodabet[c] == -1, "Duplicate character: %s", c); decodabet[c] = (byte) i; } return decodabet; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:45:58 GMT 2026 - 41.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/BaseEncodingTest.java
testDecodes(base64(), "Zg===", "f"); testDecodes(base64(), "Zg====", "f"); } public void testBase64InvalidDecodings() { // These contain bytes not in the decodabet. assertFailsToDecode(base64(), "A\u007f", "Unrecognized character: 0x7f"); assertFailsToDecode(base64(), "Wf2!", "Unrecognized character: !"); // This sentence just isn't base64() encoded.
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 24.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FileInformationTest.java
assertEquals(FileInformation.FILE_INTERNAL_INFO, internalInfo.getFileInformationLevel()); } /** * Test that FileInformation can be used as both Decodable and Encodable */ @Test @DisplayName("Test FileInformation as both Decodable and Encodable") void testFileInformationAsDecodableAndEncodable() throws SMBProtocolDecodingException { FileInformation fileInfo = new FileEndOfFileInformation(2048L);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java
Method createInfoMethod = Smb2QueryInfoResponse.class.getDeclaredMethod("createInformation", byte.class, byte.class); createInfoMethod.setAccessible(true); Decodable result = (Decodable) createInfoMethod.invoke(null, infoType, infoClass); assertNotNull(result, String.format("Should create information for type %d, class %d", infoType, infoClass)); } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 24.5K bytes - Click Count (0) -
internal/grid/msg_gen.go
// Code generated by github.com/tinylib/msgp DO NOT EDIT. package grid import ( "github.com/tinylib/msgp/msgp" ) // DecodeMsg implements msgp.Decodable func (z *Flags) DecodeMsg(dc *msgp.Reader) (err error) { { var zb0001 uint8 zb0001, err = dc.ReadUint8() if err != nil { err = msgp.WrapError(err) return } (*z) = Flags(zb0001) } return } // EncodeMsg implements msgp.Encodable
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 22.4K bytes - Click Count (0) -
cmd/batch-job-common-types_gen.go
// Code generated by github.com/tinylib/msgp DO NOT EDIT. package cmd import ( "github.com/tinylib/msgp/msgp" ) // DecodeMsg implements msgp.Decodable func (z *BatchJobKV) DecodeMsg(dc *msgp.Reader) (err error) { var field []byte _ = field var zb0001 uint32 zb0001, err = dc.ReadMapHeader() if err != nil { err = msgp.WrapError(err) return } for zb0001 > 0 { zb0001-- field, err = dc.ReadMapKeyPtr()
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 21.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/AllocInfoTest.java
} @Test @DisplayName("Should implement Decodable interface through FileSystemInformation") void shouldImplementDecodableInterface() { // Verify that AllocInfo indirectly implements Decodable assertTrue(jcifs.Decodable.class.isAssignableFrom(AllocInfo.class)); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.8K bytes - Click Count (0) -
cmd/erasure-server-pool-rebalance_gen.go
// Code generated by github.com/tinylib/msgp DO NOT EDIT. package cmd import ( "github.com/tinylib/msgp/msgp" ) // DecodeMsg implements msgp.Decodable func (z *rebalSaveOpts) DecodeMsg(dc *msgp.Reader) (err error) { { var zb0001 uint8 zb0001, err = dc.ReadUint8() if err != nil { err = msgp.WrapError(err) return } (*z) = rebalSaveOpts(zb0001) } return }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 26.8K bytes - Click Count (0) -
internal/dsync/lock-args_gen.go
// Code generated by github.com/tinylib/msgp DO NOT EDIT. package dsync import ( "github.com/tinylib/msgp/msgp" ) // DecodeMsg implements msgp.Decodable func (z *LockArgs) DecodeMsg(dc *msgp.Reader) (err error) { var field []byte _ = field var zb0001 uint32 zb0001, err = dc.ReadMapHeader() if err != nil { err = msgp.WrapError(err) return } for zb0001 > 0 { zb0001-- field, err = dc.ReadMapKeyPtr()
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 10.2K bytes - Click Count (0) -
cmd/erasure-server-pool-decom_gen.go
// Code generated by github.com/tinylib/msgp DO NOT EDIT. package cmd import ( "github.com/tinylib/msgp/msgp" ) // DecodeMsg implements msgp.Decodable func (z *PoolDecommissionInfo) DecodeMsg(dc *msgp.Reader) (err error) { var field []byte _ = field var zb0001 uint32 zb0001, err = dc.ReadMapHeader() if err != nil { err = msgp.WrapError(err) return } for zb0001 > 0 { zb0001--
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 26.7K bytes - Click Count (0)