Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1171 - 1180 of 1,593 for efter (0.02 seconds)

  1. android/guava-testlib/src/com/google/common/testing/GcFinalization.java

       * from GC, as with {@link #awaitClear}. Because there are no guarantees for the order of GC
       * finalization processing, there may still be some unfinished work for the GC to do after this
       * method returns.
       *
       * <p>This method does not create any memory pressure as would be required to cause soft
       * references to be processed.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 20:19:19 GMT 2026
    - 12.3K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

        checkMessage(expected, "LockB -> LockA", "LockA -> LockB");
        // The causal chain should be cached.
        assertThat(expected.getCause()).isEqualTo(firstException.getCause());
        // lockA should work after lockB is released.
        lockB.unlock();
        lockA.lock();
      }
    
      // Tests transitive deadlock detection.
      public void testDeadlock_threeLocks() {
        // Establish an ordering from lockA -> lockB.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 16.3K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

        checkMessage(expected, "LockB -> LockA", "LockA -> LockB");
        // The causal chain should be cached.
        assertThat(expected.getCause()).isEqualTo(firstException.getCause());
        // lockA should work after lockB is released.
        lockB.unlock();
        lockA.lock();
      }
    
      // Tests transitive deadlock detection.
      public void testDeadlock_threeLocks() {
        // Establish an ordering from lockA -> lockB.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 16.3K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/TopKSelector.java

      }
    
      /**
       * Adds each member of {@code elements} as a candidate for the top {@code k} elements. This
       * operation takes amortized linear time in the length of {@code elements}. The iterator is
       * consumed after this operation completes.
       *
       * <p>If all input data to this {@code TopKSelector} is in a single {@code Iterator}, prefer
       * {@link Ordering#leastOf(Iterator, int)}, which provides a simpler API for that use case.
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Aug 31 13:15:26 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/smb1/net/NetShareEnumTest.java

            assertEquals('W', asciiBytes[10]);
            assertEquals('z', asciiBytes[11]);
            assertEquals(0, asciiBytes[12]); // null character
        }
    
        @Test
        @DisplayName("Test field values after construction")
        void testFieldValuesAfterConstruction() {
            netShareEnum = new NetShareEnum(realConfig);
    
            // Test all important fields
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponseTest.java

            for (int i = 7; i < 35; i++) {
                buffer[bufferIndex + i] = 0x00;
            }
            buffer[bufferIndex + 35] = 0x00;
            buffer[bufferIndex + 36] = reservedValue; // Reserved byte after setupCount
    
            int bytesRead = response.readParameterWordsWireFormat(buffer, bufferIndex);
    
            // Should still read 37 bytes regardless of reserved byte values
            assertEquals(37, bytesRead);
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 16.3K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb/SIDCacheImplTest.java

                }
                return null;
            }).when(cache).resolveSids0(any(), any(), any());
    
            cache.resolveSids(ctx, null, arr, 2, 1); // resolve only s3
    
            // Verify cache behavior - after reset, spying on the same cache won't work
            // Since we're working with internal state, we'll verify the side effects
            assertEquals("DOM", s1.getDomainName());
            assertEquals("user1", s1.getAccountName());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14K bytes
    - Click Count (0)
  8. docs/zh-hant/docs/tutorial/security/first-steps.md

    現在回頭理解剛剛那些是什麼。
    
    在 OAuth2 中,`password` 是處理安全與身分驗證的其中一種「流程」(flow)。
    
    OAuth2 的設計讓後端或 API 可以獨立於執行使用者驗證的伺服器。
    
    但在這個例子中,同一個 FastAPI 應用會同時處理 API 與驗證。
    
    簡化來看流程如下:
    
    - 使用者在前端輸入 `username` 與 `password`,按下 `Enter`。
    - 前端(在使用者的瀏覽器中執行)把 `username` 與 `password` 傳到我們 API 的特定 URL(在程式中宣告為 `tokenUrl="token"`)。
    - API 檢查 `username` 與 `password`,並回傳一個「token(權杖)」(我們還沒實作這部分)。
        - 「token(權杖)」就是一段字串,之後可用來識別並驗證此使用者。
        - 通常 token 會設定一段時間後失效。
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  9. docs/zh/docs/tutorial/security/first-steps.md

    现在回过头来理解这些内容。
    
    `password` “流”(flow)是 OAuth2 定义的处理安全与身份验证的一种方式。
    
    OAuth2 的设计目标是让后端或 API 与负责用户认证的服务器解耦。
    
    但在这个例子中,**FastAPI** 应用同时处理 API 和认证。
    
    从这个简化的角度来看看流程:
    
    * 用户在前端输入 `username` 和 `password`,然后按下 `Enter`。
    * 前端(运行在用户浏览器中)把 `username` 和 `password` 发送到我们 API 中的特定 URL(使用 `tokenUrl="token"` 声明)。
    * API 校验 `username` 和 `password`,并返回一个“令牌”(这些我们尚未实现)。
        * “令牌”只是一个字符串,包含一些内容,之后可用来验证该用户。
        * 通常,令牌会在一段时间后过期。
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 7.5K bytes
    - Click Count (0)
  10. cmd/sftp-server-driver.go

    			minio.PutObjectOptions{DisableContentSha256: true},
    		)
    		return err
    	}
    
    	return NotImplemented{}
    }
    
    type listerAt []os.FileInfo
    
    // Modeled after strings.Reader's ReadAt() implementation
    func (f listerAt) ListAt(ls []os.FileInfo, offset int64) (int, error) {
    	var n int
    	if offset >= int64(len(f)) {
    		return 0, io.EOF
    	}
    	n = copy(ls, f[offset:])
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Feb 10 16:35:49 GMT 2025
    - 11.6K bytes
    - Click Count (0)
Back to Top