Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 1,083 for wirst (1.38 sec)

  1. src/main/java/jcifs/DialectVersion.java

         */
        public boolean atMost(final DialectVersion v) {
            return ordinal() <= v.ordinal();
        }
    
        /**
         * Get the minimum of two dialect versions
         *
         * @param a the first version to compare
         * @param b the second version to compare
         * @return smaller of the two versions
         */
        public static DialectVersion min(final DialectVersion a, final DialectVersion b) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  2. docs/en/docs/advanced/middleware.md

    A middleware doesn't have to be made for FastAPI or Starlette to work, as long as it follows the ASGI spec.
    
    In general, ASGI middlewares are classes that expect to receive an ASGI app as the first argument.
    
    So, in the documentation for third-party ASGI middlewares they will probably tell you to do something like:
    
    ```Python
    from unicorn import UnicornMiddleware
    
    app = SomeASGIApp()
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:59:07 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/util/InputStreamThreadTest.java

            String input = "first\nsecond\nthird";
            InputStream is = new ByteArrayInputStream(input.getBytes(StandardCharsets.UTF_8));
    
            InputStreamThread thread = new InputStreamThread(is, StandardCharsets.UTF_8, 10, null);
            thread.start();
            thread.join(1000);
    
            String output = thread.getOutput();
            assertEquals("first\nsecond\nthird\n", output);
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Serialization.java

       * concurrent maps whose content may change while the method is running.
       *
       * <p>The serialized output consists of the number of entries, first key, first value, second key,
       * second value, and so on.
       */
      static <K extends @Nullable Object, V extends @Nullable Object> void writeMap(
          Map<K, V> map, ObjectOutputStream stream) throws IOException {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

            // Then - Check that counter portion has entropy
            // For SMB3-compliant nonces, the first 8 bytes are a counter (little-endian)
            // so we check that the counter bytes change as expected
            Set<String> uniqueCounters = new HashSet<>();
            for (int i = 0; i < sampleSize; i++) {
                // Extract first 8 bytes as counter
                byte[] counter = new byte[8];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/util/InputValidator.java

                throw new IllegalArgumentException("Share name contains invalid characters: " + share);
            }
        }
    
        /**
         * Validates integer for safe arithmetic operations
         *
         * @param a first operand
         * @param b second operand
         * @param operation the operation name
         * @throws ArithmeticException if operation would overflow
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  7. tests/sql_builder_test.go

    	stmt := newDB.First(&result).Statement
    	str := stmt.SQL.String()
    
    	if !strings.Contains(str, "rgs.id = user.id") {
    		t.Errorf("The second join condition is over written instead of combining")
    	}
    
    	if !strings.Contains(str, "`users`.`company_id` = `companies`.`id`") && !strings.Contains(str, "\"users\".\"company_id\" = \"companies\".\"id\"") {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Jul 21 02:46:58 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/helper/ProcessHelperTest.java

            String sessionId = "test_replace";
            List<String> cmdList1 = Arrays.asList("echo", "first");
            List<String> cmdList2 = Arrays.asList("echo", "second");
            Consumer<ProcessBuilder> pbCall = pb -> {
                pb.redirectErrorStream(true);
            };
    
            try {
                // Start first process
                JobProcess jobProcess1 = processHelper.startProcess(sessionId, cmdList1, pbCall);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  9. tests/prepared_stmt_test.go

    	wg := sync.WaitGroup{}
    	for i := 0; i < 100; i++ {
    		wg.Add(1)
    		go func() {
    			user := User{Name: "jinzhu"}
    			tx.Create(&user)
    
    			var result User
    			tx.First(&result)
    			wg.Done()
    		}()
    	}
    	wg.Wait()
    
    	conn, ok := tx.ConnPool.(*gorm.PreparedStmtDB)
    	AssertEqual(t, ok, true)
    	AssertEqual(t, len(conn.Stmts.Keys()), 2)
    	for _, stmt := range conn.Stmts.Keys() {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Apr 25 08:22:26 UTC 2025
    - 8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java

            assertNotNull(entry2);
            assertEquals(DirectoryCacheScope.IMMEDIATE_CHILDREN, entry1.getScope());
            assertEquals(DirectoryCacheScope.RECURSIVE_TREE, entry2.getScope());
    
            // Update first directory cache
            List<SmbFile> files1 = Arrays.asList(mockFile1);
            directoryLeaseManager.updateDirectoryCache(dir1, files1);
    
            // Update second directory cache
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 14.2K bytes
    - Viewed (0)
Back to top