- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 334 for Obj (0.01 seconds)
-
fastapi/encoders.py
) if isinstance(obj, Enum): return obj.value if isinstance(obj, PurePath): return str(obj) if isinstance(obj, (str, int, float, type(None))): return obj if isinstance(obj, PydanticUndefinedType): return None if isinstance(obj, dict): encoded_dict = {} allowed_keys = set(obj.keys()) if include is not None:Created: 2025-12-28 07:19 - Last Modified: 2025-12-27 12:54 - 10.7K bytes - Click Count (0) -
src/cmd/asm/internal/arch/arch.go
Created: 2025-12-30 11:13 - Last Modified: 2025-11-13 12:17 - 21.7K bytes - Click Count (0) -
src/cmd/asm/internal/arch/arm.go
// in the usual way by the opcode itself. Asm must use AMRC for both instructions, so // we return the opcode for MRC so that asm doesn't need to import obj/arm. func ARMMRCOffset(op obj.As, cond string, x0, x1, x2, x3, x4, x5 int64) (offset int64, op0 obj.As, ok bool) { op1 := int64(0) if op == arm.AMRC { op1 = 1 } bits, ok := ParseARMCondition(cond) if !ok { return }
Created: 2025-12-30 11:13 - Last Modified: 2024-10-23 15:18 - 6.1K bytes - Click Count (0) -
src/cmd/asm/internal/asm/asm.go
} switch { case target.Type == obj.TYPE_BRANCH: // JMP 4(PC) *targetAddr = obj.Addr{ Type: obj.TYPE_BRANCH, Offset: p.pc + 1 + target.Offset, // +1 because p.pc is incremented in append, below. } case target.Type == obj.TYPE_REG: // JMP R1 *targetAddr = *target case target.Type == obj.TYPE_MEM && (target.Name == obj.NAME_EXTERN || target.Name == obj.NAME_STATIC): // JMP main·morestack(SB)Created: 2025-12-30 11:13 - Last Modified: 2025-10-21 15:13 - 26.7K bytes - Click Count (0) -
src/main/java/org/codelibs/core/lang/ObjectUtil.java
* * @param obj the object * @return the hash code or 0 */ public static int hashCode(final Object obj) { return obj == null ? 0 : obj.hashCode(); } /** * Returns the string representation of the specified object, or null if the object is null. * * @param obj the object * @return the string representation or null */Created: 2025-12-20 08:55 - Last Modified: 2025-07-31 08:16 - 3K bytes - Click Count (0) -
src/cmd/api/main_test.go
} case *types.Var: if w.isDeprecated(obj) { w.emitf("var %s //deprecated", obj.Name()) } w.emitf("var %s %s", obj.Name(), w.typeString(obj.Type())) case *types.TypeName: w.emitType(obj) case *types.Func: w.emitFunc(obj) default: panic("unknown object: " + obj.String()) } } func (w *Walker) emitType(obj *types.TypeName) { name := obj.Name()
Created: 2025-12-30 11:13 - Last Modified: 2025-02-20 03:25 - 31.4K bytes - Click Count (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/XmlTransformerTest.java
accessResultDataImpl.setEncoding(Constants.UTF_8); accessResultDataImpl.setTransformerName("xmlMapTransformer"); final Object obj = xmlMapTransformer.getData(accessResultDataImpl); assertTrue(obj instanceof Map); final Map<String, String> map = (Map) obj; assertEquals("タイトル", map.get("title")); assertEquals("第一章 第一節 ほげほげふがふが LINK 第2章 第2節", map.get("body"));
Created: 2025-12-20 11:21 - Last Modified: 2025-03-15 06:52 - 13.5K bytes - Click Count (0) -
cmd/server-startup-msg_test.go
func TestPrintServerCommonMessage(t *testing.T) { ctx, cancel := context.WithCancel(t.Context()) defer cancel() obj, fsDir, err := prepareFS(ctx) if err != nil { t.Fatal(err) } defer os.RemoveAll(fsDir) if err = newTestConfig(globalMinioDefaultRegion, obj); err != nil { t.Fatal(err) } apiEndpoints := []string{"http://127.0.0.1:9000"} printServerCommonMsg(apiEndpoints) }
Created: 2025-12-28 19:28 - Last Modified: 2025-04-09 14:28 - 3K bytes - Click Count (0) -
internal/bucket/lifecycle/evaluator.go
func (e *Evaluator) IsObjectLocked(obj ObjectOpts) bool { if e.lockRetention == nil || !e.lockRetention.LockEnabled { return false } if obj.DeleteMarker { return false } lhold := objlock.GetObjectLegalHoldMeta(obj.UserDefined) if lhold.Status.Valid() && lhold.Status == objlock.LegalHoldOn { return true } ret := objlock.GetObjectRetentionMeta(obj.UserDefined)
Created: 2025-12-28 19:28 - Last Modified: 2025-04-08 15:41 - 4.6K bytes - Click Count (0) -
internal/bucket/lifecycle/delmarker-expiration.go
} // NextDue returns upcoming DelMarkerExpiration date for obj if // applicable, returns false otherwise. func (de DelMarkerExpiration) NextDue(obj ObjectOpts) (time.Time, bool) { if !obj.IsLatest || !obj.DeleteMarker { return time.Time{}, false } return ExpectedExpiryTime(obj.ModTime, de.Days), true
Created: 2025-12-28 19:28 - Last Modified: 2024-05-01 01:11 - 2.3K bytes - Click Count (0)