Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 296 for padded (0.03 sec)

  1. src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java

            assertTrue(result.contains("nextEntry="));
            assertTrue(result.contains("action="));
            assertTrue(result.contains("file=" + fileName));
            // Hexdump.toHexString produces 4-character padded uppercase hex
            String expectedHex = String.format("%04X", action);
            assertTrue(result.contains("0x" + expectedHex));
        }
    
        @Test
        @DisplayName("Test toString with empty object")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/Strings.java

       *     which case the input string is always returned.
       * @param padChar the character to append to the end of the result until the minimum length is
       *     reached
       * @return the padded string
       */
      public static String padEnd(String string, int minLength, char padChar) {
        checkNotNull(string); // eager for GWT.
        if (string.length() >= minLength) {
          return string;
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 27 17:53:41 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/cache/Striped64.java

       * Nearly all declarations in this class are package-private,
       * accessed directly by subclasses.
       *
       * Table entries are of class Cell; a variant of AtomicLong padded
       * to reduce cache contention on most processors. Padding is
       * overkill for most Atomics because they are usually irregularly
       * scattered in memory and thus don't interfere much with each
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jan 15 22:17:15 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java

                final ByteBuffer buffer = ByteBuffer.wrap(nonce);
                buffer.order(java.nio.ByteOrder.LITTLE_ENDIAN);
                buffer.putLong(counter);
                // Remaining bytes (if any) stay zero-padded
            }
    
            return nonce;
        }
    
        /**
         * Generate a secure random nonce for initial session setup.
         * This method can be used when enhanced randomness is required,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java

            request = new Smb2NegotiateRequest(mockConfig, 0);
    
            // When
            int size = request.size();
    
            // Then - Header (64) + Structure (36) + Dialects (4 * 2) = 108, padded to 8-byte boundary = 112
            assertEquals(112, size);
        }
    
        @Test
        @DisplayName("Should calculate size correctly with contexts")
        void testSizeWithContexts() throws Exception {
            // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/net/NetShareEnumResponseTest.java

            // Set converter value first
            setConverter(response, 0);
    
            // Set number of entries
            setNumEntries(response, 1);
    
            // Write share name (13 bytes, null padded)
            byte[] nameBytes = shareName.getBytes(StandardCharsets.US_ASCII);
            System.arraycopy(nameBytes, 0, buffer, bufferIndex, Math.min(nameBytes.length, 13));
            bufferIndex += 14;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/net/NetServerEnum2ResponseTest.java

            byte[] buffer = new byte[totalSize + 100];
            int bufferIndex = 0;
            int start = 0;
    
            // Write server name (16 bytes, null padded)
            byte[] nameBytes = serverName.getBytes(StandardCharsets.US_ASCII);
            System.arraycopy(nameBytes, 0, buffer, bufferIndex, Math.min(nameBytes.length, 15));
            bufferIndex += 16;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  8. cmd/sts-datatypes.go

    	// Also, future updates to AWS might require larger sizes.
    	Credentials auth.Credentials `xml:",omitempty"`
    
    	// A percentage value that indicates the size of the policy in packed form.
    	// The service rejects any policy with a packed size greater than 100 percent,
    	// which means the policy exceeded the allowed space.
    	PackedPolicySize int `xml:",omitempty"`
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri May 27 00:58:09 UTC 2022
    - 9.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/query/parser/QueryParser.java

        /**
         * Parses the given query string and returns a Lucene Query object.
         * The query is processed through the filter chain before being parsed.
         *
         * @param query the query string to parse
         * @return the parsed Query object
         * @throws QueryParseException if the query cannot be parsed
         */
        public Query parse(final String query) {
            return filterChain.parse(query);
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/dict/stopwords/StopwordsFile.java

            /** The writer for the temporary file. */
            protected Writer writer;
    
            /** The stopword item being added or updated. */
            protected StopwordsItem item;
    
            /**
             * Constructs a new updater for a stopword item.
             *
             * @param newItem The item to be added or updated.
             * @throws DictionaryException if the temporary file cannot be created.
             */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 12.6K bytes
    - Viewed (0)
Back to top