Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 401 - 410 of 601 for context_b (0.06 seconds)

  1. fastapi/routing.py

    ) -> Callable[[Any], AbstractAsyncContextManager[Any]]:
        """
        Wrap a generator-based lifespan context into an async context manager.
    
        This is vendored from Starlette to avoid importing private symbols.
        """
        cmgr = contextlib.contextmanager(lifespan_context)
    
        @functools.wraps(cmgr)
        def wrapper(app: Any) -> _AsyncLiftContextManager[Any]:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 193K bytes
    - Click Count (0)
  2. tests/test_modules_same_name_body/test_main.py

                                "type": {"title": "Error Type", "type": "string"},
                                "input": {"title": "Input"},
                                "ctx": {"title": "Context", "type": "object"},
                            },
                        },
                        "HTTPValidationError": {
                            "title": "HTTPValidationError",
                            "type": "object",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 6.2K bytes
    - Click Count (0)
  3. .github/workflows/build-docs.yml

          - langs
        if: ${{ needs.changes.outputs.docs == 'true' }}
        runs-on: ubuntu-latest
        strategy:
          matrix:
            lang: ${{ fromJson(needs.langs.outputs.langs) }}
        steps:
          - name: Dump GitHub context
            env:
              GITHUB_CONTEXT: ${{ toJson(github) }}
            run: echo "$GITHUB_CONTEXT"
          - uses: actions/checkout@v6
          - name: Set up Python
            uses: actions/setup-python@v6
            with:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 14 15:01:34 GMT 2026
    - 3.3K bytes
    - Click Count (0)
  4. cmd/api-errors_test.go

    	{err: nil, errCode: ErrNone},
    	{err: errors.New("Custom error"), errCode: ErrInternalError}, // Case where err type is unknown.
    }
    
    func TestAPIErrCode(t *testing.T) {
    	ctx := t.Context()
    	for i, testCase := range toAPIErrorTests {
    		errCode := toAPIErrorCode(ctx, testCase.err)
    		if errCode != testCase.errCode {
    			t.Errorf("Test %d: Expected error code %d, got %d", i+1, testCase.errCode, errCode)
    		}
    	}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/util/WebApiUtilTest.java

                WebApiUtil.setError(400, "Test error");
                WebApiUtil.validate(); // Should not throw in test environment
            } catch (Exception e) {
                // This is expected behavior when no request context is available
            }
        }
    
        @Test
        public void test_utilityClass_pattern() {
            // Verify utility class design pattern compliance
    
            // 1. Class should be final
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 17.4K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb1/UniAddress.java

        public static String getDomainByName(String name) throws UnknownHostException {
            DirContext context;
            UnknownHostException uhe = null;
    
            try {
                context = new InitialDirContext();
                for ( ;; ) {
                    try {
                        Attributes attributes = context.getAttributes(
                            "dns:/_ldap._tcp.dc._msdcs." + name,
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 17K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticator.java

     * which is commonly used for Kerberos-based authentication in Windows environments.
     * It handles the negotiation between client and server to establish a secure
     * authentication context without requiring users to explicitly enter credentials.
     *
     * The authenticator supports various configuration options including delegation,
     * basic authentication fallback, and localhost authentication bypass.
     */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 08:18:23 GMT 2026
    - 18.2K bytes
    - Click Count (3)
  8. src/main/java/jcifs/http/NetworkExplorer.java

    import jcifs.CIFSContext;
    import jcifs.CIFSException;
    import jcifs.Config;
    import jcifs.DfsReferralData;
    import jcifs.NameServiceClient;
    import jcifs.SmbConstants;
    import jcifs.config.PropertyConfiguration;
    import jcifs.context.BaseContext;
    import jcifs.netbios.NbtAddress;
    import jcifs.smb.DfsReferral;
    import jcifs.smb.NtStatus;
    import jcifs.smb.NtlmPasswordAuthentication;
    import jcifs.smb.SmbAuthException;
    import jcifs.smb.SmbException;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 23.4K bytes
    - Click Count (0)
  9. src/main/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponse.java

        private SecurityDescriptor securityDescriptor;
    
        /**
         * Constructs an NT transaction query security descriptor response.
         * @param config the configuration context for this response
         */
        public NtTransQuerySecurityDescResponse(final Configuration config) {
            super(config);
        }
    
        /**
         * Returns the security descriptor retrieved from the server.
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  10. scripts/translation_fixer.py

        except ValueError as e:
            print(f"Error processing {path}: {e}")
            return False
        return True
    
    
    @cli.command()
    def fix_all(ctx: typer.Context, language: str):
        docs = get_all_paths(language)
    
        all_good = True
        for page in docs:
            doc_path = Path("docs") / language / "docs" / page
            res = process_one_page(doc_path)
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Jan 10 21:48:08 GMT 2026
    - 3.2K bytes
    - Click Count (0)
Back to Top