Search Options

Results per page
Sort
Preferred Languages
Advance

Results 411 - 420 of 619 for xprintf (0.07 sec)

  1. docs_src/dependencies/tutorial008d_an.py

    from typing_extensions import Annotated
    
    app = FastAPI()
    
    
    class InternalError(Exception):
        pass
    
    
    def get_username():
        try:
            yield "Rick"
        except InternalError:
            print("We don't swallow the internal error here, we raise again 😎")
            raise
    
    
    @app.get("/items/{item_id}")
    def get_item(item_id: str, username: Annotated[str, Depends(get_username)]):
        if item_id == "portal-gun":
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Feb 24 23:06:37 UTC 2024
    - 744 bytes
    - Viewed (0)
  2. src/all.bash

    set -e
    if [ ! -f make.bash ]; then
    	echo 'all.bash must be run from $GOROOT/src' 1>&2
    	exit 1
    fi
    . ./make.bash "$@" --no-banner
    bash run.bash --no-rebuild
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Mar 11 19:53:58 UTC 2024
    - 377 bytes
    - Viewed (0)
  3. compat/maven-embedder/src/test/java/org/apache/maven/cli/transfer/ConsoleMavenTransferListenerTest.java

                    new JLineMessageBuilderFactory(),
                    new PrintWriter(System.out) {
    
                        @Override
                        public void print(Object o) {
    
                            String string = o.toString();
                            int i = string.length() - 1;
                            while (i >= 0) {
                                char c = string.charAt(i);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5K bytes
    - Viewed (0)
  4. cmd/generic-handlers.go

    				tc.ResponseRecorder.LogErrBody = true
    			}
    
    			defer logger.AuditLog(r.Context(), w, r, mustGetClaimsFromToken(r))
    			invalidReq := errorCodes.ToAPIErr(ErrInvalidRequest)
    			invalidReq.Description = fmt.Sprintf("%s (%s)", invalidReq.Description, err)
    			writeErrorResponse(r.Context(), w, invalidReq, r.URL)
    			atomic.AddUint64(&globalHTTPStats.rejectedRequestsInvalid, 1)
    			return
    		}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/util/SearchEngineUtil.java

                builder.flush();
                return builder.getOutputStream();
            } catch (final IOException e) {
                if (logger.isDebugEnabled()) {
                    logger.debug("Failed to print the output.", e);
                }
                return new ByteArrayOutputStream();
            }
        }
    
        public static OutputStream getXContentOutputStream(final ToXContent xContent, final MediaType mediaType) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  6. src/main/resources/fess_indices/fess/ro/stopwords.txt

    nu
    ori
    oricând
    oricare
    oricât
    orice
    oricînd
    oricine
    oricît
    oricum
    oriunde
    până
    pe
    pentru
    peste
    pînă
    poate
    pot
    prea
    prima
    primul
    prin
    printr
    sa
    să
    săi
    sale
    sau
    său
    se
    ÅŸi
    sînt
    sîntem
    sînteţi
    spre
    sub
    sunt
    suntem
    sunteţi
    ta
    tăi
    tale
    tău
    te
    ţi
    ţie
    tine
    toată
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 19 06:31:02 UTC 2018
    - 1.4K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/asm/asm.go

    		next++
    	}
    
    	// Final operand is an immediate constant.
    	addr := p.address(operands[next])
    	if !p.validImmediate("GLOBL", &addr) {
    		return
    	}
    
    	// log.Printf("GLOBL %s %d, $%d", name, flag, size)
    	p.ctxt.GloblPos(nameAddr.Sym, addr.Offset, int(flag), p.pos())
    }
    
    // asmPCData assembles a PCDATA pseudo-op.
    // PCDATA $2, $705
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Oct 21 14:11:44 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  8. schema/schema_helper_test.go

    						var primaryKey, primaryKeySchema string
    						if rf.PrimaryKey != nil {
    							primaryKey, primaryKeySchema = rf.PrimaryKey.Name, rf.PrimaryKey.Schema.Name
    						}
    						refs = append(refs, fmt.Sprintf(
    							"{PrimaryKey: %v PrimaryKeySchame: %v ForeignKey: %v ForeignKeySchema: %v PrimaryValue: %v OwnPrimaryKey: %v}",
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Dec 15 08:31:23 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  9. docs_src/extra_models/tutorial001_py310.py

        return "supersecret" + raw_password
    
    
    def fake_save_user(user_in: UserIn):
        hashed_password = fake_password_hasher(user_in.password)
        user_in_db = UserInDB(**user_in.dict(), hashed_password=hashed_password)
        print("User saved! ..not really")
        return user_in_db
    
    
    @app.post("/user/", response_model=UserOut)
    async def create_user(user_in: UserIn):
        user_saved = fake_save_user(user_in)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jan 07 14:11:31 UTC 2022
    - 899 bytes
    - Viewed (0)
  10. cmd/admin-handlers-idp-config.go

    		return
    	}
    
    	cfg, err := readServerConfig(ctx, objectAPI, nil)
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	cfgKey := fmt.Sprintf("%s:%s", subSys, cfgName)
    	if cfgName == madmin.Default {
    		cfgKey = subSys
    	}
    	if err = cfg.DelKVS(cfgKey); err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 12.7K bytes
    - Viewed (0)
Back to top