Search Options

Results per page
Sort
Preferred Languages
Advance

Results 451 - 460 of 1,112 for appends (0.03 sec)

  1. docs_src/dependency_testing/tutorial001_an_py310.py

    from typing import Annotated
    
    from fastapi import Depends, FastAPI
    from fastapi.testclient import TestClient
    
    app = FastAPI()
    
    
    async def common_parameters(q: str | None = None, skip: int = 0, limit: int = 100):
        return {"q": q, "skip": skip, "limit": limit}
    
    
    @app.get("/items/")
    async def read_items(commons: Annotated[dict, Depends(common_parameters)]):
        return {"message": "Hello Items!", "params": commons}
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  2. cmd/metrics-v3-system-drive.go

    	m.Set(driveAvailabilityErrorsTotal, float64(disk.Metrics.TotalErrorsAvailability), labels...)
    	m.Set(driveWaitingIO, float64(disk.Metrics.TotalWaiting), labels...)
    
    	// Append the api label for the drive API latencies.
    	labels = append(labels, "api", "")
    	lastIdx := len(labels) - 1
    	for apiName, latency := range disk.Metrics.LastMinute {
    		labels[lastIdx] = "storage." + apiName
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/util/DocumentUtil.java

            for (final char c : url.toCharArray()) {
                if (CharUtil.isUrlChar(c)) {
                    buf.append(c);
                } else {
                    try {
                        buf.append(URLEncoder.encode(String.valueOf(c), enc));
                    } catch (final UnsupportedEncodingException e) {
                        buf.append(c);
                    }
                }
            }
            return buf.toString();
        }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  4. cmd/main.go

    		// go:build tags)
    		if command.Name == "" {
    			return
    		}
    		commands = append(commands, command)
    		commandsTree.Insert(command.Name)
    	}
    
    	findClosestCommands := func(command string) []string {
    		var closestCommands []string
    		closestCommands = append(closestCommands, commandsTree.PrefixMatch(command)...)
    
    		sort.Strings(closestCommands)
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Jul 30 22:59:48 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  5. src/main/webapp/js/admin/adminlte.min.js

    mage).attr("alt",this._config.imageAlt);null!=this._config.imageHeight&&a.height(this._config.imageHeight).width("auto"),t.append(a)}if(null!=this._config.icon&&t.append(n.default("<i />").addClass("mr-2").addClass(this._config.icon)),null!=this._config.title&&t.append(n.default("<strong />").addClass("mr-auto").html(this._config.title)),null!=this._config.subtitle&&t.append(n.default("<small />").html(this._config.subtitle)),1==this._config.close){var i=n.default('<button data-dismiss="toast" /...
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 45.3K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/RobotsTxt.java

                final StringBuilder regex = new StringBuilder();
                regex.append("^"); // Match from the start
    
                for (int i = 0; i < pattern.length(); i++) {
                    final char c = pattern.charAt(i);
                    if (c == '*') {
                        // Wildcard: matches any sequence of characters
                        regex.append(".*");
                    } else if (c == '$') {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  7. internal/bucket/replication/replication.go

    		if obj.OpType == ResyncReplicationType || obj.OpType == AllReplicationType {
    			rules = append(rules, rule)
    			continue
    		}
    		if obj.ExistingObject && rule.ExistingObjectReplication.Status == Disabled {
    			continue
    		}
    		if !strings.HasPrefix(obj.Name, rule.Prefix()) {
    			continue
    		}
    		if rule.Filter.TestTags(obj.UserTags) {
    			rules = append(rules, rule)
    		}
    	}
    	sort.Slice(rules, func(i, j int) bool {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  8. tests/test_dependency_after_yield_websockets.py

            yield s
    
    
    def broken_dep_session() -> Any:
        with acquire_session() as s:
            s.open = False
            yield s
    
    
    SessionDep = Annotated[Session, Depends(dep_session)]
    BrokenSessionDep = Annotated[Session, Depends(broken_dep_session)]
    
    app = FastAPI()
    
    
    @app.websocket("/ws")
    async def websocket_endpoint(websocket: WebSocket, session: SessionDep):
        await websocket.accept()
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 2K bytes
    - Viewed (0)
  9. cmd/background-newdisks-heal-ops.go

    	h.ResumeBytesDone = h.BytesDone
    	h.ResumeBytesFailed = h.BytesFailed
    	h.ResumeBytesSkipped = h.BytesSkipped
    	h.HealedBuckets = append(h.HealedBuckets, bucket)
    	for i, b := range h.QueuedBuckets {
    		if b == bucket {
    			// Delete...
    			h.QueuedBuckets = append(h.QueuedBuckets[:i], h.QueuedBuckets[i+1:]...)
    		}
    	}
    }
    
    // setQueuedBuckets will add buckets, but exclude any that is already in h.HealedBuckets.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/beans/impl/PropertyDescImpl.java

            buf.append("propertyName=")
                    .append(propertyName)
                    .append(",propertyType=")
                    .append(propertyType.getName())
                    .append(",readMethod=")
                    .append(readMethod != null ? readMethod.getName() : "null")
                    .append(",writeMethod=")
                    .append(writeMethod != null ? writeMethod.getName() : "null");
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 24 01:52:43 UTC 2025
    - 15.1K bytes
    - Viewed (0)
Back to top