Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for Stub (0.02 sec)

  1. impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/ProjectDependencyGraphStubTest.java

        @Test
        void testADependencies() {
            final List<MavenProject> mavenProjects = stub.getUpstreamProjects(ProjectDependencyGraphStub.A, false);
            assertEquals(0, mavenProjects.size());
        }
    
        @Test
        void testBDependencies() {
            final List<MavenProject> bProjects = stub.getUpstreamProjects(ProjectDependencyGraphStub.B, false);
            assertEquals(1, bProjects.size());
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java

                    if (off + stub_frag_len > stub.length) {
                        // shouldn't happen if alloc_hint is correct or greater
                        final byte[] tmp = new byte[off + stub_frag_len];
                        System.arraycopy(stub, 0, tmp, 0, off);
                        stub = tmp;
                    }
    
                    System.arraycopy(frag, 24, stub, off, stub_frag_len);
                    off += stub_frag_len;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  3. docs/smb3-features/06-witness-protocol-design.md

            }
        }
        
        public WitnessRegisterResponse register(WitnessRegisterRequest request) throws IOException {
            try {
                WitnessRegisterStub stub = new WitnessRegisterStub(request);
                handle.sendrecv(stub);
                return stub.getResponse();
            } catch (Exception e) {
                throw new IOException("Witness register RPC failed", e);
            }
        }
        
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 42K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbTreeHandleInternalTest.java

        @DisplayName("hasCapability(cap): returns configured value and captures argument across edge caps")
        void hasCapability_variousCaps_returnsTrue_andCapturesArgument(int cap) throws Exception {
            // Arrange: stub to return true regardless of input
            when(handle.hasCapability(anyInt())).thenReturn(true);
    
            // Act
            boolean result = handle.hasCapability(cap);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  5. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/AbstractContextAwareRuleSpecification.groovy

            }
    
            void putUserData(String key, Object value) {
                userData[key] = value
            }
        }
    
        ClassPool instanceScopedPool = new ClassPool()
    
        JApiClass apiClass = Stub(JApiClass)
    
        def setup() {
            instanceScopedPool.appendSystemPath()
        }
    
        void noViolation(def rule) {
            assert rule.maybeViolation(apiClass) == null
        }
    
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue Dec 30 10:14:25 UTC 2025
    - 2K bytes
    - Viewed (0)
  6. fastapi/security/open_id_connect_url.py

    
    class OpenIdConnect(SecurityBase):
        """
        OpenID Connect authentication class. An instance of it would be used as a
        dependency.
    
        **Warning**: this is only a stub to connect the components with OpenAPI in FastAPI,
        but it doesn't implement the full OpenIdConnect scheme, for example, it doesn't use
        the OpenIDConnect URL. You would need to to subclass it and implement it in your
        code.
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectBuilderRequest.java

         */
        @Nonnull
        Optional<Source> getSource();
    
        /**
         * Determines whether a stub model should be allowed when the POM is missing or unreadable.
         * A stub model contains only minimal information derived from the project's coordinates.
         *
         * @return true if a stub model should be allowed, false otherwise
         */
        boolean isAllowStubModel();
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 10 07:30:49 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXTest.java

     * contains several protected helper methods and a complex constructor
     * that branches on credential type.  These tests use reflection to call
     * protected methods and Mockito to stub collaborators.
     */
    @ExtendWith(MockitoExtension.class)
    @MockitoSettings(strictness = Strictness.LENIENT)
    public class SmbComSessionSetupAndXTest {
    
        @Mock
        private CIFSContext mockContext;
        @Mock
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ForwardingImmutableList.java

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import com.google.common.annotations.GwtCompatible;
    
    /**
     * Unused stub class, unreferenced under Java and manually emulated under GWT.
     *
     * @author Chris Povirk
     */
    @GwtCompatible
    abstract class ForwardingImmutableList<E> {
      private ForwardingImmutableList() {}
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 905 bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java

    /**
     * JUnit 5 tests for AndXServerMessageBlock in legacy smb1 package.
     *
     * The tests use small stub subclasses to drive encode/decode paths and
     * validate batching, chaining, signing, and NT_CREATE_ANDX extended handling.
     */
    class AndXServerMessageBlockTest {
    
        /**
         * Test stub for AndXServerMessageBlock to control read/write logic.
         */
        static class DummyAndXBlock extends AndXServerMessageBlock {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
Back to top