Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 681 for aslash (0.51 sec)

  1. platforms/core-runtime/daemon-protocol/src/test/groovy/org/gradle/tooling/internal/provider/serialization/PayloadSerializerTest.groovy

                Assert.fail()
            } catch (ClassNotFoundException) {
                // expected
            }
        }
    
        ClassLoader filter(Class<?> aClass) {
            def spec = new FilteringClassLoader.Spec()
            spec.allowClass(aClass)
            return new FilteringClassLoader(aClass.classLoader, spec)
        }
    
        ClassLoader isolated(ClassLoader parent = ClassLoader.systemClassLoader.parent, Class<?>... classes) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 00:13:09 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  2. subprojects/core/src/test/groovy/org/gradle/api/internal/plugins/DefaultPluginRegistryTest.groovy

            unqualified.asClass() == TestPlugin1
    
            def qualified = pluginRegistry.lookup(DefaultPluginId.of("org.gradle.somePlugin"))
            qualified.pluginId == DefaultPluginId.of("org.gradle.somePlugin")
            unqualified.displayName.displayName == "plugin 'org.gradle.somePlugin'"
            qualified.asClass() == TestPlugin1
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 12 07:52:06 UTC 2021
    - 13K bytes
    - Viewed (0)
  3. src/path/filepath/path_test.go

    	// “A pathname that contains at least one non- <slash> character and that ends
    	// with one or more trailing <slash> characters shall not be resolved
    	// successfully unless the last pathname component before the trailing <slash>
    	// characters names an existing directory [...].”
    	//
    	// Since Walk does not traverse symlinks itself, its behavior should depend on
    	// whether the path passed to Walk ends in a slash: if it does not end in a slash,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 22 16:38:19 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  4. src/archive/tar/strconv.go

    		b[len(s)] = 0
    	}
    
    	// Some buggy readers treat regular files with a trailing slash
    	// in the V7 path field as a directory even though the full path
    	// recorded elsewhere (e.g., via PAX record) contains no trailing slash.
    	if len(s) > len(b) && b[len(b)-1] == '/' {
    		n := len(strings.TrimRight(s[:len(b)-1], "/"))
    		b[n] = 0 // Replace trailing slash with NUL terminator
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 01 14:28:42 UTC 2023
    - 9K bytes
    - Viewed (0)
  5. platforms/core-execution/build-cache-http/src/main/java/org/gradle/caching/http/internal/HttpBuildCacheService.java

                throw UncheckedException.throwAsUncheckedException(e);
            }
        }
    
        /**
         * Add a trailing slash to the given URI's path if necessary.
         *
         * @param uri the original URI
         * @return a URI guaranteed to have a trailing slash in the path
         */
        private static URI withTrailingSlash(URI uri) {
            if (uri.getPath().endsWith("/")) {
                return uri;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 04 14:13:12 UTC 2024
    - 8K bytes
    - Viewed (0)
  6. platforms/jvm/language-java/src/test/groovy/org/gradle/api/internal/tasks/compile/incremental/analyzer/DefaultClassDependenciesAnalyzerTest.groovy

            analyze(SomeSourceAnnotation).privateClassDependencies.isEmpty()
            analyze(SomeSourceAnnotation).dependencyToAllReason
        }
    
        InputStream classStream(Class aClass) {
            aClass.classLoader.getResourceAsStream(aClass.getName().replace(".", "/") + ".class")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  7. ci/official/envs/nightly_upload

    # See the License for the specific language governing permissions and
    # limitations under the License.
    # ==============================================================================
    # IMPORTANT: trailing slash is required on GCS URIs, as it tells gcloud to
    # pretend the path is a directory.
    # 1. Upload nightlies
    TFCI_ARTIFACT_FINAL_GCS_ENABLE=1
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jan 19 19:07:48 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  8. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/AbstractCaseVfsRelativePathTest.groovy

        }
    
        def "path separators are equal"() {
            def slash = '/' as char
            def backslash = '\\' as char
    
            expect:
            compareCharsIgnoringCase(slash, backslash) == 0
            compareCharsIgnoringCase(backslash, slash) == 0
            compareChars(slash, backslash) == 0
            compareChars(backslash, slash) == 0
            equalChars(slash, backslash, caseSensitivity)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/admission/errors.go

    	}
    
    	name = "Unknown"
    	obj := a.GetObject()
    	if obj != nil {
    		accessor, err := meta.Accessor(obj)
    		if err != nil {
    			// not all object have ObjectMeta.  If we don't, return a name with a slash (always illegal)
    			return "Unknown/errorGettingName", resource, nil
    		}
    
    		// this is necessary because name object name generation has not occurred yet
    		if len(accessor.GetName()) > 0 {
    			name = accessor.GetName()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 26 19:40:51 UTC 2017
    - 2.3K bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/api/internal/plugins/DefaultPluginManager.java

            }
        }
    
        @Override
        public <P extends Plugin> P addImperativePlugin(PluginImplementation<P> plugin) {
            doApply(plugin);
            Class<? extends P> pluginClass = plugin.asClass();
            return pluginClass.cast(instances.get(pluginClass));
        }
    
        @Override
        public <P extends Plugin> P addImperativePlugin(Class<P> type) {
            return addImperativePlugin(pluginRegistry.inspect(type));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 14.8K bytes
    - Viewed (0)
Back to top