Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for early (0.56 sec)

  1. src/test/java/jcifs/smb/SmbFileOutputStreamTest.java

            // When & Then - test boundary conditions
            // Negative length or offset should not cause issues (len <= 0 returns early)
            assertDoesNotThrow(() -> outputStream.write(data, 0, -1)); // negative length, returns early
            assertDoesNotThrow(() -> outputStream.write(data, 0, 0)); // zero length, returns early
    
            // These should pass through to the underlying implementation
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbTreeConnectionTest.java

        }
    
        @Test
        @DisplayName("ensureDFSResolved returns early for SmbComClose requests")
        void ensureDFSResolved_closeRequest_noop() throws Exception {
            SmbTreeConnection c = spy(newConn());
            SmbResourceLocatorImpl loc = new SmbResourceLocatorImpl(ctx, smbUrl("smb://server/share/"));
    
            // Using a SmbComClose instance triggers early return without DFS/session work
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 13K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SpnegoContextTest.java

            CIFSException ex = assertThrows(CIFSException.class, () -> ctx.initSecContext(new byte[] { firstByte }, 0, 1));
            assertEquals("Invalid token", ex.getMessage());
    
            // Ensure mechContext was not engaged due to early failure
            verify(this.mechContext, never()).initSecContext(any(), anyInt(), anyInt());
        }
    
        @Test
        @DisplayName("initSecContext with null buffer and non-zero len throws NPE")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/FluentFuture.java

        return (FluentFuture<V>) Futures.catchingAsync(this, exceptionType, fallback, executor);
      }
    
      /**
       * Returns a future that delegates to this future but will finish early (via a {@link
       * TimeoutException} wrapped in an {@link ExecutionException}) if the specified timeout expires.
       * If the timeout expires, not only will the output future finish, but also the input future
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/http/NtlmServletTest.java

                ntlmServlet.service(request, response);
    
                // When NtlmSsp.authenticate returns null, the service method returns early
                // without setting session attributes
                verify(session, never()).setAttribute(anyString(), any());
            }
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java

            byte[] body = new byte[2 + 2 + 4];
            // Wrong structure size (e.g., 0)
            SMBUtil.writeInt2(0, body, 0);
            // The rest of the fields are irrelevant since it should fail early
            byte[] packet = buildPacket(header, body, null, null);
    
            assertThrows(SMBProtocolDecodingException.class, () -> resp.decode(packet, 0, false));
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  7. docs/SMB3_IMPLEMENTATION_PLAN.md

       - Create comprehensive test suite
       - Document API changes
    
    3. **Community Engagement**:
       - Announce implementation plan
       - Solicit feedback from users
       - Identify beta testers for early access
    
    ## References
    
    - [MS-SMB2]: Server Message Block (SMB) Protocol Version 2 and 3
    - [MS-SWN]: Service Witness Protocol
    - [MS-SMBD]: SMB2 Remote Direct Memory Access (RDMA) Transport Protocol
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbEnumerationUtilTest.java

            } catch (NoSuchMethodException | IllegalAccessException | InvocationTargetException e) {
                throw new AssertionError(e);
            }
        }
    
        @Nested
        @DisplayName("doShareEnum early validation")
        class DoShareEnumValidation {
    
            static Stream<Arguments> invalidShareEnumCases() {
                return Stream.of(
                        // Missing trailing slash -> should complain about directory ending
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/Futures.java

          Executor executor) {
        return AbstractCatchingFuture.createAsync(input, exceptionType, fallback, executor);
      }
    
      /**
       * Returns a future that delegates to another but will finish early (via a {@link
       * TimeoutException} wrapped in an {@link ExecutionException}) if the specified duration expires.
       *
       * <p>The delegate future is interrupted and cancelled if it times out.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 64.3K bytes
    - Viewed (0)
  10. CHANGELOG/CHANGELOG-1.34.md

    - DRA: When the prioritized list feature was used in a request and the resulting number of allocated devices exceeded the number of allowed devices per claim, the scheduler aborted the attempt to allocate devices early. Previously, it tried to many different combinations, which could take a long time. ([#130593](https://github.com/kubernetes/kubernetes/pull/130593), [@mortent](https://github.com/mortent)) [SIG Apps, Node, Scheduling and Testing]
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Wed Aug 27 10:36:10 UTC 2025
    - 292.8K bytes
    - Viewed (0)
Back to top