Search Options

Results per page
Sort
Preferred Languages
Advance

Results 581 - 590 of 925 for count (0.18 sec)

  1. src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java

            @BeforeEach
            void setup() {
                testBlock = new TestServerMessageBlock(mockConfig);
            }
    
            @Test
            @DisplayName("Test decode with mismatched word count")
            void testDecodeWithMismatchedWordCount() throws SMBProtocolDecodingException {
                TestServerMessageBlock customBlock = new TestServerMessageBlock(mockConfig) {
                    @Override
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/RequestBody.kt

      /** Returns the Content-Type header for this body. */
      abstract fun contentType(): MediaType?
    
      /**
       * Returns the number of bytes that will be written to sink in a call to [writeTo],
       * or -1 if that count is unknown.
       */
      @Throws(IOException::class)
      open fun contentLength(): Long = -1L
    
      /** Writes the content of this request to [sink]. */
      @Throws(IOException::class)
      abstract fun writeTo(sink: BufferedSink)
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Oct 07 14:16:29 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  3. internal/crypto/sse-s3.go

    	if k == nil {
    		return nil, Errorf("KMS not configured")
    	}
    
    	if len(metadata) != len(buckets) || len(metadata) != len(objects) {
    		return nil, Errorf("invalid metadata/object count: %d != %d != %d", len(metadata), len(buckets), len(objects))
    	}
    	keys := make([]ObjectKey, 0, len(metadata))
    	for i := range metadata {
    		key, err := s3.UnsealObjectKey(k, metadata[i], buckets[i], objects[i])
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  4. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt

                prepareReportForCiPublishing(tmpTestFiles + reports)
            } else {
                prepareReportForCiPublishing(reports)
            }
        }
    
        // We count the test task containing flaky result as failed
        private
        fun containsFailedTest(testBinaryResultsDir: File): Boolean {
            var containingFailures = false
    
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Nov 05 11:43:49 UTC 2025
    - 12.5K bytes
    - Viewed (1)
  5. src/main/java/org/codelibs/fess/app/service/UserService.java

        @Resource
        protected FessConfig fessConfig;
    
        /**
         * Retrieves a paginated list of users based on the provided pager criteria.
         * Updates the pager with pagination information including total count and page navigation.
         *
         * @param userPager the pager containing search criteria and pagination settings
         * @return a list of users matching the criteria
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Mon Nov 24 02:07:40 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbFileHandleImpl.java

                }
            } catch (Exception e) {
                log.error("Failed to perform emergency file handle cleanup", e);
            }
        }
    
        /**
         * @return a file handle with increased usage count
         */
        public SmbFileHandleImpl acquire() {
            final long usage = this.usageCount.incrementAndGet();
            if (log.isTraceEnabled()) {
                log.trace(String.format("Acquire %s (%d)", this, usage));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.4K bytes
    - Viewed (1)
  7. okhttp/src/jvmTest/kotlin/okhttp3/InterceptorTest.kt

            override fun read(
              sink: Buffer,
              byteCount: Long,
            ): Long {
              val mixedCase = Buffer()
              val count = original.read(mixedCase, byteCount)
              sink.writeUtf8(mixedCase.readUtf8().uppercase())
              return count
            }
          }
        }
      }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 16:11:23 UTC 2025
    - 28.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/io/ByteSource.java

        } finally {
          closer.close();
        }
      }
    
      /** Counts the bytes in the given input stream using skip if possible. */
      private static long countBySkipping(InputStream in) throws IOException {
        long count = 0;
        long skipped;
        while ((skipped = skipUpTo(in, Integer.MAX_VALUE)) > 0) {
          count += skipped;
        }
        return count;
      }
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 08 18:35:13 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/nego/EncryptionNegotiateContextTest.java

                assertEquals(EncryptionNegotiateContext.CIPHER_AES128_GCM, SMBUtil.readInt2(buffer, 4));
            }
    
            @Test
            @DisplayName("Should encode null ciphers as zero count")
            void testEncodeNullCiphers() {
                EncryptionNegotiateContext context = new EncryptionNegotiateContext(mockConfig, null);
    
                int bytesWritten = context.encode(buffer, 0);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerContextTest.java

            // Test decrement below zero
            assertEquals(-1L, crawlerContext.decrementAndGetAccessCount());
            assertEquals(-1L, crawlerContext.getAccessCount());
        }
    
        /**
         * Test concurrent access count operations
         */
        public void test_accessCount_concurrent() throws Exception {
            final int threadCount = 100;
            final int operationsPerThread = 1000;
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 25.6K bytes
    - Viewed (0)
Back to top