- Sort Score
- Num 10 results
- Language All
Results 391 - 400 of 804 for lookUp (0.1 seconds)
-
cmd/utils_test.go
res := jsonResult{} if err = json.Unmarshal([]byte(strings.ReplaceAll(jsonReq, "%%", "%")), &res); err != nil { t.Fatal(err) } // Look for expected method. if res.Method != http.MethodGet { t.Fatalf("Unexpected method %s, expected 'GET'", res.Method) } // Look for expected query values expectedQuery := url.Values{} expectedQuery.Set("prefix", "Hello*World*")Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 10.2K bytes - Click Count (0) -
cmd/xl-storage-format_test.go
rng := rand.New(rand.NewSource(0)) dump := make([]byte, len(enc)) b.Run("UpdateObjectVersion", func(b *testing.B) { b.SetBytes(int64(size)) b.ResetTimer() b.ReportAllocs() for b.Loop() { // Load... xl = xlMetaV2{} err := xl.Load(enc) if err != nil { b.Fatal(err) } // Update modtime for resorting... fi.ModTime = fi.ModTime.Add(-time.Second)
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 17.5K bytes - Click Count (0) -
src/main/java/jcifs/smb1/util/MimeMap.java
} /** * Returns the MIME type for the given file extension. * If no mapping is found, returns "application/octet-stream" as the default. * * @param extension the file extension to look up (without the dot) * @return the MIME type for the extension, or "application/octet-stream" if not found * @throws IOException if there is an error processing the MIME mappings */Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 5.1K bytes - Click Count (0) -
internal/bucket/lifecycle/evaluator.go
} // eval will return a lifecycle event for each object in objs for a given time. func (e *Evaluator) eval(objs []ObjectOpts, now time.Time) []Event { events := make([]Event, len(objs)) var newerNoncurrentVersions int loop: for i, obj := range objs { event := e.policy.eval(obj, now, newerNoncurrentVersions) switch event.Action { case DeleteAllVersionsAction, DelMarkerDeleteAllVersionsAction:
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Apr 08 15:41:24 GMT 2025 - 4.6K bytes - Click Count (0) -
docs_src/custom_response/tutorial004_py39.py
app = FastAPI() def generate_html_response(): html_content = """ <html> <head> <title>Some HTML in here</title> </head> <body> <h1>Look ma! HTML!</h1> </body> </html> """ return HTMLResponse(content=html_content, status_code=200) @app.get("/items/", response_class=HTMLResponse) async def read_items():
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 491 bytes - Click Count (0) -
misc/go_android_exec/exitcode_test.go
// We should get a no exit code error if err == nil || !wantErr.MatchString(err.Error()) { t.Errorf("want error matching %s, got %s", wantErr, err) } // And it should flush all output (even if it looks // like we may be getting an exit code) if got := out.String(); text != got { t.Errorf("want full output %q, got %q", text, got) } } wantErr = regexp.MustCompile("^no exit code") check("abc")
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Wed May 03 14:54:58 GMT 2023 - 2.1K bytes - Click Count (0) -
android/guava/src/com/google/common/escape/UnicodeEscaper.java
*/ protected final String escapeSlow(String s, int index) { int end = s.length(); // Get a destination buffer and setup some loop variables. char[] dest = Platform.charBufferFromThreadLocal(); int destIndex = 0; int unescapedChunkStart = 0; while (index < end) { int cp = codePointAt(s, index, end);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Feb 13 15:45:16 GMT 2025 - 13.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/entity/DataStoreParams.java
*/ public void put(final String key, final Object value) { params.put(key, value); } /** * Retrieves a parameter value by key. * * @param key the parameter key to look up * @return the parameter value if found, null otherwise */ public Object get(final String key) { return params.get(key); } /** * Retrieves a parameter value as a String.Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 5.8K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/RecordingConnectionListener.kt
assertThat(e).isInstanceOf(ConnectionEvent.ConnectStart::class.java) } else { eventSequence.forEach loop@{ when (e.closes(it)) { null -> return // no open event true -> return // found open event false -> return@loop // this is not the open event so continue } } Assertions.fail<Any>("event $e without matching start event") }
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri May 30 21:28:20 GMT 2025 - 5.7K bytes - Click Count (0) -
internal/disk/stat_linux.go
if firstTime { bfs, err := blockdevice.NewDefaultFS() if err == nil { devName := "" diskstats, _ := bfs.ProcDiskstats() for _, dstat := range diskstats { // ignore all loop devices if strings.HasPrefix(dstat.DeviceName, "loop") { continue } if dstat.MajorNumber == info.Major && dstat.MinorNumber == info.Minor { devName = dstat.DeviceName break } } if devName != "" {Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 4.8K bytes - Click Count (0)