- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 74 for decodabet (0.1 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/main/java/jcifs/Decodable.java
/** * Interface for objects that can be decoded from a byte buffer. * This interface provides methods for deserializing data from SMB protocol messages. * * @author mbechler */ public interface Decodable { /** * Decode data from a byte buffer * * @param buffer the byte buffer containing the data to decode * @param bufferIndex the starting index in the bufferCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.5K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/info/Smb2QueryInfoResponse.java
bufferIndex += 4; final Decodable i = createInformation(this.expectInfoType, this.expectInfoClass); if (i != null) { i.decode(buffer, bufferOffset, bufferLength); } bufferIndex = Math.max(bufferIndex, bufferOffset + bufferLength); this.info = i; return bufferIndex - start; }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6.8K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponse.java
return bufferIndex - start; } /** * Creates a decodable object for the output data based on the control code. * * @return the appropriate decodable object for the control code, or null if not recognized */ protected Decodable createOutputDecodable() { switch (this.ctlCode) { case Smb2IoctlRequest.FSCTL_DFS_GET_REFERRALS:Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 8.9K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/ioctl/SrvRequestResumeKeyResponse.java
package jcifs.internal.smb2.ioctl; import jcifs.Decodable; import jcifs.internal.SMBProtocolDecodingException; import jcifs.internal.util.SMBUtil; /** * SMB2 SRV_REQUEST_RESUME_KEY response data structure. This structure contains a resume key * that can be used for server-side copy operations. * * @author mbechler * */ public class SrvRequestResumeKeyResponse implements Decodable { /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.2K bytes - Click Count (3) -
src/test/java/jcifs/DecodableTest.java
import org.junit.jupiter.api.Test; import org.mockito.Mock; import jcifs.internal.SMBProtocolDecodingException; /** * Test class for Decodable interface functionality */ @DisplayName("Decodable Interface Tests") class DecodableTest extends BaseTest { @Mock private Decodable mockDecodable; @Test @DisplayName("Should define decode method") void testDecodeMethod() throws SMBProtocolDecodingException {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 1K bytes - Click Count (0) -
src/main/java/jcifs/internal/fscc/FileFsFullSizeInformation.java
* License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.internal.fscc; import jcifs.Decodable; import jcifs.internal.AllocInfo; import jcifs.internal.SMBProtocolDecodingException; import jcifs.internal.util.SMBUtil; /**
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.1K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/nego/NegotiateContextResponse.java
*/ package jcifs.internal.smb2.nego; import jcifs.Decodable; /** * SMB2 Negotiate Context response data structure. * * This class represents negotiate contexts returned by the server * in response to negotiate context requests. * * @author mbechler */ public interface NegotiateContextResponse extends Decodable { /** * Gets the negotiate context type. *Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.2K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/create/CreateContextResponse.java
*/ package jcifs.internal.smb2.create; import jcifs.Decodable; /** * SMB2 Create Context response interface. This interface defines the contract for * context data returned in SMB2 Create responses. * * @author mbechler * */ public interface CreateContextResponse extends Decodable { /** * Get the name of this create context. * @return context name as byte arrayCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.2K bytes - Click Count (0)