Search Options

Results per page
Sort
Preferred Languages
Advance

Results 561 - 570 of 1,958 for length (0.56 sec)

  1. src/main/java/org/codelibs/core/lang/MethodUtil.java

            buf.append(methodName).append("(");
            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);
        }
    
        /**
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfoTest.java

            }
            // Rest of the buffer can be arbitrary
            for (int i = 20; i < largeDescriptor.length; i++) {
                largeDescriptor[i] = (byte) (i % 256);
            }
            info502.security_descriptor = largeDescriptor;
            info502.sd_size = largeDescriptor.length;
    
            // Replace info field
            Field infoField = msrpcShareGetInfo.getClass().getSuperclass().getDeclaredField("info");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/TransWaitNamedPipeResponseTest.java

            }
    
            @ParameterizedTest
            @ValueSource(ints = { 0, 2, -2, Integer.MAX_VALUE })
            @DisplayName("readSetupWireFormat returns 0 regardless of buffer and length")
            void readSetupWireFormatReturnsZero(int len) {
                TransWaitNamedPipeResponse resp = new TransWaitNamedPipeResponse();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/nego/Smb2RdmaTransformCapabilitiesContext.java

            byte[] data = getData();
            System.arraycopy(data, 0, dst, dstIndex, data.length);
            return data.length;
        }
    
        @Override
        public int decode(byte[] buffer, int bufferIndex, int len) throws SMBProtocolDecodingException {
            if (len < 20) {
                throw new SMBProtocolDecodingException("Invalid RDMA Transform Capabilities context length: " + len);
            }
    
            int start = bufferIndex;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  5. .github/bot_config.yml

       
       *Please let us know if this helps.*
       
    windows_comment: >
       From the stack trace it looks like you are hitting windows path length limit.
          * Try to disable path length limit on Windows 10.
            * Refer [disable path length limit instructions guide.](https://mspoweruser.com/ntfs-260-character-windows-10/)
       
    Registered: Tue Dec 30 12:39:10 UTC 2025
    - Last Modified: Mon Jun 30 16:38:59 UTC 2025
    - 4K bytes
    - Viewed (1)
  6. src/test/java/jcifs/internal/smb1/net/SmbShareInfoTest.java

        }
    
        @Test
        @DisplayName("Test length always returns 0")
        void testLength() {
            // Default instance
            assertEquals(0L, shareInfo.length());
    
            // Instance with values - length is still 0
            SmbShareInfo info = new SmbShareInfo(TEST_NET_NAME, TEST_TYPE, TEST_REMARK);
            assertEquals(0L, info.length());
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/hash/HashTestUtils.java

      private HashTestUtils() {}
    
      /** Converts a string, which should contain only ascii-representable characters, to a byte[]. */
      static byte[] ascii(String string) {
        byte[] bytes = new byte[string.length()];
        for (int i = 0; i < string.length(); i++) {
          bytes[i] = (byte) string.charAt(i);
        }
        return bytes;
      }
    
      interface HashFn {
        byte[] hash(byte[] input, int seed);
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:19:59 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  8. docs/smb3-features/05-rdma-smb-direct-design.md

                                     int length) throws IOException;
        
        /**
         * Perform RDMA write operation
         */
        public abstract void rdmaWrite(RdmaMemoryRegion localRegion,
                                      long remoteAddress,
                                      int remoteKey,
                                      int length) throws IOException;
        
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 35.9K bytes
    - Viewed (0)
  9. cmd/erasure-encode_test.go

    		}
    		for i, w := range writers {
    			if w == nil {
    				disks[i] = OfflineDisk
    			}
    		}
    		if err == nil {
    			if length := int64(len(data[test.offset:])); n != length {
    				t.Errorf("Test %d: invalid number of bytes written: got: #%d want #%d", i, n, length)
    			}
    			writers := make([]io.Writer, len(disks))
    			for i, disk := range disks {
    				if disk == nil {
    					continue
    				}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  10. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java

                return new CombinationItem(buf.replace("-", ""));
            } else if (isDigit) {
                buf = stripLeadingZeroes(buf);
                if (buf.length() <= MAX_INTITEM_LENGTH) {
                    // lower than 2^31
                    return new IntItem(buf);
                } else if (buf.length() <= MAX_LONGITEM_LENGTH) {
                    // lower than 2^63
                    return new LongItem(buf);
                }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 26.4K bytes
    - Viewed (0)
Back to top