Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 1,751 for LENGTH (0.18 sec)

  1. src/test/java/org/codelibs/fess/ldap/LdapUserTest.java

            assertEquals(3, permissions.length);
            assertEquals("Rgroup1", permissions[0]);
            assertEquals("Rgroup2", permissions[1]);
            assertEquals("Utestuser", permissions[2]);
    
            // Verify callback was called
            assertTrue(activityHelperCalled.get());
            assertNotNull(rolesFromCallback.get());
            assertEquals(2, rolesFromCallback.get().length);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  2. lib/wasm/wasm_exec.js

    				if (nl != -1) {
    					console.log(outputBuf.substring(0, nl));
    					outputBuf = outputBuf.substring(nl + 1);
    				}
    				return buf.length;
    			},
    			write(fd, buf, offset, length, position, callback) {
    				if (offset !== 0 || length !== buf.length || position !== null) {
    					callback(enosys());
    					return;
    				}
    				const n = this.writeSync(fd, buf);
    				callback(null, n);
    			},
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Sun Dec 08 15:34:47 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/fscc/FsctlPipeWaitRequestTest.java

            // Verify size
            assertEquals(14 + nameBytes.length, request.size());
    
            // Test encoding with large buffer
            byte[] buffer = new byte[14 + nameBytes.length + 100];
            int bytesEncoded = request.encode(buffer, 0);
    
            // Verify
            assertEquals(14 + nameBytes.length, bytesEncoded);
            assertEquals(nameBytes.length, SMBUtil.readInt4(buffer, 8));
        }
    
        @ParameterizedTest
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  4. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt

          assertThat(header.tag).isEqualTo(30)
          assertThat(header.constructed).isFalse()
          assertThat(header.length).isEqualTo(201)
        }
    
        assertThat(derReader.hasNext()).isFalse()
      }
    
      @Test fun `decode length encoded with leading zero byte`() {
        val buffer =
          Buffer()
            .writeByte(0b00000010)
            .writeByte(0b10000010)
            .writeByte(0b00000000)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 31.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/AndXServerMessageBlockTest.java

            testBlock.setDigest(mockDigest);
            byte[] buffer = new byte[1024];
    
            int length = testBlock.encode(buffer, 0);
    
            assertTrue(length > 0);
            verify(mockDigest).sign(eq(buffer), eq(0), eq(length), eq(testBlock), any());
        }
    
        @Test
        @DisplayName("Test decode basic message")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/BufferCacheImplTest.java

            // When cache is empty, getBuffer allocates a new buffer with configured size
            byte[] buf = impl.getBuffer();
            assertNotNull(buf, "getBuffer should never return null");
            assertEquals(5, buf.length, "Newly allocated buffer length should match config maximum size");
        }
    
        // Happy path: get -> release -> get returns same instance, zeroed on release
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/TimeLimiter.java

       * @param interfaceType the interface you wish the returned proxy to implement
       * @param timeoutDuration with timeoutUnit, the maximum length of time that callers are willing to
       *     wait on each method call to the proxy
       * @param timeoutUnit with timeoutDuration, the maximum length of time that callers are willing to
       *     wait on each method call to the proxy
       * @return a time-limiting proxy
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/fscc/FileStandardInfoTest.java

            firstInstance.decode(originalBuffer, 0, originalBuffer.length);
    
            // Encode from first instance
            byte[] encodedBuffer = new byte[22];
            firstInstance.encode(encodedBuffer, 0);
    
            // Decode into second instance
            FileStandardInfo secondInstance = new FileStandardInfo();
            secondInstance.decode(encodedBuffer, 0, encodedBuffer.length);
    
            // Verify both instances have same values
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java

            fp = pos;
        }
    
        /**
         * Returns the length of the file.
         *
         * @return the file length in bytes
         * @throws SmbException if an I/O error occurs
         */
        public long length() throws SmbException {
            return file.length();
        }
    
        /**
         * Sets the length of the file. The file will be truncated or extended as necessary.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoRequestTest.java

            // Verify size
            assertEquals(24 + 2 * manyDialects.length, encodedLength);
    
            // Verify dialect count
            assertEquals(manyDialects.length, SMBUtil.readInt2(buffer, 22));
    
            // Verify all dialects
            for (int i = 0; i < manyDialects.length; i++) {
                assertEquals(manyDialects[i], SMBUtil.readInt2(buffer, 24 + i * 2));
            }
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.7K bytes
    - Viewed (0)
Back to top