Search Options

Results per page
Sort
Preferred Languages
Advance

Results 681 - 690 of 2,810 for when (3.38 sec)

  1. build-logic/documentation/src/main/groovy/gradlebuild/docs/FindBadMultiLangSnippets.java

            if (inExample) {
                flagIfReversed(file, errors, currentSnippets);
            }
        }
    
        /**
         * Only flags when the first two detectable snippets in the block are GROOVY then KOTLIN.
         * Ignores blocks with fewer than two detectable snippets.
         */
        private void flagIfReversed(File file, Map<File, List<Error>> errors, List<Snippet> snippets) {
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Fri Aug 29 10:12:17 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponseTest.java

            System.arraycopy(outputBuffer, 0, expectedData, 0, testData.length);
            assertArrayEquals(testData, expectedData);
        }
    
        @Test
        void testReadDataWireFormatExceedsBuffer() {
            // Test when data length exceeds outputBuffer size
            byte[] buffer = new byte[2000];
            int dataLen = outputBuffer.length + 100; // Exceeds outputBuffer size
    
            SMBProtocolDecodingException exception =
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbFileDirectoryLeasingExtension.java

     *
     * This utility class provides static methods that enhance SmbFile operations with
     * directory leasing capabilities for improved performance through caching when
     * SMB3 directory leasing is available and enabled.
     */
    public class SmbFileDirectoryLeasingExtension {
    
        /**
         * Private constructor to prevent instantiation of this utility class
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  4. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/Platform.java

       * for insertions.
       */
      static <K extends @Nullable Object, V extends @Nullable Object>
          Map<K, V> preservesInsertionOrderOnPutsMap() {
        return new LinkedHashMap<>();
      }
    
      /**
       * Returns the platform preferred map implementation that preserves insertion order when used only
       * for insertions, with a hint for how many entries to expect.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Jun 10 15:17:16 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Multisets.java

       * by {@code unfiltered} are supported by the returned multiset. When given an element that
       * doesn't satisfy the predicate, the multiset's {@code add()} and {@code addAll()} methods throw
       * an {@link IllegalArgumentException}. When methods such as {@code removeAll()} and {@code
       * clear()} are called on the filtered multiset, only elements that satisfy the filter will be
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 41.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrCloseHandleTest.java

        void constructorShouldInitializeCorrectly() {
            // Given
            // mockPolicyHandle is already mocked by @Mock and initialized by @BeforeEach
    
            // When
            MsrpcSamrCloseHandle msrpcSamrCloseHandle = new MsrpcSamrCloseHandle(mockPolicyHandle);
    
            // Then
            assertNotNull(msrpcSamrCloseHandle, "MsrpcSamrCloseHandle object should not be null");
            assertEquals(0, msrpcSamrCloseHandle.getPtype(), "ptype should be 0");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/TempFileCreator.java

       */
      @IgnoreJRERequirement // used only when Path is available (and only from tests)
      @VisibleForTesting
      static void testMakingUserPermissionsFromScratch() throws IOException {
        // All we're testing is whether it throws.
        FileAttribute<?> unused = JavaNioCreator.userPermissions().get();
      }
    
      @IgnoreJRERequirement // used only when Path is available
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 29 18:50:14 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/dependencies/dependencies-with-yield.md

    If not specified and the dependency has `yield`, it will have a `scope` of `"request"` by default.
    
    ### `scope` for sub-dependencies { #scope-for-sub-dependencies }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/body-multiple-params.md

    Let's say you only have a single `item` body parameter from a Pydantic model `Item`.
    
    By default, **FastAPI** will then expect its body directly.
    
    But if you want it to expect a JSON with a key `item` and inside of it the model contents, as it does when you declare extra body parameters, you can use the special `Body` parameter `embed`:
    
    ```Python
    item: Item = Body(embed=True)
    ```
    
    as in:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Sep 20 12:58:04 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  10. build-logic/jvm/src/main/kotlin/gradlebuild.unittest-and-compile.gradle.kts

        if (project.rerunAllTests.get()) {
            doNotTrackState("All tests should re-run")
        }
    }
    
    fun Test.determineMaxRetries() = when {
        project.flakyTestStrategy == FlakyTestStrategy.ONLY -> 4
        else -> 2
    }
    
    fun Test.determineMaxFailures() = when {
        project.flakyTestStrategy == FlakyTestStrategy.ONLY -> Integer.MAX_VALUE
        else -> 10
    }
    
    fun configureTests() {
        normalization {
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Fri Dec 19 06:44:41 UTC 2025
    - 18.9K bytes
    - Viewed (0)
Back to top