Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 1,126 for diferente (0.04 sec)

  1. src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java

                assertEquals("Expected structureSize = 24", exception.getMessage());
            }
    
            @ParameterizedTest
            @DisplayName("Should read different oplock levels correctly")
            @ValueSource(bytes = { 0x00, 0x01, 0x02, 0x08, (byte) 0xFF })
            void testReadDifferentOplockLevels(byte oplockLevel) throws Exception {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java

       * because underutilization = free resources for the taking. If we are primarily interested to
       * deal with overflow, then stored permits could be given out /slower/ than fresh ones. Thus, we
       * require a (different in each case) function that translates storedPermits to throttling time.
       *
       * This role is played by storedPermitsToWaitTime(double storedPermits, double permitsToTake). The
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/SmbTreeTest.java

            // Test equal trees (same share and service)
            assertEquals(tree1, tree2);
    
            // Test non-equal trees (different share)
            assertNotEquals(tree1, tree3);
    
            // Test non-equal trees (different service)
            assertNotEquals(tree1, tree4);
    
            // Test with different object type
            assertNotEquals(tree1, new Object());
    
            // Test with null
            assertNotEquals(tree1, null);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/StaticJAASConfigurationTest.java

            // Assert
            assertNotSame(a1, a2, "Arrays should be different instances");
            assertEquals(1, a1.length);
            assertEquals(1, a2.length);
    
            AppConfigurationEntry e1 = a1[0];
            AppConfigurationEntry e2 = a2[0];
    
            assertNotSame(e1, e2, "Entries should be different instances");
            assertEquals(EXPECTED_LOGIN_MODULE, e1.getLoginModuleName());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  5. docs/ru/docs/advanced/async-tests.md

    /// tip | Подсказка
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  6. docs/zh/docs/advanced/async-tests.md

    由于测试函数现在是异步的,因此除了在测试中向 FastAPI 应用程序发送请求之外,您现在还可以调用(和使用 `await` 等待)其他 `async` 异步函数,就和您在代码中的其他任何地方调用它们的方法一样。
    
    /// tip
    
    如果您在测试程序中集成异步函数调用的时候遇到一个 `RuntimeError: Task attached to a different loop` 的报错(例如,使用 <a href="https://stackoverflow.com/questions/41584243/runtimeerror-task-attached-to-a-different-loop" class="external-link" target="_blank">MongoDB 的 MotorClient</a> 时),请记住,只能在异步函数中实例化需要事件循环的对象,例如通过 `'@app.on_event("startup")` 回调函数进行初始化。
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 17 21:49:06 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  7. internal/mcontext/ctxt.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package mcontext
    
    // Share a common context information between different
    // packages in github.com/minio/minio
    
    import (
    	xhttp "github.com/minio/minio/internal/http"
    )
    
    // ContextTraceType represents the type of golang Context key
    type ContextTraceType string
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Dec 06 17:27:26 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/util/CrawlingParameterUtilTest.java

            assertEquals("main-thread", CrawlingParameterUtil.getUrlQueue().getSessionId());
            assertEquals("main-context", CrawlingParameterUtil.getCrawlerContext().getSessionId());
    
            // Test in a different thread
            final CountDownLatch latch = new CountDownLatch(1);
            final AtomicReference<String> otherThreadUrlQueueSessionId = new AtomicReference<>();
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/interval/impl/HostIntervalControllerTest.java

            long elapsed = (System.nanoTime() - time) / 1000000;
            long wait = waittime * (numTasks - 1);
            assertTrue(elapsed + " >= " + wait, elapsed + 1L >= wait);
        }
    
        /**
         * Test that different hosts can be accessed concurrently without delay
         */
        public void test_multipleHosts_concurrent() {
            final int numTasks = 10;
            final Long waittime = 100L;
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java

            // When
            int bytesRead = request.readBytesWireFormat(buffer, offset);
    
            // Then
            assertEquals(0, bytesRead);
        }
    
        @DisplayName("Should handle different completion filter combinations")
        @ParameterizedTest
        @CsvSource({ "1, FILE_NOTIFY_CHANGE_FILE_NAME", "2, FILE_NOTIFY_CHANGE_DIR_NAME", "4, FILE_NOTIFY_CHANGE_ATTRIBUTES",
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
Back to top