- Sort Score
- Num 10 results
- Language All
Results 681 - 690 of 2,125 for convert (0.05 seconds)
-
cmd/metrics-v3-types.go
type MetricsLoaderFn func(context.Context, MetricValues, *metricsCache) error // JoinLoaders - joins multiple loaders into a single loader. The returned // loader will call each of the given loaders in order. If any of the loaders // return an error, the returned loader will return that error. func JoinLoaders(loaders ...MetricsLoaderFn) MetricsLoaderFn { return func(ctx context.Context, m MetricValues, c *metricsCache) error {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Feb 28 19:33:08 GMT 2025 - 15.6K bytes - Click Count (0) -
tensorflow/c/eager/gradients.cc
int64_t TensorId(AbstractTensorHandle* tensor) const override; // Converts a Gradient to a TapeTensor. TapeTensor TapeTensorFromGradient(AbstractTensorHandle* g) const override; void MarkAsResult(AbstractTensorHandle* gradient) const override; void DeleteGradient(AbstractTensorHandle* gradient) const override; private: // The context where the aggregation op `Add` is to be created. AbstractContext* ctx_; };
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Tue Feb 24 06:18:31 GMT 2026 - 19.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/LanguageHelperTest.java
languageHelper.createScript(doc, "aaa").getIdOrCode()); } @Test public void test_getReindexScriptSource() { assertEquals( "if(ctx._source.lang!=null){ctx._source['title_'+ctx._source.lang]=ctx._source.title;ctx._source['content_'+ctx._source.lang]=ctx._source.content}", languageHelper.getReindexScriptSource());
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 13K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbOperationException.java
} /** * Add context information * * @param key the context key * @param value the context value * @return this exception for chaining */ public SmbOperationException withContext(String key, Object value) { this.context.put(key, value); return this; } /** * Add multiple context values *Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 16.5K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategyTest.java
when(options.infer()).thenReturn(Optional.of(true)); when(options.all()).thenReturn(Optional.empty()); UpgradeContext context = createMockContext(options); assertTrue(strategy.isApplicable(context), "Strategy should be applicable when --infer is true"); } @Test @DisplayName("should be applicable when --all option is specified")
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 35.2K bytes - Click Count (0) -
cmd/bucket-metadata-sys.go
sys.Set(meta.Name, meta) globalNotificationSys.LoadBucketMetadata(bgContext(ctx), meta.Name) // Do not use caller context here return nil } // Delete delete the bucket metadata for the specified bucket. // must be used by all callers instead of using Update() with nil configData. func (sys *BucketMetadataSys) Delete(ctx context.Context, bucket string, configFile string) (updatedAt time.Time, err error) { if configFile == bucketLifecycleConfig {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 20.4K bytes - Click Count (0) -
build-logic/dependency-modules/src/main/kotlin/gradlebuild.dependency-modules.gradle.kts
val name: String, val version: String ) : ComponentMetadataRule { override fun execute(context: ComponentMetadataContext) { context.details.allVariants { withCapabilities { addCapability("org.gradle.internal.capability", name, "${version}.original.${context.details.id.version}") } } } } class CapabilitySpec {Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Mar 26 09:04:32 GMT 2026 - 9.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/analysis/SuggestAnalyzerTest.java
String field = "content"; String lang = "en"; List<AnalyzeToken> tokens = analyzer.analyze(text, field, lang); assertNotNull(tokens); assertTrue(tokens.isEmpty()); } @Test public void testAnalyzeWithNullText() { // Test analyze with null text String text = null; String field = "content"; String lang = "en";Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Mon Sep 01 13:33:03 GMT 2025 - 15.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/llm/LlmMessageTest.java
} @Test public void test_toStringShortContent() { final LlmMessage message = new LlmMessage("user", "Short content"); final String str = message.toString(); assertTrue(str.contains("role='user'")); assertTrue(str.contains("content='Short content'")); } @Test public void test_toStringLongContent() { final StringBuilder longContent = new StringBuilder();Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 3.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java
for (String name : contextNames) { MockCreateContextRequest context = new MockCreateContextRequest(name); assertNotNull(context.getName()); assertEquals(4, context.getName().length); // Most SMB2 context names are 4 bytes assertArrayEquals(name.getBytes(StandardCharsets.UTF_8), context.getName()); } } } @NestedCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 24.9K bytes - Click Count (0)