Search Options

Results per page
Sort
Preferred Languages
Advance

Results 481 - 490 of 2,830 for rint (0.09 sec)

  1. src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseContextTest.java

    /**
     * Unit tests for DirectoryLeaseContext
     */
    public class DirectoryLeaseContextTest {
    
        @Test
        public void testConstructor() {
            Smb2LeaseKey key = new Smb2LeaseKey();
            int leaseState = DirectoryLeaseState.DIRECTORY_READ_HANDLE;
            DirectoryCacheScope scope = DirectoryCacheScope.IMMEDIATE_CHILDREN;
    
            DirectoryLeaseContext context = new DirectoryLeaseContext(key, leaseState, scope);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/hash/BloomFilterTest.java

        for (int i = 1; i < 900; i += 2) {
          if (!falsePositives.contains(i)) {
            assertFalse("BF should not contain " + i, bf.mightContain(Integer.toString(i)));
          }
        }
    
        // Check that there are exactly 29824 false positives for this BF.
        int knownNumberOfFalsePositives = 29824;
        int numFpp = 0;
        for (int i = 1; i < numInsertions * 2; i += 2) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 22K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/net/NetServerEnum2ResponseTest.java

            // Calculate buffer size
            int serverNameSize = 16; // Fixed field size
            int versionSize = 2;
            int typeSize = 4;
            int offsetSize = 4;
            int commentSize = comment.length() + 1;
            int totalSize = serverNameSize + versionSize + typeSize + offsetSize + commentSize;
    
            byte[] buffer = new byte[totalSize + 100];
            int bufferIndex = 0;
            int start = 0;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/persistent/HandleType.java

        /**
         * SMB 3.0 persistent handle - survives server reboot
         */
        PERSISTENT(3);
    
        private final int value;
    
        HandleType(int value) {
            this.value = value;
        }
    
        /**
         * Get the numeric value of this handle type
         * @return the numeric value
         */
        public int getValue() {
            return value;
        }
    
        /**
         * Get HandleType from numeric value
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  5. android/guava-tests/benchmark/com/google/common/math/QuantilesBenchmark.java

      }
    
      @Benchmark
      double percentile90(int reps) {
        double dummy = 0.0;
        for (int i = 0; i < reps; i++) {
          dummy += algorithm.singleQuantile(90, 100, dataset(i));
        }
        return dummy;
      }
    
      @Benchmark
      double percentile99(int reps) {
        double dummy = 0.0;
        for (int i = 0; i < reps; i++) {
          dummy += algorithm.singleQuantile(99, 100, dataset(i));
        }
        return dummy;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  6. guava/src/com/google/common/primitives/Chars.java

       *     such index exists.
       */
      public static int indexOf(char[] array, char target) {
        return indexOf(array, target, 0, array.length);
      }
    
      // TODO(kevinb): consider making this public
      private static int indexOf(char[] array, char target, int start, int end) {
        for (int i = start; i < end; i++) {
          if (array[i] == target) {
            return i;
          }
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/ACE.java

        /** Permission to write extended attributes */
        public static final int FILE_WRITE_EA = 0x00000010; // 5
        /** Permission to execute a file or traverse a directory */
        public static final int FILE_EXECUTE = 0x00000020; // 6
        /** Permission to delete a file or directory */
        public static final int FILE_DELETE = 0x00000040; // 7
        /** Permission to read file attributes */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans2/Trans2FindNext2Test.java

            // Test with maximum allowed values
            int maxSid = 0xFFFF;
            int maxResumeKey = 0x7FFFFFFF;
            int maxBatchCount = 65535;
            int maxBatchSize = 65535;
    
            trans2FindNext2 = new Trans2FindNext2(config, maxSid, maxResumeKey, TEST_FILENAME, maxBatchCount, maxBatchSize);
    
            byte[] buffer = new byte[512];
            int written = trans2FindNext2.writeParametersWireFormat(buffer, 0);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  9. api/go1.6.txt

    pkg image, method (*NYCbCrA) AOffset(int, int) int
    pkg image, method (*NYCbCrA) At(int, int) color.Color
    pkg image, method (*NYCbCrA) Bounds() Rectangle
    pkg image, method (*NYCbCrA) COffset(int, int) int
    pkg image, method (*NYCbCrA) ColorModel() color.Model
    pkg image, method (*NYCbCrA) NYCbCrAAt(int, int) color.NYCbCrA
    pkg image, method (*NYCbCrA) Opaque() bool
    pkg image, method (*NYCbCrA) SubImage(Rectangle) Image
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Jan 13 23:40:13 UTC 2016
    - 12.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/net/NetServerEnum2Test.java

        void testWriteParametersWireFormatNetServerEnum2() throws Exception {
            String domain = "TESTDOMAIN";
            int serverTypes = NetServerEnum2.SV_TYPE_ALL;
            netServerEnum2 = new NetServerEnum2(realConfig, domain, serverTypes);
    
            byte[] dst = new byte[1024];
            int dstIndex = 0;
    
            int bytesWritten = netServerEnum2.writeParametersWireFormat(dst, dstIndex);
    
            // Verify bytes written
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.7K bytes
    - Viewed (0)
Back to top