Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 745 for lang_th (0.05 sec)

  1. src/test/java/jcifs/tests/persistent/HandleGuidTest.java

            HandleGuid guid1 = new HandleGuid();
            HandleGuid guid2 = new HandleGuid();
    
            assertNotEquals(guid1, guid2);
            assertEquals(16, guid1.toBytes().length);
            assertEquals(16, guid2.toBytes().length);
        }
    
        @Test
        public void testHandleGuidRoundTrip() {
            HandleGuid original = new HandleGuid();
            byte[] bytes = original.toBytes();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/NtlmContext.java

            } else {
                ret.append(Hexdump.toHexString(serverChallenge, 0, serverChallenge.length * 2));
            }
            ret.append(",signingKey=");
            if (signingKey == null) {
                ret.append("null");
            } else {
                ret.append(Hexdump.toHexString(signingKey, 0, signingKey.length * 2));
            }
            ret.append("]");
            return ret.toString();
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/Dfs.java

                while (iter.hasNext()) {
                    final String _key = (String) iter.next();
                    final int _klen = _key.length();
                    boolean match = false;
    
                    if (_klen == key.length()) {
                        match = _key.equals(key);
                    } else if (_klen < key.length()) {
                        match = _key.regionMatches(0, key, 0, _klen) && key.charAt(_klen) == '\\';
                    }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/beans/factory/ParameterizedClassDescFactoryTest.java

            assertThat(args.length, is(1));
            assertThat(args[0].getRawClass(), is(sameClass(Integer.class)));
    
            desc = ParameterizedClassDescFactory.createParameterizedClassDesc(method, 1, map);
            assertThat(desc.getRawClass(), is(sameClass(Map.class)));
            args = desc.getArguments();
            assertThat(args.length, is(2));
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/util/StringUtilTest.java

            // First: "" (sb becomes "")
            // Second: sb.length() is 0, no delimiter, append null (sb becomes "null")
            // Third: sb.length() > 0, add "-" + "value" (sb becomes "null-value")
            // Fourth: sb.length() > 0, add "-" + "" (sb becomes "null-value-")
            // Fifth: sb.length() > 0, add "-" + null (sb becomes "null-value--null")
            assertEquals("null-value--null", result);
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationTest.java

            // Expected size: 2 (info level) + 4 (reserved) + filename length + 1 (null terminator)
            byte[] dst = new byte[2 + 4 + filename.length() + 1];
    
            // When
            int bytesWritten = trans.writeParametersWireFormat(dst, 0);
    
            // Then
            assertEquals(dst.length, bytesWritten, "The number of bytes written should match the expected length.");
            // Check informationLevel
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/fscc/FileRenameInformation2.java

            final byte[] nameBytes = this.fileName.getBytes(StandardCharsets.UTF_16LE);
    
            SMBUtil.writeInt4(nameBytes.length, dst, dstIndex);
            dstIndex += 4;
    
            System.arraycopy(nameBytes, 0, dst, dstIndex, nameBytes.length);
            dstIndex += nameBytes.length;
    
            return dstIndex - start;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Encodable#size()
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/MIEName.java

         */
        MIEName(final byte[] buf) {
            int i;
            int len;
            if (buf.length < TOK_ID_SIZE + MECH_OID_LEN_SIZE) {
                throw new IllegalArgumentException();
            }
            // TOK_ID
            for (i = 0; i < TOK_ID.length; i++) {
                if (TOK_ID[i] != buf[i]) {
                    throw new IllegalArgumentException();
                }
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  9. cmd/object_api_suite_test.go

    	length = int64(len(uploadContent))
    	_, err = obj.PutObject(context.Background(), "bucket", "object", mustGetPutObjReader(t, bytes.NewBufferString(uploadContent), length, "", ""), opts)
    	if err != nil {
    		t.Fatalf("%s: <ERROR> %s", instanceType, err)
    	}
    
    	var bytesBuffer bytes.Buffer
    	err = GetObject(context.Background(), obj, "bucket", "object", 0, length, &bytesBuffer, "", opts)
    	if err != nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 34.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/io/SourceSinkFactories.java

          if (initialBytes == null) {
            return checkNotNull(bytes);
          } else {
            byte[] result = new byte[initialBytes.length + bytes.length];
            System.arraycopy(initialBytes, 0, result, 0, initialBytes.length);
            System.arraycopy(bytes, 0, result, initialBytes.length, bytes.length);
            return result;
          }
        }
    
        @Override
        public byte[] getSinkContents() throws IOException {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 17.9K bytes
    - Viewed (0)
Back to top