Search Options

Results per page
Sort
Preferred Languages
Advance

Results 661 - 670 of 1,848 for LENGTH (0.08 sec)

  1. src/main/java/jcifs/util/Strings.java

         * Finds the null termination in a UTF-16LE encoded string buffer.
         *
         * @param buffer the byte buffer to search
         * @param bufferIndex the starting position in the buffer
         * @param maxLen the maximum length to search
         * @return position of terminating null bytes
         */
        public static int findUNITermination(final byte[] buffer, final int bufferIndex, final int maxLen) {
            int len = 0;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/url/-Url.kt

     * @param unicodeAllowed true to leave non-ASCII codepoint unencoded.
     * @param charset which charset to use, null equals UTF-8.
     */
    internal fun String.canonicalizeWithCharset(
      pos: Int = 0,
      limit: Int = length,
      encodeSet: String,
      alreadyEncoded: Boolean = false,
      strict: Boolean = false,
      plusIsSpace: Boolean = false,
      unicodeAllowed: Boolean = false,
      charset: Charset? = null,
    ): String {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/cache/LongAdder.java

        Cell a;
        int n;
        if ((as = cells) != null || !casBase(b = base, b + x)) {
          boolean uncontended = true;
          if ((hc = threadHashCode.get()) == null
              || as == null
              || (n = as.length) < 1
              || (a = as[(n - 1) & hc[0]]) == null
              || !(uncontended = a.cas(v = a.value, v + x))) retryUpdate(x, hc, uncontended);
        }
      }
    
      /** Equivalent to {@code add(1)}. */
      @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndX.java

                    }
                    this.passwordLength = this.password.length;
                } else if (this.ctx.getConfig().isDisablePlainTextPasswords()) {
                    throw new RuntimeCIFSException("Plain text passwords are disabled");
                } else {
                    // plain text
                    this.password = new byte[(pwAuth.getPassword().length() + 1) * 2];
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/StaticJAASConfigurationTest.java

            AppConfigurationEntry[] a2 = cfg.getAppConfigurationEntry("y");
    
            // Assert
            assertNotSame(a1, a2, "Arrays should be different instances");
            assertEquals(1, a1.length);
            assertEquals(1, a2.length);
    
            AppConfigurationEntry e1 = a1[0];
            AppConfigurationEntry e2 = a2[0];
    
            assertNotSame(e1, e2, "Entries should be different instances");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  6. compat/maven-artifact/src/main/java/org/apache/maven/artifact/ArtifactUtils.java

            if (version != null) {
                if (version.regionMatches(
                        true,
                        version.length() - Artifact.SNAPSHOT_VERSION.length(),
                        Artifact.SNAPSHOT_VERSION,
                        0,
                        Artifact.SNAPSHOT_VERSION.length())) {
                    return true;
                } else {
                    return Artifact.VERSION_FILE_PATTERN.matcher(version).matches();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  7. docs/smb3-features/04-directory-leasing-design.md

            writeInt4(buffer, dataOffset, notificationFilter);
        }
        
        @Override
        public void decode(byte[] buffer, int offset, int length) {
            super.decode(buffer, offset, length);
            
            if (length > getStandardLeaseSize()) {
                // Decode directory-specific data
                int dataOffset = offset + getStandardLeaseSize();
                
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  8. docs/smb3-features/01-smb3-lease-design.md

            // Write context header
            writeInt4(buffer, offset, getName().length());  // NameOffset
            writeInt4(buffer, offset + 4, getName().length());  // NameLength
            writeInt4(buffer, offset + 8, 16);  // Reserved
            
            int dataOffset = offset + 16 + getName().length();
            dataOffset = (dataOffset + 7) & ~7;  // 8-byte alignment
            
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 22K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java

            @DisplayName("Should handle various read lengths")
            @ValueSource(ints = { 0, 1, 512, 1024, 4096, 65536, 1048576 })
            void testVariousReadLengths(int length) {
                assertDoesNotThrow(() -> request.setReadLength(length));
            }
    
            @ParameterizedTest
            @DisplayName("Should handle various offsets")
            @ValueSource(longs = { 0L, 1L, 512L, 1024L, 4096L, 1048576L, Long.MAX_VALUE })
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/query/TermQueryCommand.java

                final float boost, final String field, final String text) {
            if (fessConfig.getQueryReplaceTermWithPrefixQueryAsBoolean() && text.length() > 1 && text.endsWith("*")) {
                return convertPrefixQuery(fessConfig, context, termQuery, boost, field, text);
            }
            if (DEFAULT_FIELD.equals(field)) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 13.6K bytes
    - Viewed (0)
Back to top