Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 290 of 410 for position (0.1 sec)

  1. src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeTest.java

            // Act
            int bytesWritten = trans.writeDataWireFormat(dst, dstIndex);
    
            // Assert
            assertEquals(partialLength, bytesWritten);
    
            // Verify correct portion of data is copied
            byte[] expectedData = new byte[partialLength];
            System.arraycopy(TEST_DATA, partialOffset, expectedData, 0, partialLength);
            byte[] copiedData = new byte[partialLength];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/job/CrawlJob.java

        /**
         * Document expiration setting in days.
         * -2: use system default, -1: never expire, 0 or positive: expire after specified days.
         */
        protected int documentExpires = -2;
    
        /**
         * Hot thread monitoring interval in seconds.
         * -1: disabled, positive value: enable hot thread monitoring with specified interval.
         * Used for performance analysis and debugging of the crawler process.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/hash/Hashing.java

          }
        }
        return HashCode.fromBytesNoCopy(resultBytes);
      }
    
      /** Checks that the passed argument is positive, and ceils it to a multiple of 32. */
      static int checkPositiveAndMakeMultipleOf32(int bits) {
        checkArgument(bits > 0, "Number of bits must be positive");
        return (bits + 31) & ~31;
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 29.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java

            @Test
            @DisplayName("Header length should be suitable for SMB2 protocol")
            void testHeaderLengthValidity() {
                assertTrue(Smb2Constants.SMB2_HEADER_LENGTH > 0, "Header length must be positive");
                assertTrue(Smb2Constants.SMB2_HEADER_LENGTH % 8 == 0, "Header length should be multiple of 8 for alignment");
            }
    
            @Test
            @DisplayName("Dialect ANY should encompass SMB2 range")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

         * @param size the maximum number of connections in the pool
         */
        public void setMaxPoolSize(int size) {
            if (size <= 0) {
                throw new IllegalArgumentException("Pool size must be positive");
            }
            this.maxPoolSize = size;
            log.info("Set maximum pool size to {}", size);
        }
    
        /**
         * Set the maximum idle time for connections
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/NtTransQuerySecurityDescTest.java

            assertEquals(0, cmd.readDataWireFormat(buf, 0, buf.length));
        }
    
        @ParameterizedTest
        @CsvSource({ "0, 0", // all zeros
                "-1, 2147483647", // negative fid, max positive security
                "12345, 999" // arbitrary numbers
        })
        void toString_includesCorrectHexValues(int fid, int securityInformation) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/dcerpc/ndr/NdrSmallTest.java

            assertEquals(0, ndrSmall.value, "Value should be initialized correctly for zero.");
        }
    
        @Test
        void testConstructor_negativeValue() {
            // Test with a negative value, expecting it to be masked to a positive byte
            NdrSmall ndrSmall = new NdrSmall(-1); // -1 & 0xFF = 255
            assertEquals(255, ndrSmall.value, "Negative value should be masked to its unsigned byte equivalent.");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  8. guava/src/com/google/common/math/LongMath.java

       */
      public static long gcd(long a, long b) {
        /*
         * The reason we require both arguments to be >= 0 is because otherwise, what do you return on
         * gcd(0, Long.MIN_VALUE)? BigInteger.gcd would return positive 2^63, but positive 2^63 isn't an
         * int.
         */
        checkNonNegative("a", a);
        checkNonNegative("b", b);
        if (a == 0) {
          // 0 % b == 0, so b divides a, but the converse doesn't hold.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Aug 29 16:20:07 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/math/PairedStats.java

        double ySumOfSquaresOfDeltas = yStats().sumOfSquaresOfDeltas();
        checkState(xSumOfSquaresOfDeltas > 0.0);
        checkState(ySumOfSquaresOfDeltas > 0.0);
        // The product of two positive numbers can be zero if the multiplication underflowed. We
        // force a positive value by effectively rounding up to MIN_VALUE.
        double productOfSumsOfSquaresOfDeltas =
            ensurePositive(xSumOfSquaresOfDeltas * ySumOfSquaresOfDeltas);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/util/HexdumpTest.java

            // Test zero
            assertEquals("00000000", Hexdump.toHexString(0, 8));
            assertEquals("0000", Hexdump.toHexString(0, 4));
            assertEquals("00", Hexdump.toHexString(0, 2));
    
            // Test positive values
            assertEquals("000000FF", Hexdump.toHexString(255, 8));
            assertEquals("00FF", Hexdump.toHexString(255, 4));
            assertEquals("FF", Hexdump.toHexString(255, 2));
    
            // Test larger values
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
Back to top