Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for userlength (0.63 sec)

  1. src/main/java/jcifs/smb1/ntlmssp/Type3Message.java

                if (userName != null && userName.length() != 0) {
                    user = unicode ? userName.getBytes(UNI_ENCODING) : userName.toUpperCase().getBytes(oem);
                }
                final int userLength = user != null ? user.length : 0;
                final String workstationName = getWorkstation();
                byte[] workstation = null;
                if (workstationName != null && workstationName.length() != 0) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/BaseEncodingTest.java

        // test separators work
        for (int sepLength = 3; sepLength <= 5; sepLength++) {
          for (String separator : ImmutableList.of(",", "\n", ";;", "")) {
            testEncoding(
                encoding.withSeparator(separator, sepLength),
                decoded,
                Joiner.on(separator).join(Splitter.fixedLength(sepLength).split(encoded)));
          }
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/BaseEncodingTest.java

        // test separators work
        for (int sepLength = 3; sepLength <= 5; sepLength++) {
          for (String separator : ImmutableList.of(",", "\n", ";;", "")) {
            testEncoding(
                encoding.withSeparator(separator, sepLength),
                decoded,
                Joiner.on(separator).join(Splitter.fixedLength(sepLength).split(encoded)));
          }
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/ndr/NdrBufferTest.java

            ndrBuffer.advance(10);
            assertEquals(10, ndrBuffer.getLength());
    
            ndrBuffer.setLength(20);
            assertEquals(20, ndrBuffer.getLength());
    
            // Test with derived buffer
            NdrBuffer derived = ndrBuffer.derive(0);
            derived.setLength(5);
            assertEquals(5, derived.getLength());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbRandomAccessFileTest.java

            when(tree.send(any(jcifs.internal.Request.class), any(RequestParam.class))).thenReturn(null);
    
            raf.setLength(100L);
    
            verify(tree, times(1)).send(any(Smb2SetInfoRequest.class), eq(RequestParam.NO_RETRY));
        }
    
        @Test
        @DisplayName("setLength(): NT SMBs capability uses Trans2SetFileInformation")
        void setLength_ntsmbs_usesTrans2() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/witness/WitnessAsyncNotifyMessage.java

            int notificationType = buf.dec_ndr_long();
            notification.setNotificationType(WitnessEventType.fromValue(notificationType));
    
            // Length
            int length = buf.dec_ndr_long();
            notification.setLength(length);
    
            // Number of messages
            int numberOfMessages = buf.dec_ndr_long();
    
            // Messages array
            List<WitnessNotificationMessage> messages = new ArrayList<>(numberOfMessages);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/rdma/disni/DisniRdmaConnection.java

                //
                // LinkedList<IbvSge> sgeList = new LinkedList<>();
                // IbvSge sge = new IbvSge();
                // sge.setAddr(disniRegion.getAddress());
                // sge.setLength(data.remaining());
                // sge.setLkey(disniRegion.getLocalKey());
                // sgeList.add(sge);
                //
                // sendWR.setSg_list(sgeList);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java

                    off += n;
                }
    
                doReceiveFragment(stub, isDirect);
                buf.reset();
                buf.setIndex(8);
                buf.setLength(buf.dec_ndr_short());
    
                if (securityProvider != null) {
                    securityProvider.unwrap(buf);
                }
    
                buf.setIndex(0);
    
                msg.decode_header(buf);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/ServerMessageBlock2RequestTest.java

                dstIndex += writeBytesWireFormat(dst, dstIndex);
    
                // Set the length field that will be checked by ServerMessageBlock2Request.encode()
                int calculatedLength = testEncodedLength;
                setLength(calculatedLength);
    
                // Now call the ServerMessageBlock2Request's encode which will do the validation
                int exp = size();
                int actual = getLength();
                if (exp != actual) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/lang/MethodUtil.java

            if (argTypes != null && argTypes.length > 0) {
                for (final Class<?> argType : argTypes) {
                    buf.append(argType.getName()).append(", ");
                }
                buf.setLength(buf.length() - 2);
            }
            buf.append(")");
            return new String(buf);
        }
    
        /**
         * Returns the string representation of the method signature.
         *
         * @param methodName
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 12.6K bytes
    - Viewed (0)
Back to top