Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 291 - 300 of 4,670 for Hint (0.02 seconds)

  1. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java

            // When
            int shortSize = shortReq.size();
            int longSize = longReq.size();
    
            // Then
            // SMB2_HEADER_LENGTH + 8 + path.length() * 2 (UTF-16LE)
            int expectedShortSize = Smb2Constants.SMB2_HEADER_LENGTH + 8 + shortPath.length() * 2;
            int expectedLongSize = Smb2Constants.SMB2_HEADER_LENGTH + 8 + longPath.length() * 2;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.6K bytes
    - Click Count (0)
  2. src/main/java/jcifs/dcerpc/ndr/NdrBuffer.java

         *
         * @param boundary the alignment boundary
         * @return the number of bytes added for alignment
         */
        public int align(final int boundary) {
            final int m = boundary - 1;
            final int i = this.index - this.start;
            final int n = (i + m & ~m) - i;
            advance(n);
            return n;
        }
    
        /**
         * Encodes a small integer (1 byte) in NDR format.
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 10.7K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationTest.java

        })
        void testWriteParametersWireFormatWithDifferentInfoLevels(int infoLevel, int expectedMappedValue) {
            trans2QueryPathInfo = new Trans2QueryPathInformation(config, TEST_FILENAME, infoLevel);
    
            byte[] buffer = new byte[512];
            trans2QueryPathInfo.writeParametersWireFormat(buffer, 0);
    
            // Check mapped information level
            int actualInfoLevel = SMBUtil.readInt2(buffer, 0);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.4K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb1/com/SmbComRenameTest.java

            smbComRename = new SmbComRename(config, "old.txt", "new.txt");
            int dstIndex = 2;
    
            // When
            int result = smbComRename.writeParameterWordsWireFormat(dst, dstIndex);
    
            // Then
            assertEquals(2, result);
    
            // Verify that search attributes are written correctly
            int expectedAttributes = SmbConstants.ATTR_HIDDEN | SmbConstants.ATTR_SYSTEM | SmbConstants.ATTR_DIRECTORY;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/RegularImmutableSet.java

      private final transient int hashCode;
      // the same values as `elements` in hashed positions (plus nulls)
      @VisibleForTesting final transient @Nullable Object[] table;
      // 'and' with an int to get a valid table index.
      private final transient int mask;
      private final transient int size;
    
      RegularImmutableSet(
          @Nullable Object[] elements, int hashCode, @Nullable Object[] table, int mask, int size) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb1/AndXServerMessageBlockTest.java

         */
        private static class TestAndXServerMessageBlock extends AndXServerMessageBlock {
    
            private int paramWordsWritten = 0;
            private int bytesWritten = 0;
            private int paramWordsRead = 0;
            private int bytesRead = 0;
            private boolean retainPayload = false;
            private byte[] rawPayload = null;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 19.4K bytes
    - Click Count (0)
  7. guava/src/com/google/common/base/SmallCharMatcher.java

        // Compute the filter.
        long filter = 0;
        int size = chars.cardinality();
        boolean containsZero = chars.get(0);
        // Compute the hash table.
        char[] table = new char[chooseTableSize(size)];
        int mask = table.length - 1;
        for (int c = chars.nextSetBit(0); c != -1; c = chars.nextSetBit(c + 1)) {
          // Compute the filter at the same time.
          filter |= 1L << c;
          int index = smear(c) & mask;
          while (true) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Feb 12 03:49:18 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  8. src/main/java/jcifs/internal/fscc/FileBothDirectoryInfo.java

         */
        public int getNextEntryOffset() {
            return this.nextEntryOffset;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Decodable#decode(byte[], int, int)
         */
        @Override
        public int decode(final byte[] buffer, int bufferIndex, final int len) throws SMBProtocolDecodingException {
            final int start = bufferIndex;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java

            // Given - large buffer with many notifications
            byte[] buffer = new byte[65536];
            int offset = 0;
    
            setHeaderStart(response, 64);
    
            // Calculate space for notifications
            int notificationSize = 32; // Each notification
            int notificationCount = 100;
            int totalSize = notificationSize * notificationCount;
    
            // Write structure
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 18.8K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/primitives/Ints.java

       *
       * @param value a primitive {@code int} value
       * @return a hash code for the value
       */
      @InlineMe(replacement = "Integer.hashCode(value)")
      @InlineMeValidationDisabled(
          "The hash code of a int is the int itself, so it's simplest to return that.")
      public static int hashCode(int value) {
        return value;
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:45:58 GMT 2026
    - 31.3K bytes
    - Click Count (0)
Back to Top