Search Options

Results per page
Sort
Preferred Languages
Advance

Results 861 - 870 of 1,875 for length (0.15 sec)

  1. src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeTest.java

            transPeekNamedPipe = new TransPeekNamedPipe(mockConfig, TEST_PIPE_NAME, TEST_FID);
            byte[] buffer = new byte[10];
    
            // Act
            int result = transPeekNamedPipe.readSetupWireFormat(buffer, 0, buffer.length);
    
            // Assert
            assertEquals(0, result);
        }
    
        @Test
        @DisplayName("writeParametersWireFormat should return 0")
        void testWriteParametersWireFormat() {
            // Arrange
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  2. mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt

          this.bodyVar = null
          this.socketHandlerVar = null
          this.webSocketListenerVar = null
          this.headers_ =
            Headers
              .Builder()
              .add("Content-Length", "0")
          this.trailers_ = Headers.Builder()
          this.throttleBytesPerPeriod = Long.MAX_VALUE
          this.throttlePeriodNanos = 0L
          this.failHandshake = false
          this.onRequestStart = null
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbFileOutputStreamTest.java

            // When & Then - test boundary conditions
            // Negative length or offset should not cause issues (len <= 0 returns early)
            assertDoesNotThrow(() -> outputStream.write(data, 0, -1)); // negative length, returns early
            assertDoesNotThrow(() -> outputStream.write(data, 0, 0)); // zero length, returns early
    
            // These should pass through to the underlying implementation
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/exception/UserRoleLoginExceptionTest.java

            assertNull(result);
    
            // Verify that stack trace is not generated
            StackTraceElement[] stackTrace = exception.getStackTrace();
            assertEquals(0, stackTrace.length);
        }
    
        public void test_serialVersionUID() {
            // Test that serialVersionUID is correctly defined
            UserRoleLoginException exception = new UserRoleLoginException(RootAction.class);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbComNegotiate.java

                dialects = DIALECTS.getBytes("ASCII");
            } catch (final UnsupportedEncodingException uee) {
                return 0;
            }
            System.arraycopy(dialects, 0, dst, dstIndex, dialects.length);
            return dialects.length;
        }
    
        @Override
        int readParameterWordsWireFormat(final byte[] buffer, final int bufferIndex) {
            return 0;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseContext.java

         * Decode directory lease context from buffer
         *
         * @param buffer the buffer containing the context data
         * @param offset offset in the buffer
         * @param length length of the context data
         */
        public void decode(byte[] buffer, int offset, int length) {
            // Skip context header (16 bytes) and name (4 bytes) and padding (4 bytes)
            int dataOffset = offset + 24;
    
            // Decode standard lease data
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XmlUtil.java

            if (StringUtil.isEmpty(in)) {
                return in;
            }
    
            final StringBuilder buf = new StringBuilder(in.length());
            char c;
            for (int i = 0; i < in.length(); i++) {
                c = in.charAt(i);
                if (c == 0x9 || c == 0xA || c == 0xD || c >= 0x20 && c <= 0xD7FF || c >= 0xE000 && c <= 0xFFFD
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  8. src/archive/tar/format.go

    )
    
    // Size constants from various tar specifications.
    const (
    	blockSize  = 512 // Size of each block in a tar stream
    	nameSize   = 100 // Max length of the name field in USTAR format
    	prefixSize = 155 // Max length of the prefix field in USTAR format
    
    	// Max length of a special file (PAX header, GNU long name or link).
    	// This matches the limit used by libarchive.
    	maxSpecialFileSize = 1 << 20
    )
    
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Oct 13 18:36:46 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/math/Stats.java

       * @param values a series of values
       * @throws IllegalArgumentException if the dataset is empty
       */
      public static double meanOf(double... values) {
        checkArgument(values.length > 0);
        double mean = values[0];
        for (int index = 1; index < values.length; index++) {
          double value = values[index];
          if (isFinite(value) && isFinite(mean)) {
            // Art of Computer Programming vol. 2, Knuth, 4.2.2, (15)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cookie.kt

        ): Boolean {
          if (urlHost == domain) {
            return true // As in 'example.com' matching 'example.com'.
          }
    
          return urlHost.endsWith(domain) &&
            urlHost[urlHost.length - domain.length - 1] == '.' &&
            !urlHost.canParseAsIpAddress()
        }
    
        private fun pathMatch(
          url: HttpUrl,
          path: String,
        ): Boolean {
          val urlPath = url.encodedPath
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 23.1K bytes
    - Viewed (0)
Back to top