Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 181 - 190 of 1,946 for pathOf (0.06 seconds)

  1. internal/mountinfo/mountinfo_linux_test.go

    package mountinfo
    
    import (
    	"fmt"
    	"os"
    	"path/filepath"
    	"strings"
    	"testing"
    )
    
    // Tests cross device mount verification function, for both failure
    // and success cases.
    func TestCrossDeviceMountPaths(t *testing.T) {
    	successCase := `/dev/0 /path/to/0/1 type0 flags 0 0
    		/dev/1    /path/to/1   type1	flags 1 1
    		/dev/2 /path/to/1/2 type2 flags,1,2=3 2 2
                    /dev/3 /path/to/1.1 type3 flags,1,2=3 3 3
    		`
    	var err error
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 7.3K bytes
    - Click Count (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverRequest.java

            }
    
            /**
             * Filters the types of paths to include in the result.
             * The result will contain only the paths of types for which the predicate returned {@code true}.
             * It is recommended to apply a filter for retaining only the types of paths of interest,
             * because it can resolve ambiguities when a path could be of many types.
             *
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 10 07:30:49 GMT 2025
    - 23K bytes
    - Click Count (0)
  3. tests/test_request_params/test_body/utils.py

    from typing import Any
    
    
    def get_body_model_name(openapi: dict[str, Any], path: str) -> str:
        body = openapi["paths"][path]["post"]["requestBody"]
        body_schema = body["content"]["application/json"]["schema"]
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 268 bytes
    - Click Count (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpAuthenticationHolder.java

         * @param path The path to match.
         * @return The matching FtpAuthentication object, or null if no match is found.
         */
        public FtpAuthentication get(final String path) {
            if (path == null) {
                return null;
            }
    
            for (final FtpAuthentication auth : authenticationList) {
                if (auth.matches(path)) {
                    return auth;
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sun Jul 06 02:13:03 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeResult.java

         */
        public static UpgradeResult success(Set<Path> processedPoms, Set<Path> modifiedPoms) {
            return new UpgradeResult(processedPoms, modifiedPoms, Collections.emptySet());
        }
    
        /**
         * Creates a failure result with the specified processed POMs and error POMs.
         */
        public static UpgradeResult failure(Set<Path> processedPoms, Set<Path> errorPoms) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Jun 07 06:22:47 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  6. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/TestUtils.java

            // Mock all required properties for LookupContext constructor
            when(request.cwd()).thenReturn(workingDirectory);
            when(request.installationDirectory()).thenReturn(Paths.get("/maven"));
            when(request.userHomeDirectory()).thenReturn(Paths.get("/home/user"));
            when(request.topDirectory()).thenReturn(workingDirectory);
            when(request.rootDirectory()).thenReturn(Optional.empty());
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  7. docs_src/generate_clients/tutorial004_py39.py

    import json
    from pathlib import Path
    
    file_path = Path("./openapi.json")
    openapi_content = json.loads(file_path.read_text())
    
    for path_data in openapi_content["paths"].values():
        for operation in path_data.values():
            tag = operation["tags"][0]
            operation_id = operation["operationId"]
            to_remove = f"{tag}-"
            new_operation_id = operation_id[len(to_remove) :]
            operation["operationId"] = new_operation_id
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 493 bytes
    - Click Count (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupContext.java

        public BuildEventListener buildEventListener;
    
        // paths user can override from CLI, and we need to set on MavenExReq
        public Path installationSettingsPath;
        public Path projectSettingsPath;
        public Path userSettingsPath;
        public boolean interactive;
        public Path localRepositoryPath;
        public Settings effectiveSettings;
        public PersistedToolchains effectiveToolchains;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/gcs/GcsClient.java

        }
    
        /**
         * Parses a GCS path into bucket name and object path components.
         * @param path the GCS path to parse (format: bucket/object/path)
         * @return an array containing the bucket name and object path
         * @throws CrawlingAccessException if the path format is invalid
         */
        protected String[] parsePath(final String path) {
            if (StringUtil.isNotEmpty(path)) {
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Thu Dec 11 08:38:29 GMT 2025
    - 17.5K bytes
    - Click Count (0)
  10. internal/mountinfo/mountinfo_windows.go

    func IsLikelyMountPoint(path string) bool {
    	path = filepath.Dir(path)
    	if v, ok := mountPointCache.Load(path); ok {
    		if b, ok := v.(bool); ok {
    			return b
    		}
    	}
    	wpath, _ := windows.UTF16PtrFromString(path)
    	wvolume := make([]uint16, len(path)+1)
    
    	if err := windows.GetVolumePathName(wpath, &wvolume[0], uint32(len(wvolume))); err != nil {
    		mountPointCache.Store(path, false)
    		return false
    	}
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 2.1K bytes
    - Click Count (0)
Back to Top