- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 495 for Shorts (0.09 sec)
-
src/main/java/org/codelibs/core/convert/ShortConversionUtil.java
if (pattern != null) { return Short.valueOf(new SimpleDateFormat(pattern).format(o)); } return (short) ((java.util.Date) o).getTime(); } else if (o instanceof Boolean) { return ((Boolean) o) ? (short) 1 : (short) 0; } else { return toShort(o.toString()); } } private static Short toShort(final String s) {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 3.8K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/rpcTest.java
unicodeString.length = (short) 10; unicodeString.maximum_length = (short) 20; unicodeString.buffer = new short[] { 65, 66, 67 }; // A, B, C // Then: Values should be set correctly assertEquals((short) 10, unicodeString.length); assertEquals((short) 20, unicodeString.maximum_length); assertArrayEquals(new short[] { 65, 66, 67 }, unicodeString.buffer);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacUnicodeStringTest.java
class PacUnicodeStringTest { /** * Tests the constructor and getter methods. */ @Test void testConstructorAndGetters() { // Create a new instance with some test data short length = 10; short maxLength = 20; int pointer = 100; PacUnicodeString pacString = new PacUnicodeString(length, maxLength, pointer); // Verify that the object was created
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.7K bytes - Viewed (0) -
cmd/endpoint.go
} } return foundSet.ToSlice() } // hostsSorted will return all hosts found. // The LOCAL host will be nil, but the indexes of all hosts should // remain consistent across the cluster. func (l EndpointServerPools) hostsSorted() []*xnet.Host { peers, localPeer := l.peers() sort.Strings(peers) hosts := make([]*xnet.Host, len(peers)) for i, hostStr := range peers { if hostStr == localPeer {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun Mar 30 00:56:02 UTC 2025 - 34.4K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/NtlmMessageTest.java
// Test with a positive value buffer.putShort(0, (short) 0x1234); assertEquals(0x1234, NtlmMessage.readUShort(data, 0), "Should read positive UShort correctly."); // Test with zero buffer.putShort(0, (short) 0); assertEquals(0, NtlmMessage.readUShort(data, 0), "Should read zero UShort correctly."); // Test with max short value (unsigned interpretation)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
docs/sts/client-grants.py
with open('/etc/hosts', 'rb') as data: s3.meta.client.upload_fileobj(data, 'testbucket', 'hosts', ExtraArgs={'ServerSideEncryption': 'AES256'}) # Upload with server side encryption, using temporary credentials s3.meta.client.upload_file('/etc/hosts', 'testbucket',
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Apr 23 18:58:53 UTC 2021 - 1.2K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/msrpc/lsarpc.java
} this.name.length = (short) _src.dec_ndr_short(); this.name.maximum_length = (short) _src.dec_ndr_short(); final int _name_bufferp = _src.dec_ndr_long(); _src.align(4); if (this.dns_domain == null) { this.dns_domain = new rpc.unicode_string(); } this.dns_domain.length = (short) _src.dec_ndr_short();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 44.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/rpc.java
/** * The actual length of the string in bytes. */ public short length; /** * The maximum allocated length of the string in bytes. */ public short maximum_length; /** * The buffer containing the Unicode characters. */ public short[] buffer; @Override public void encode(NdrBuffer _dst) throws NdrException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11.2K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/rpc.java
// Default constructor } /** The length of the string in bytes */ public short length; /** The maximum length of the string buffer in bytes */ public short maximum_length; /** The Unicode character buffer */ public short[] buffer; @Override public void encode(NdrBuffer _dst) throws NdrException { _dst.align(4);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11.3K bytes - Viewed (0) -
tests/compose.yml
services: mysql: image: 'mysql:latest' ports: - "127.0.0.1:9910:3306" environment: - MYSQL_DATABASE=gorm - MYSQL_USER=gorm - MYSQL_PASSWORD=gorm - MYSQL_RANDOM_ROOT_PASSWORD="yes" postgres: image: 'postgres:latest' ports: - "127.0.0.1:9920:5432" environment: - TZ=Asia/Shanghai - POSTGRES_DB=gorm - POSTGRES_USER=gorm - POSTGRES_PASSWORD=gorm
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Mon Aug 04 04:07:30 UTC 2025 - 1.9K bytes - Viewed (0)