Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 614 for countIn (0.03 sec)

  1. src/test/java/jcifs/internal/smb1/com/SmbComSeekResponseTest.java

            long expectedOffset = expectedInt; // Sign extension happens here for negative values
            assertEquals(expectedOffset, response.getOffset(), "Offset should match decoded value");
            assertEquals(4, readLen, "Byte count returned should be 4");
        }
    
        @Test
        @DisplayName("readParameterWordsWireFormat with a too-short buffer - throws exception")
        void testReadParameterWordsWithShortBuffer() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  2. guava-tests/benchmark/com/google/common/cache/LoadingCacheSingleThreadBenchmark.java

                        return (int) misses.incrementAndGet();
                      }
                    });
    
        // To start, fill up the cache.
        // Each miss both increments the counter and causes the map to grow by one,
        // so until evictions begin, the size of the map is the greatest return
        // value seen so far
        while (cache.getUnchecked(nextRandomKey()) < maximumSize) {}
    
        requests.set(0);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcDfsRootEnum.java

         */
        public FileEntry[] getEntries() {
            final netdfs.DfsEnumArray200 a200 = (netdfs.DfsEnumArray200) info.e;
            final SmbShareInfo[] entries = new SmbShareInfo[a200.count];
            for (int i = 0; i < a200.count; i++) {
                entries[i] = new SmbShareInfo(a200.s[i].dfs_name, 0, null);
            }
            return entries;
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoRequestTest.java

            assertArrayEquals(defaultClientGuid, extractedGuid);
    
            // Verify security mode (2 bytes)
            assertEquals(DEFAULT_SECURITY_MODE, SMBUtil.readInt2(buffer, 20));
    
            // Verify dialect count (2 bytes)
            assertEquals(defaultDialects.length, SMBUtil.readInt2(buffer, 22));
    
            // Verify dialects
            int dialectOffset = 24;
            for (int i = 0; i < defaultDialects.length; i++) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/service/DataService.java

         *
         * @param accessResult the list of access results to update
         */
        void update(List<RESULT> accessResult);
    
        /**
         * Returns the count of access results for the given session ID.
         *
         * @param sessionId the session ID
         * @return the count of access results
         */
        int getCount(String sessionId);
    
        /**
         * Deletes access results for the given session ID.
         *
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/ACE.java

            sid = new SID(buf, bi);
            return size;
        }
    
        void appendCol(final StringBuffer sb, final String str, final int width) {
            sb.append(str);
            final int count = width - str.length();
            for (int i = 0; i < count; i++) {
                sb.append(' ');
            }
        }
    
        /**
         * Return a string represeting this ACE.
         * <p>
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponseTest.java

            // Verify configuration is set through parent constructor
            verify(mockConfig, atLeastOnce()).getPid();
        }
    
        @Test
        @DisplayName("Test readParameterWordsWireFormat with zero setup count")
        void testReadParameterWordsWireFormatZeroSetupCount() throws Exception {
            byte[] buffer = new byte[100];
            int bufferIndex = 10;
    
            // Prepare buffer with test data
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/dcerpc/msrpc/MsrpcShareEnum.java

             * we must create an array of objects that do.
             */
            final srvsvc.ShareInfoCtr1 ctr = (srvsvc.ShareInfoCtr1) this.info;
            final MsrpcShareInfo1[] entries = new MsrpcShareInfo1[ctr.count];
            for (int i = 0; i < ctr.count; i++) {
                entries[i] = new MsrpcShareInfo1(ctr.array[i]);
            }
            return entries;
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcShareEnum.java

             * we must create an array of objects that do.
             */
            final srvsvc.ShareInfoCtr1 ctr = (srvsvc.ShareInfoCtr1) info;
            final MsrpcShareInfo1[] entries = new MsrpcShareInfo1[ctr.count];
            for (int i = 0; i < ctr.count; i++) {
                entries[i] = new MsrpcShareInfo1(ctr.array[i]);
            }
            return entries;
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketProtocol.kt

          val buffer = cursor.data
          var i = cursor.start
          val end = cursor.end
          if (buffer != null) {
            while (i < end) {
              keyIndex %= keyLength // Reassign to prevent overflow breaking counter.
    
              // Byte xor is experimental in Kotlin so we coerce bytes to int, xor them
              // and convert back to byte.
              val bufferInt: Int = buffer[i].toInt()
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.8K bytes
    - Viewed (0)
Back to top