Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 852 for maxLen (0.04 sec)

  1. src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java

                        len += 2;
                        if (len > maxLen) {
                            if (LogStream.level > 0) {
                                Hexdump.hexdump(System.err, src, srcIndex, maxLen < 128 ? maxLen + 8 : 128);
                            }
                            throw new RuntimeException("zero termination not found");
                        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/Strings.java

         * @param maxLen the maximum length to search
         * @return position of terminating null byte
         */
        public static int findTermination(final byte[] buffer, final int bufferIndex, final int maxLen) {
            int len = 0;
            while (buffer[bufferIndex + len] != (byte) 0x00) {
                len++;
                if (len > maxLen) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/http/NetworkExplorer.java

                        break;
                    }
                }
                sorted.add(j, dirents[i]);
            }
            if (maxLen > 50) {
                maxLen = 50;
            }
            maxLen *= 9; /* convert to px */
    
            out = resp.getWriter();
    
            resp.setContentType("text/html");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/http/NetworkExplorer.java

                        break;
                    }
                }
                sorted.add(j, dirents[i]);
            }
            if (maxLen > 50) {
                maxLen = 50;
            }
            maxLen *= 9; /* convert to px */
    
            resp.setContentType("text/html");
    
            out.println("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 23.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/Trans2GetDfsReferralTest.java

            assertEquals(expected, written);
        }
    
        // Helper method to extract string from buffer
        private String extractStringFromBuffer(byte[] buffer, int offset, int maxLen) {
            int end = offset;
            while (end < offset + maxLen && buffer[end] != 0) {
                end++;
            }
            return new String(buffer, offset, end - offset, StandardCharsets.UTF_8);
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

         * @param src source buffer
         * @param srcIndex starting index in the buffer
         * @param maxLen maximum length to read
         * @param unicode whether to use Unicode encoding
         * @return read string
         */
        public String readString(final byte[] src, int srcIndex, final int maxLen, final boolean unicode) {
            if (unicode) {
                // Unicode requires word alignment
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  7. cmd/postpolicyform.go

    				minLen, err := toInteger(condt[1])
    				if err != nil {
    					return parsedPolicy, err
    				}
    
    				maxLen, err := toInteger(condt[2])
    				if err != nil {
    					return parsedPolicy, err
    				}
    
    				parsedPolicy.Conditions.ContentLengthRange = contentLengthRange{
    					Min:   minLen,
    					Max:   maxLen,
    					Valid: true,
    				}
    			default:
    				// Condition should be valid.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  8. .github/workflows/maven.yml

              if [ "${{ runner.os }}" = "Windows" ]; then
                unzip maven-dist/apache-maven-*-bin.zip -d maven-local
                # Get the name of the extracted directory
                MAVEN_DIR=$(ls maven-local)
                # Move contents up one level
                mv "maven-local/$MAVEN_DIR"/* maven-local/
                rm -r "maven-local/$MAVEN_DIR"
              else
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Mon Aug 25 07:07:00 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  9. .github/workflows/maven.yml

    # This workflow will build a Java project with Maven
    # For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
    
    name: Java CI with Maven
    
    on:
      push:
        branches: [ master ]
      pull_request:
        branches: [ master ]
    
    jobs:
      build:
    
        runs-on: ubuntu-latest
    
        steps:
        - uses: actions/checkout@v4
        - name: Set up JDK 17
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Jul 31 06:32:26 UTC 2025
    - 574 bytes
    - Viewed (0)
  10. api/maven-api-model/src/main/mdo/maven.mdo

      xml.namespace="http://maven.apache.org/POM/${version}"
      xml.schemaLocation="https://maven.apache.org/xsd/maven-${version}.xsd">
      <id>maven</id>
      <name>Maven</name>
      <description>
        <![CDATA[
        <p>This is a reference for the Maven project descriptor used in Maven.</p>
        <p>An XSD is available at:</p>
        <ul>
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Aug 07 14:32:16 UTC 2025
    - 132.7K bytes
    - Viewed (0)
Back to top