- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 87 for getattr (0.05 seconds)
-
src/main/java/org/codelibs/fess/util/PrunedTag.java
* Sets a custom attribute name-value pair that this pruned tag should match. * * @param name the attribute name to match * @param value the attribute value to match */ public void setAttr(final String name, final String value) { attrName = name; attrValue = value; } @Override public String toString() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Mon Nov 24 04:23:08 GMT 2025 - 7.1K bytes - Click Count (0) -
tests/test_sse.py
def slow_sync_stream(): yield {"n": 1} time.sleep(0.3) yield {"n": 2} def test_keepalive_ping_async(monkeypatch: pytest.MonkeyPatch): monkeypatch.setattr(fastapi.routing, "_PING_INTERVAL", 0.05) with TestClient(keepalive_app) as c: response = c.get("/slow-async") assert response.status_code == 200 text = response.text
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 01 09:21:52 GMT 2026 - 9.8K bytes - Click Count (0) -
tensorflow/api_template_v1.__init__.py
import tensorflow_io_gcs_filesystem as _tensorflow_io_gcs_filesystem # Lazy-load Keras v1. _tf_uses_legacy_keras = ( _os.environ.get("TF_USE_LEGACY_KERAS", None) in ("true", "True", "1")) setattr(_current_module, "keras", _KerasLazyLoader(globals(), mode="v1")) _module_dir = _module_util.get_parent_dir_for_name("keras._tf_keras.keras") _current_module.__path__ = [_module_dir] + _current_module.__path__Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Wed Oct 02 22:16:02 GMT 2024 - 7.5K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LayeredOptions.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Feb 26 17:31:44 GMT 2025 - 5.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/crawler/interval/FessIntervalControllerTest.java
*/ @Test public void test_constructor() { FessIntervalController controller = new FessIntervalController(); assertNotNull(controller); } /** * Test getter and setter for delayMillisAfterProcessing */ @Test public void test_delayMillisAfterProcessing() { FessIntervalController controller = new FessIntervalController();Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 6.2K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/MetadataGraph.java
} MetadataGraphNode node = new MetadataGraphNode(md); addNode(node); return node; } /** * getter */ public MetadataGraphNode getEntry() { return entry; } /** * getter */ public Collection<MetadataGraphNode> getNodes() { return nodes; }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/entity/PingResponseTest.java
// These tests verify the PingResponse class structure is correct assertTrue(true); } @Test public void test_getClusterName_returnsCorrectValue() { // Test cluster name getter exists FessConfig mockConfig = new FessConfig.SimpleImpl() { private static final long serialVersionUID = 1L; @Override public Set<String> getApiPingEsFieldSet() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 7.7K bytes - Click Count (0) -
src/main/java/org/codelibs/core/beans/PropertyDesc.java
* @return the property type */ <T> Class<T> getPropertyType(); /** * Returns the getter method. * * @return the getter method */ Method getReadMethod(); /** * Returns whether the property has a getter method. * * @return whether the property has a getter method */ boolean hasReadMethod(); /** * Returns the setter method. *Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 4.3K bytes - Click Count (0) -
src/test/java/jcifs/smb/FileEntryTest.java
} @ParameterizedTest(name = "Int getter {2} returns {1}") @MethodSource("intGetterProvider") void intGetters_edgeCases(IntGetter getter, int value, String label) { // Arrange FileEntry e = new TestFileEntry("n", value, value, 0L, 0L, 0L, 0L, value); // Act int actual = getter.apply(e); // Assert assertEquals(value, actual, label); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10K bytes - Click Count (0) -
src/test/java/org/codelibs/core/collection/ArrayMapTest.java
@SuppressWarnings("unchecked") ArrayMap<String, String> copy = (ArrayMap<String, String>) SerializeUtil.serialize(map); assertThat(copy.getAt(0), is(nullValue())); assertThat(copy.getAt(1), is("test")); assertThat(copy.getAt(2), is("test2")); assertThat(map.equals(copy), is(true)); } /** * @throws Exception */ @TestCreated: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 10.7K bytes - Click Count (0)