Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2771 - 2780 of 3,163 for rint (0.12 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HpackTest.kt

      }
    
      private fun newReader(source: Buffer): Hpack.Reader = Hpack.Reader(source, 4096)
    
      private fun byteStream(vararg bytes: Int): Buffer = Buffer().write(intArrayToByteArray(bytes))
    
      private fun checkEntry(
        entry: Header,
        name: String,
        value: String,
        size: Int,
      ) {
        assertThat(entry.name.utf8()).isEqualTo(name)
        assertThat(entry.value.utf8()).isEqualTo(value)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 38.6K bytes
    - Click Count (0)
  2. cmd/erasure-object_test.go

    		Standard: storageclass.StorageClass{
    			Parity: 5,
    		},
    	}
    
    	tests := []struct {
    		parts               []FileInfo
    		errs                []error
    		expectedReadQuorum  int
    		expectedWriteQuorum int
    		storageClassCfg     storageclass.Config
    		expectedError       error
    	}{
    		{parts1, errs1, 12, 12, parts1SC, nil},
    		{parts2, errs2, 14, 14, parts2SC, nil},
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 38.3K bytes
    - Click Count (0)
  3. docs/ru/docs/tutorial/extra-models.md

    ```Python
    user_dict = user_in.model_dump()
    ```
    
    то теперь у нас есть `dict` с данными в переменной `user_dict` (это `dict` вместо объекта Pydantic-модели).
    
    И если мы вызовем:
    
    ```Python
    print(user_dict)
    ```
    
    мы получим Python `dict` с:
    
    ```Python
    {
        'username': 'john',
        'password': 'secret',
        'email': '******@****.***',
        'full_name': None,
    }
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  4. docs/pt/docs/tutorial/extra-models.md

    ```Python
    user_dict = user_in.model_dump()
    ```
    
    agora temos um `dict` com os dados na variável `user_dict` (é um `dict` em vez de um objeto de modelo Pydantic).
    
    E se chamarmos:
    
    ```Python
    print(user_dict)
    ```
    
    teríamos um `dict` Python com:
    
    ```Python
    {
        'username': 'john',
        'password': 'secret',
        'email': '******@****.***',
        'full_name': None,
    }
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 7.1K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/AtomicDoubleTest.java

      /** intValue returns current value. */
      public void testIntValue() {
        AtomicDouble at = new AtomicDouble();
        assertEquals(0, at.intValue());
        for (double x : VALUES) {
          at.set(x);
          assertEquals((int) x, at.intValue());
        }
      }
    
      /** longValue returns current value. */
      public void testLongValue() {
        AtomicDouble at = new AtomicDouble();
        assertEquals(0L, at.longValue());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 7.3K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb1/util/MimeMapTest.java

            @Test
            @DisplayName("Should handle multiple lookups efficiently")
            void testMultipleLookups() throws IOException {
                // Test that multiple lookups work correctly
                for (int i = 0; i < 100; i++) {
                    assertEquals("application/pdf", mimeMap.getMimeType("pdf"));
                    assertEquals("text/html", mimeMap.getMimeType("html"));
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  7. src/test/java/jcifs/util/ResourceManagerTest.java

            resourceManager.registerResource(resource1);
            resourceManager.registerResource(resource2);
    
            assertFalse(resource1.isClosed());
            assertFalse(resource2.isClosed());
    
            int cleaned = resourceManager.forceCleanup();
            assertTrue(cleaned >= 2);
    
            assertTrue(resource1.isClosed());
            assertTrue(resource2.isClosed());
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/helper/CrawlerStatsHelper.java

             */
            public int increment() {
                return count.incrementAndGet();
            }
    
            /**
             * Decrements the reference count for this statistics object.
             *
             * @return the new reference count after decrementing
             */
            public int decrement() {
                return count.decrementAndGet();
            }
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 17.4K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/service/CharMappingService.java

         */
        public List<CharMappingItem> getCharMappingList(final String dictId, final CharMappingPager charMappingPager) {
            return getCharMappingFile(dictId).map(file -> {
                final int pageSize = charMappingPager.getPageSize();
                final PagingList<CharMappingItem> charMappingList =
                        file.selectList((charMappingPager.getCurrentPageNumber() - 1) * pageSize, pageSize);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/service/JobLogService.java

         * Used for cleaning up old log entries.
         *
         * @param days the number of days to look back from the current time
         */
        public void deleteBefore(final int days) {
            final long oneday = 24 * 60 * 60 * 1000L;
            final long targetTime = ComponentUtil.getSystemHelper().getCurrentTimeAsLong() - days * oneday;
            jobLogBhv.queryDelete(cb -> {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 6.6K bytes
    - Click Count (0)
Back to Top