Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 95 for stubs (0.07 seconds)

  1. fastapi/security/http.py

            return HTTPAuthorizationCredentials(scheme=scheme, credentials=credentials)
    
    
    class HTTPDigest(HTTPBase):
        """
        HTTP Digest authentication.
    
        **Warning**: this is only a stub to connect the components with OpenAPI in FastAPI,
        but it doesn't implement the full Digest scheme, you would need to to subclass it
        and implement it in your code.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 13.2K bytes
    - Click Count (0)
  2. src/test/java/jcifs/netbios/NameQueryResponseTest.java

        private NameQueryResponse nameQueryResponse;
    
        @BeforeEach
        void setUp() {
            // Mock the OEM encoding configuration with lenient stubbing
            // since not all tests need this stub
            lenient().when(mockConfig.getOemEncoding()).thenReturn("UTF-8");
    
            // Initialize NameQueryResponse before each test
            nameQueryResponse = new NameQueryResponse(mockConfig);
        }
    
        @Test
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.4K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb/SmbTreeHandleImplTest.java

            @SuppressWarnings("unchecked")
            Request<CommonServerMessageBlockResponse> req = mock(Request.class);
            CommonServerMessageBlockResponse resp = mock(CommonServerMessageBlockResponse.class);
    
            // Stub tree send for varargs
            when(treeConnection.send(eq(resourceLoc), any(CommonServerMessageBlockRequest.class), isNull(), any(RequestParam[].class)))
                    .thenReturn(resp);
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.4K bytes
    - Click Count (0)
  4. impl/maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorTest.java

        private MavenSession newMavenSession() throws Exception {
            return createMavenSession(null);
        }
    
        @Override
        protected String getProjectsDirectory() {
            // TODO Auto-generated method stub
            return null;
        }
    
        public static class Mojo {
            URI uri;
            Path path;
            String uriString;
            String uriAsciiString;
            String pathString;
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Mar 26 19:31:34 GMT 2025
    - 19.4K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb/SIDCacheImplTest.java

            // Prepare input SIDs
            SID s1 = sid("S-1-5-21-1-2-3-1001");
            SID s2 = sid("S-1-5-21-1-2-3-1002");
            jcifs.SID[] in = new jcifs.SID[] { s1, s2 };
    
            // Stub sendrecv to emulate successful RPC response
            doAnswer(inv -> {
                // Capture the outgoing RPC and populate result fields as the server would
                Object msg = inv.getArgument(0);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb/SmbRandomAccessFileTest.java

        @Test
        @DisplayName("read(): returns -1 when underlying read reports EOF")
        void read_returnsMinusOne_onEOF() throws Exception {
            SmbRandomAccessFile raf = spy(newInstance("r", false, false, false));
            // Stub the 3-arg read to signal EOF
            doReturn(-1).when(raf).read(any(byte[].class), anyInt(), eq(1));
            assertEquals(-1, raf.read());
        }
    
        @Test
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.1K bytes
    - Click Count (0)
  7. guava-testlib/src/com/google/common/testing/NullPointerTester.java

       * that {@link NullPointerTester} may misbehave under Android when used on classes that rely on
       * type-use annotations.
       *
       * <p>Under j2objc, the necessary APIs exist, but some (perhaps all) return stub values, like
       * empty arrays. Presumably {@link NullPointerTester} could likewise misbehave under j2objc, but I
       * don't know that anyone uses it there, anyway.
       */
      private enum NullnessAnnotationReader {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 25.4K bytes
    - Click Count (0)
  8. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

       * that {@link NullPointerTester} may misbehave under Android when used on classes that rely on
       * type-use annotations.
       *
       * <p>Under j2objc, the necessary APIs exist, but some (perhaps all) return stub values, like
       * empty arrays. Presumably {@link NullPointerTester} could likewise misbehave under j2objc, but I
       * don't know that anyone uses it there, anyway.
       */
      private enum NullnessAnnotationReader {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 24.9K bytes
    - Click Count (0)
  9. src/cmd/asm/internal/asm/testdata/arm64.s

    	ADDSW	R19.UXTW, R14, R17              // d141332b
    	ADDS	R12.SXTX, R3, R1                // 61e02cab
    	SUB	R19.UXTH<<4, R2, R21            // 553033cb
    	SUBW	R1.UXTX<<1, R3, R2              // 6264214b
    	SUBS	R3.UXTX, R8, R9                 // 096123eb
    	SUBSW	R17.UXTH, R15, R21              // f521316b
    	SUBW	ZR<<14, R19, R13                // 6d3a1f4b
    	CMP	R2.SXTH, R13                    // bfa122eb
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Mon Nov 10 17:34:13 GMT 2025
    - 96.1K bytes
    - Click Count (0)
  10. lib/fips140/v1.0.0-c2097c7c.zip

    acc5, acc1, acc1 ADCS acc6, acc2, acc2 ADCS acc7, acc3, acc3 ADC $0, ZR, acc4 SUBS const0, acc0, t0 SBCS const1, acc1, t1 SBCS const2, acc2, t2 SBCS const3, acc3, t3 SBCS $0, acc4, acc4 CSEL CS, t0, acc0, acc0 CSEL CS, t1, acc1, acc1 CSEL CS, t2, acc2, acc2 CSEL CS, t3, acc3, acc3 MOVD res+0(FP), res_ptr STP (acc0, acc1), 0*16(res_ptr) STP (acc2, acc3), 1*16(res_ptr) RET /* ---------- TEXT p256SubInternal<>(SB),NOSPLIT,$0 SUBS x0, y0, acc0 SBCS x1, y1, acc1 SBCS x2, y2, acc2 SBCS x3, y3, acc3 SBC $0,...
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu Sep 25 19:53:19 GMT 2025
    - 642.7K bytes
    - Click Count (0)
Back to Top