Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1381 - 1390 of 1,922 for LENGTH (0.12 seconds)

  1. src/main/java/jcifs/internal/smb1/trans2/Trans2FindFirst2.java

                final int batchCount, final int batchSize) {
            super(config, SMB_COM_TRANSACTION2, TRANS2_FIND_FIRST2);
            if (filename.equals("\\") || (filename.charAt(filename.length() - 1) == '\\')) {
                this.path = filename;
            } else {
                this.path = filename + "\\";
            }
            this.wildcard = wildcard;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb1/smb1/Trans2GetDfsReferralTest.java

            // Check that the path is written after the referral level
            // The path should be written starting at index 2
            // writeString adds null terminator
            assertTrue(len > 2, "Length should include path");
            String writtenPath = extractStringFromBuffer(buffer, 2, len - 2);
            assertTrue(writtenPath.contains("abc"), "Path should be written to buffer");
        }
    
        @Test
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/TypeMetaData.java

                        typeArg.visitSignature(visitor);
                    }
                    visitor.visitText(">");
                }
                String suffix = getArraySuffix();
                if (suffix.length() > 0) {
                    visitor.visitText(suffix);
                }
            }
        }
    
        public TypeMetaData setWildcard() {
            wildcard = true;
            return this;
        }
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 6.1K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndXResponse.java

                    // Attempt to read nativeFileSystem, but don't fail if there are issues
                    final int fsLen = this.byteCount - (bufferIndex - start);
                    if (fsLen > 0 && fsLen < 256) { // Sanity check on length
                        this.nativeFileSystem = readString(buffer, bufferIndex);
                        bufferIndex += stringWireLength(this.nativeFileSystem, bufferIndex);
                    }
                } catch (final Exception e) {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  5. src/main/java/jcifs/pac/kerberos/KerberosApRequest.java

            this(parseSequence(token), keys);
        }
    
        private static ASN1Sequence parseSequence(byte[] token) throws PACDecodingException {
            if (token.length <= 0) {
                throw new PACDecodingException("Empty kerberos ApReq");
            }
    
            ASN1Sequence sequence;
            try {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  6. impl/maven-cli/src/test/java/org/apache/maven/cling/transfer/ConsoleMavenTransferListenerTest.java

                            @Override
                            public void print(Object o) {
    
                                String string = o.toString();
                                int i = string.length() - 1;
                                while (i >= 0) {
                                    char c = string.charAt(i);
                                    if (c == '\n' || c == '\r' || c == ' ') {
                                        i--;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  7. utils/tests/utils.go

    							AssertEqual(t, reflect.ValueOf(got).Index(i).Interface(), reflect.ValueOf(expect).Index(i).Interface())
    						})
    					}
    				} else {
    					name := reflect.ValueOf(got).Type().Elem().Name()
    					t.Errorf("%v expects length: %v, got %v (expects: %+v, got %+v)", name, reflect.ValueOf(expect).Len(), reflect.ValueOf(got).Len(), expect, got)
    				}
    				return
    			}
    		}
    
    		if reflect.ValueOf(got).Kind() == reflect.Struct {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Fri Mar 10 09:21:56 GMT 2023
    - 3.9K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb1/smb1/BufferCache.java

         *
         * @param buf the buffer to return to the cache
         */
        static public void releaseBuffer(final byte[] buf) {
            // Validate buffer before returning to cache
            if (buf == null || buf.length != SmbComTransaction.TRANSACTION_BUF_SIZE) {
                return; // Silently ignore invalid buffers
            }
    
            // Only cache if we haven't reached the limit - O(1) check
            if (queueSize.get() < MAX_BUFFERS) {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  9. samples/static-server/src/main/java/okhttp3/sample/SampleServer.java

        if (path.endsWith(".txt")) return "text/plain; charset=utf-8";
        return "application/octet-stream";
      }
    
      public static void main(String[] args) throws Exception {
        if (args.length != 4) {
          System.out.println("Usage: SampleServer <keystore> <password> <root file> <port>");
          return;
        }
    
        String keystoreFile = args[0];
        String password = args[1];
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Jan 02 02:50:44 GMT 2019
    - 4.7K bytes
    - Click Count (0)
  10. cmd/post-policy_test.go

    	// Add the key condition, only accept keys equal to the one passed.
    	keyConditionStr := fmt.Sprintf(`["eq", "$key", "%s/upload.txt"]`, objectKey)
    	// Add content length condition, only accept content sizes of a given length.
    	contentLengthCondStr := `["content-length-range", 1024, 1048576]`
    	// Add the algorithm condition, only accept AWS SignV4 Sha256.
    	algorithmConditionStr := `["eq", "$x-amz-algorithm", "AWS4-HMAC-SHA256"]`
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 30.6K bytes
    - Click Count (0)
Back to Top