Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 1,135 for contexto (0.17 sec)

  1. api/maven-api-core/src/test/java/org/apache/maven/api/services/RequestTraceTest.java

            RequestTrace parentTrace = new RequestTrace("parent-context", null, "parent-data");
            RequestTrace childTrace = new RequestTrace("child-context", parentTrace, "child-data");
    
            assertEquals("parent-context", parentTrace.context());
            assertNull(parentTrace.parent());
            assertEquals("parent-data", parentTrace.data());
    
            assertEquals("child-context", childTrace.context());
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  2. tests/tracer_test.go

    }
    
    func (S Tracer) Warn(ctx context.Context, s string, i ...interface{}) {
    	S.Logger.Warn(ctx, s, i...)
    }
    
    func (S Tracer) Error(ctx context.Context, s string, i ...interface{}) {
    	S.Logger.Error(ctx, s, i...)
    }
    
    func (S Tracer) Trace(ctx context.Context, begin time.Time, fc func() (sql string, rowsAffected int64), err error) {
    	S.Logger.Trace(ctx, begin, fc, err)
    	S.Test(ctx, begin, fc, err)
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Tue Oct 18 09:28:06 UTC 2022
    - 830 bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/nego/EncryptionNegotiateContextTest.java

                assertNull(context.getCiphers());
            }
    
            @Test
            @DisplayName("Should create instance with empty ciphers array")
            void testConstructorWithEmptyCiphers() {
                int[] ciphers = {};
    
                EncryptionNegotiateContext context = new EncryptionNegotiateContext(mockConfig, ciphers);
    
                assertNotNull(context);
                assertArrayEquals(ciphers, context.getCiphers());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnsh/ShellInvoker.java

            context.writer.accept(banner);
            if (!context.options().showVersion().orElse(false)) {
                context.writer.accept(CLIReportingUtils.showVersionMinimal());
            }
            context.writer.accept("");
    
            try (holder) {
                SimpleSystemRegistryImpl systemRegistry =
                        new SimpleSystemRegistryImpl(parser, context.terminal, context.cwd, configPath) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Oct 16 06:12:36 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/Help.java

            context.unindent();
            context.println();
            context.info("Usage: mvnup [options] <goal>");
            context.println();
            context.info("Options:");
            context.indent();
            context.info("-m, --model-version <version> Target POM model version (4.0.0 or 4.1.0)");
            context.info("-d, --directory <path> Directory to use as starting point for POM discovery");
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Aug 29 12:46:51 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  6. tests/connpool_test.go

    	c.conn.got = append(c.conn.got, query)
    	return c.Tx.ExecContext(ctx, query, args...)
    }
    
    func (c *wrapperTx) QueryContext(ctx context.Context, query string, args ...interface{}) (*sql.Rows, error) {
    	c.conn.got = append(c.conn.got, query)
    	return c.Tx.QueryContext(ctx, query, args...)
    }
    
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/SmbException.java

            return category;
        }
    
        /**
         * Gets the error context
         *
         * @return the context map
         */
        public Map<String, Object> getContext() {
            return new HashMap<>(context);
        }
    
        /**
         * Gets a specific context value
         *
         * @param key the context key
         * @return the context value or null
         */
        public Object getContextValue(String key) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  8. logger/slog.go

    }
    
    func (l *slogLogger) Info(ctx context.Context, msg string, data ...interface{}) {
    	if l.LogLevel >= Info {
    		l.log(ctx, slog.LevelInfo, msg, slog.Any("data", data))
    	}
    }
    
    func (l *slogLogger) Warn(ctx context.Context, msg string, data ...interface{}) {
    	if l.LogLevel >= Warn {
    		l.log(ctx, slog.LevelWarn, msg, slog.Any("data", data))
    	}
    }
    
    func (l *slogLogger) Error(ctx context.Context, msg string, data ...interface{}) {
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Thu Oct 30 10:56:26 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  9. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/StrategyOrchestratorTest.java

                when(mockStrategies.get(1).isApplicable(context)).thenReturn(true);
                when(mockStrategies.get(1).apply(Mockito.eq(context), Mockito.any()))
                        .thenReturn(UpgradeResult.empty());
    
                when(mockStrategies.get(2).isApplicable(context)).thenReturn(false);
    
                UpgradeResult result = orchestrator.executeStrategies(context, pomMap);
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/audit/SecurityAuditLogger.java

                // Reuse context map or create new
                entry.context = getContextMap();
                if (context != null) {
                    entry.context.putAll(maskContext(context));
                }
    
                // Add MDC context efficiently
                addMdcContext(entry.context);
    
                // Process asynchronously or synchronously based on configuration
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 26.6K bytes
    - Viewed (0)
Back to top