Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 24 for lobj (0.04 seconds)

  1. 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: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 10.7K bytes
    - Click Count (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactory.java

            return (T) component;
        }
    
        /**
         * Wraps an object instance into a pooled object.
         *
         * @param obj The object to wrap
         * @return A PooledObject wrapping the given object
         */
        @Override
        public PooledObject<T> wrap(final T obj) {
            return new DefaultPooledObject<>(obj);
        }
    
        /**
         * Destroys a pooled object and notifies the destroy listener if set.
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Mon Nov 24 03:59:47 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/suggest/settings/SuggestSettings.java

         */
        public String getAsString(final String key, final String defaultValue) {
            final Object obj = get(key);
    
            final String value;
            if (obj == null) {
                value = defaultValue;
            } else {
                value = obj.toString();
            }
    
            return value;
        }
    
        /**
         * Retrieves a setting value as an int.
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Mon Nov 24 03:40:05 GMT 2025
    - 20.1K bytes
    - Click Count (0)
  4. tests/test_jsonable_encoder.py

        test_path = PurePath("/foo", "bar")
        obj = ModelWithPath(path=test_path)
        assert jsonable_encoder(obj) == {"path": str(test_path)}
    
    
    def test_encode_model_with_pure_posix_path():
        class ModelWithPath(BaseModel):
            path: PurePosixPath
    
            model_config = {"arbitrary_types_allowed": True}
    
        obj = ModelWithPath(path=PurePosixPath("/foo", "bar"))
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

                    if (first) {
                        first = false;
                    } else {
                        buf.append(',');
                    }
                    buf.append(escapeJson(entry.getKey())).append(':').append(escapeJson(entry.getValue()));
                }
                buf.append('}');
            } else if (obj instanceof Integer || obj instanceof Long || obj instanceof Float || obj instanceof Double) {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 55.4K bytes
    - Click Count (1)
  6. src/cmd/asm/internal/asm/endtoend_test.go

    	top := pList.Firstpc
    	var text *obj.LSym
    	ok = true
    	ctxt.DiagFunc = func(format string, args ...any) {
    		t.Errorf(format, args...)
    		ok = false
    	}
    	obj.Flushplist(ctxt, pList, nil)
    
    	if !ok {
    		// If we've encountered errors, the output is unlikely to be sane.
    		t.FailNow()
    	}
    
    	for p := top; p != nil; p = p.Link {
    		if p.As == obj.ATEXT {
    			text = p.From.Sym
    		}
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Dec 23 18:45:48 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/util/PrunedTag.java

            return Objects.hash(css, id, tag);
        }
    
        @Override
        public boolean equals(final Object obj) {
            if (this == obj) {
                return true;
            }
            if (obj == null || getClass() != obj.getClass()) {
                return false;
            }
            final PrunedTag other = (PrunedTag) obj;
            return StringUtils.compare(tag, other.tag) == 0 //
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Mon Nov 24 04:23:08 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  8. guava/src/com/google/common/base/CaseFormat.java

        protected String doBackward(String s) {
          return targetFormat.to(sourceFormat, s);
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          if (obj instanceof StringConverter) {
            StringConverter that = (StringConverter) obj;
            return sourceFormat.equals(that.sourceFormat) && targetFormat.equals(that.targetFormat);
          }
          return false;
        }
    
        @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Dec 03 18:46:33 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/base/CaseFormat.java

        protected String doBackward(String s) {
          return targetFormat.to(sourceFormat, s);
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          if (obj instanceof StringConverter) {
            StringConverter that = (StringConverter) obj;
            return sourceFormat.equals(that.sourceFormat) && targetFormat.equals(that.targetFormat);
          }
          return false;
        }
    
        @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Dec 03 18:46:33 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

                        final Object obj = source.get(s);
                        if (obj instanceof Date) {
                            return false;
                        }
                        return !validateDateTimeString(source.get(s));
                    }).collect(Collectors.toList()));
        }
    
        default boolean validateDateTimeString(final Object obj) {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sat Dec 13 02:21:17 GMT 2025
    - 88.2K bytes
    - Click Count (0)
Back to Top