- Sort Score
- Num 10 results
- Language All
Results 171 - 180 of 900 for context_b (0.06 seconds)
-
internal/logger/logonce.go
// on how it is used. func LogOnceIf(ctx context.Context, subsystem string, err error, id string, errKind ...any) { if logIgnoreError(err) { return } logOnce.logOnceIf(ctx, subsystem, err, id, errKind...) } // LogOnceConsoleIf - similar to LogOnceIf but exclusively only logs to console target. func LogOnceConsoleIf(ctx context.Context, subsystem string, err error, id string, errKind ...any) {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 3.8K bytes - Click Count (0) -
internal/logger/reqinfo.go
} } // SetReqInfo sets ReqInfo in the context. func SetReqInfo(ctx context.Context, req *ReqInfo) context.Context { if ctx == nil { LogIf(context.Background(), "", fmt.Errorf("context is nil")) return nil } return context.WithValue(ctx, contextLogKey, req) } // GetReqInfo returns ReqInfo if set. func GetReqInfo(ctx context.Context) *ReqInfo { if ctx != nil {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Mar 30 00:56:02 GMT 2025 - 4.4K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/PrecedenceCoreExtensionSelector.java
public List<CoreExtension> selectCoreExtensions(LookupInvoker<C> invoker, C context) { Optional<List<CoreExtensions>> coreExtensions = context.invokerRequest.coreExtensions(); if (coreExtensions.isEmpty() || coreExtensions.get().isEmpty()) { return List.of(); } return selectCoreExtensions( context, context.invokerRequest.coreExtensions().orElseThrow()); } /**
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Sep 29 15:32:43 GMT 2025 - 4.6K bytes - Click Count (0) -
internal/logger/logger.go
// the execution of the server. func LogAlwaysIf(ctx context.Context, subsystem string, err error, errKind ...any) { if err == nil { return } logIf(ctx, subsystem, err, errKind...) } // LogIf prints a detailed error message during // the execution of the server, if it is not an // ignored error. func LogIf(ctx context.Context, subsystem string, err error, errKind ...any) { if logIgnoreError(err) {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 12.4K bytes - Click Count (0) -
tests/generics_test.go
package tests_test import ( "context" "errors" "fmt" "reflect" "regexp" "sort" "strconv" "strings" "sync" "testing" "github.com/google/uuid" "gorm.io/driver/mysql" "gorm.io/gorm" "gorm.io/gorm/clause" . "gorm.io/gorm/utils/tests" ) func TestGenericsCreate(t *testing.T) { ctx := context.Background() user := User{Name: "TestGenericsCreate", Age: 18}
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Sun Nov 02 14:09:18 GMT 2025 - 33.7K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/MavenParser.java
@Override protected Options parseCliOptions(LocalContext context) { ArrayList<MavenOptions> result = new ArrayList<>(); // CLI args MavenOptions cliOptions = parseMavenCliOptions(context.parserRequest.args()); result.add(cliOptions); // atFile option if (cliOptions.atFile().isPresent()) { Path file = context.cwd.resolve(cliOptions.atFile().orElseThrow());Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Oct 14 12:35:44 GMT 2025 - 4.4K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoal.java
*/ protected void createMvnDirectoryIfNeeded(UpgradeContext context) { context.info(""); context.info("Creating .mvn directory if needed to avoid root directory warnings..."); // Find the root directory (starting directory) Path startingDirectory = context.options().directory().map(Paths::get).orElse(context.invokerRequest.cwd());Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 12.5K bytes - Click Count (0) -
internal/http/dial_dnscache.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package http import ( "context" "net" "time" ) // LookupHost is a function to make custom lookupHost for optional cached DNS requests type LookupHost func(ctx context.Context, host string) (addrs []string, err error) // DialContextWithLookupHost is a helper function which returns `net.DialContext` function.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 2.6K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/lifecycle/MojoExecutionXPathContainer.java
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.1K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/InteractiveGoalSupport.java
@Override public int execute(EncryptContext context) throws Exception { if (!context.interactive) { context.terminal.writer().println("This tool works only in interactive mode!"); context.terminal .writer() .println("Tool purpose is to configure password management on developer workstations."); context.terminal .writer()Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Dec 11 09:13:06 GMT 2024 - 2.1K bytes - Click Count (0)