Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 281 - 290 of 454 for positive (0.05 seconds)

  1. src/test/java/jcifs/internal/fscc/FileRenameInformation2Test.java

            int dstIndex = 10;
            int bytesWritten = info.encode(buffer, dstIndex);
    
            // Verify replaceIfExists flag at correct position
            assertEquals(1, buffer[dstIndex]);
    
            // Verify file name length at correct position
            int nameLength = SMBUtil.readInt4(buffer, dstIndex + 16);
            assertEquals(fileName.getBytes(StandardCharsets.UTF_16LE).length, nameLength);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.3K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/core/beans/factory/ParameterizedClassDescFactory.java

         *
         * @param constructor
         *            The constructor. Must not be {@literal null}.
         * @param index
         *            The position of the argument.
         * @param map
         *            A {@link Map} with type variables as keys and type arguments as values for the parameterized type. Must not be {@literal null}.
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 7.7K bytes
    - Click Count (0)
  3. guava/src/com/google/common/base/Preconditions.java

        return checkPositionIndex(index, size, "index");
      }
    
      /**
       * Ensures that {@code index} specifies a valid <i>position</i> in an array, list or string of
       * size {@code size}. A position index may range from zero to {@code size}, inclusive.
       *
       * @param index a user-supplied index identifying a position in an array, list or string
       * @param size the size of that array, list or string
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 08 18:10:02 GMT 2026
    - 53.5K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/ArrayTable.java

       * returned by {@code get(rowKeyList().get(rowIndex), columnKeyList().get(columnIndex))}, but this
       * method runs more quickly.
       *
       * @param rowIndex position of the row key in {@link #rowKeyList()}
       * @param columnIndex position of the row key in {@link #columnKeyList()}
       * @return the value with the specified row and column
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 26.9K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/smb2/nego/NegotiateContextRequestTest.java

                context = new PreauthIntegrityNegotiateContext(mockConfig, hashAlgos, salt);
    
                // Encode at position 100
                int encoded = context.encode(buffer, 100);
                assertEquals(context.size(), encoded);
    
                // Verify salt is at correct position
                for (int i = 0; i < salt.length; i++) {
                    assertEquals((byte) 0xFF, buffer[100 + 4 + 4 + i]);
                }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.8K bytes
    - Click Count (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractor.java

                return null;
            }
    
            if (value instanceof Map map) {
                return map.get(key);
            }
    
            final String message = String.format(
                    "The token '%s' at position '%d' refers to a java.util.Map, but the value "
                            + "seems is an instance of '%s'",
                    expression.subSequence(from, to), from, value.getClass());
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb2/lock/Smb2LockRequestTest.java

                byte[] buffer = new byte[512];
    
                // Test at position 0
                int bytesWritten = request.writeBytesWireFormat(buffer, 0);
                assertEquals(48, bytesWritten);
                assertEquals(48, SMBUtil.readInt2(buffer, 0));
    
                // Test at position 100
                Arrays.fill(buffer, (byte) 0);
                bytesWritten = request.writeBytesWireFormat(buffer, 100);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 25.3K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/fscc/FsctlPipeWaitRequestTest.java

            // Compare actual bytes (up to encoded length)
            for (int i = 0; i < encoded1; i++) {
                assertEquals(buffer1[i], buffer2[i], "Mismatch at position " + i);
                assertEquals(buffer2[i], buffer3[i], "Mismatch at position " + i);
            }
        }
    
        @Test
        @DisplayName("Test with typical Windows pipe name format")
        void testWithTypicalWindowsPipeName() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.1K bytes
    - Click Count (0)
  9. src/main/java/jcifs/internal/smb1/trans/SmbComTransactionResponse.java

        protected int dataDisplacement;
        /** Number of setup words in this response */
        protected int setupCount;
        /** Start position of parameter data in the buffer */
        protected int bufParameterStart;
        /** Start position of data bytes in the buffer */
        protected int bufDataStart;
    
        int dataCount;
        byte subCommand;
        volatile boolean hasMore = true;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/rank/fusion/RankFusionProcessorEdgeCaseTest.java

                assertNotNull(results);
                // Should return only available documents
                assertEquals(100, results.size());
            }
        }
    
        /**
         * Test search with start position beyond available documents.
         */
        @Test
        public void test_searchBeyondAvailableDocuments() throws Exception {
            try (RankFusionProcessor processor = new RankFusionProcessor()) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 14.2K bytes
    - Click Count (0)
Back to Top