- Sort Score
- Result 10 results
- Languages All
Results 1191 - 1200 of 1,541 for bytes (0.04 sec)
-
src/main/java/jcifs/smb/SecurityBlob.java
* kerberos authentication. * * @author Shun * */ class SecurityBlob { private byte[] b = new byte[0]; SecurityBlob () {} SecurityBlob ( byte[] b ) { set(b); } void set ( byte[] b ) { this.b = b == null ? new byte[0] : b; } byte[] get () { return this.b; } int length () { if ( this.b == null )
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 2.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/convert/NumberConversionUtilTest.java
assertEquals(new Byte("1"), NumberConversionUtil.convertNumber(Byte.class, "1")); } /** * @throws Exception */ public void testConvertNumber_primitiveWrapper() throws Exception { assertEquals(new Byte("1"), NumberConversionUtil.convertPrimitiveWrapper(byte.class, "1")); assertEquals(new Byte("0"), NumberConversionUtil.convertPrimitiveWrapper(byte.class, null));
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 3.1K bytes - Viewed (0) -
internal/grid/README.md
In essence, they are `[]byte` -> `[]byte, error` functions. It is not possible to return *both* an error and a response. Handlers are registered on the manager using `(*Manager).RegisterSingleHandler(id HandlerID, h SingleHandlerFn, subroute ...string)`. The server handler function has this signature: `type SingleHandlerFn func(payload []byte) ([]byte, *RemoteErr)`. Sample handler: ```go
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 9.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 8.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/SID.java
log.error("Failed to create builtin SIDs", se); } } /** * Convert a sid_t to byte array * * @param sid * @return byte encoded form */ public static byte[] toByteArray ( rpc.sid_t sid ) { byte[] dst = new byte[1 + 1 + 6 + sid.sub_authority_count * 4]; int di = 0; dst[ di++ ] = sid.revision;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 14.9K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/ClassUtilTest.java
assertThat(ClassUtil.getPrimitiveClassIfWrapper(Byte.class), is(sameClass(byte.class))); } /** * */ @Test public void testGetWrapperClass() { assertThat(ClassUtil.getWrapperClass(int.class), is(sameClass(Integer.class))); assertThat(ClassUtil.getWrapperClass(String.class), is(nullValue())); assertThat(ClassUtil.getWrapperClass(byte.class), is(sameClass(Byte.class))); }
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 6.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComDeleteDirectory.java
} int writeParameterWordsWireFormat( byte[] dst, int dstIndex ) { return 0; } int writeBytesWireFormat( byte[] dst, int dstIndex ) { int start = dstIndex; dst[dstIndex++] = (byte)0x04; dstIndex += writeString( path, dst, dstIndex ); return dstIndex - start; } int readParameterWordsWireFormat( byte[] buffer, int bufferIndex ) { return 0; }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 1.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComNegotiate.java
SmbComNegotiate() { command = SMB_COM_NEGOTIATE; flags2 = DEFAULT_FLAGS2; } int writeParameterWordsWireFormat( byte[] dst, int dstIndex ) { return 0; } int writeBytesWireFormat( byte[] dst, int dstIndex ) { byte[] dialects; try { dialects = DIALECTS.getBytes( "ASCII" ); } catch( UnsupportedEncodingException uee ) { return 0;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 1.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/io/Smb2ReadResponse.java
*/ @Override protected int writeBytesWireFormat ( byte[] dst, int dstIndex ) { return 0; } /** * {@inheritDoc} * * @see jcifs.internal.smb2.ServerMessageBlock2#readBytesWireFormat(byte[], int) */ @Override
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Aug 05 07:13:17 UTC 2018 - 3.8K bytes - Viewed (0) -
cmd/api-utils.go
spaceCount++ } else { hexCount++ } } } if spaceCount == 0 && hexCount == 0 { return s } var buf [64]byte var t []byte required := len(s) + 2*hexCount if required <= len(buf) { t = buf[:required] } else { t = make([]byte, required) } if hexCount == 0 { copy(t, s) for i := 0; i < len(s); i++ { if s[i] == ' ' { t[i] = '+' } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Mar 04 18:05:56 UTC 2024 - 2.8K bytes - Viewed (0)