- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 25 for oidx (0.03 seconds)
-
src/test/java/org/codelibs/fess/app/web/admin/searchlist/AdminSearchlistActionTest.java
// Verify sorted order among the custom fields final int aIdx = extraFieldNames.indexOf("aaa_field"); final int mIdx = extraFieldNames.indexOf("mmm_field"); final int zIdx = extraFieldNames.indexOf("zzz_field"); assertTrue(aIdx < mIdx); assertTrue(mIdx < zIdx); } @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 06:38:39 GMT 2026 - 34.4K bytes - Click Count (0) -
tests/helper_test.go
sort.Slice(expect.Pets, func(i, j int) bool { return expect.Pets[i].ID > expect.Pets[j].ID }) for idx, pet := range user.Pets { if pet == nil || expect.Pets[idx] == nil { t.Errorf("pets#%v should equal, expect: %v, got %v", idx, expect.Pets[idx], pet) } else { doCheckPet(t, *pet, *expect.Pets[idx], unscoped) } } }) t.Run("Toys", func(t *testing.T) {
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Mar 21 11:27:38 GMT 2026 - 8.6K bytes - Click Count (0) -
migrator/migrator.go
if idx.Comment != "" { createTableSQL += fmt.Sprintf(" COMMENT '%s'", idx.Comment) } if idx.Option != "" { createTableSQL += " " + idx.Option } createTableSQL += "," values = append(values, clause.Column{Name: idx.Name}, tx.Migrator().(BuildIndexOptionsInterface).BuildIndexOptions(idx.Fields, stmt)) } }Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Mar 21 11:49:01 GMT 2026 - 29.8K bytes - Click Count (0) -
callbacks.go
return true } return false }) for _, c := range cs { // show warning message the callback name already exists if idx := getRIndex(names, c.name); idx > -1 && !c.replace && !c.remove && !cs[idx].remove { c.processor.db.Logger.Warn(context.Background(), "duplicated callback `%s` from %s\n", c.name, utils.FileWithLineNum()) } names = append(names, c.name) }Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Mar 21 11:26:07 GMT 2026 - 8.8K bytes - Click Count (0) -
.teamcity/scripts/CheckRemoteProjectRef.java
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue Jan 20 03:53:25 GMT 2026 - 3.4K bytes - Click Count (0) -
utils/utils.go
results := make([]string, len(values)) for idx, value := range values { if valuer, ok := value.(driver.Valuer); ok { value, _ = valuer.Value() } switch v := value.(type) { case string: results[idx] = v case []byte: results[idx] = string(v) case uint: results[idx] = strconv.FormatUint(uint64(v), 10) default: results[idx] = "nil" vv := reflect.ValueOf(v)
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Mar 21 11:35:55 GMT 2026 - 4.9K bytes - Click Count (0) -
tests/test_security_openid_connect_optional.py
from fastapi.testclient import TestClient from inline_snapshot import snapshot from pydantic import BaseModel app = FastAPI() oid = OpenIdConnect(openIdConnectUrl="/openid", auto_error=False) class User(BaseModel): username: str def get_current_user(oauth_header: str | None = Security(oid)): if oauth_header is None: return None user = User(username=oauth_header) return user
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 2.6K bytes - Click Count (0) -
tests/test_security_openid_connect.py
from fastapi.testclient import TestClient from inline_snapshot import snapshot from pydantic import BaseModel app = FastAPI() oid = OpenIdConnect(openIdConnectUrl="/openid") class User(BaseModel): username: str def get_current_user(oauth_header: str = Security(oid)): user = User(username=oauth_header) return user @app.get("/users/me")
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 2.5K bytes - Click Count (0) -
tests/test_security_openid_connect_description.py
from inline_snapshot import snapshot from pydantic import BaseModel app = FastAPI() oid = OpenIdConnect( openIdConnectUrl="/openid", description="OpenIdConnect security scheme" ) class User(BaseModel): username: str def get_current_user(oauth_header: str = Security(oid)): user = User(username=oauth_header) return user @app.get("/users/me")
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 2.6K bytes - Click Count (0) -
.teamcity/scripts/CheckWrapper.java
.orElseThrow(() -> new IllegalStateException("distributionUrl not found in " + props)); int idx = distributionUrl.indexOf('='); if (idx < 0) { throw new IllegalStateException("Malformed distributionUrl line: " + distributionUrl); } String url = distributionUrl.substring(idx + 1).trim(); Matcher m = WRAPPER_VERSION_EXTRACT.matcher(url); if (!m.matches()) {
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Tue Jan 20 03:53:25 GMT 2026 - 6.4K bytes - Click Count (0)