Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 71 for getResources (0.96 sec)

  1. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AlphabeticalAcceptedApiChangesTaskIntegrationTest.kt

                            },
                            {
                                "type": "org.gradle.api.tasks.compile.JavaCompile",
                                "member": "Method org.gradle.api.tasks.compile.JavaCompile.getSources()",
                                "acceptation": "Deprecated method removed",
                                "changes": [
                                    "Method has been removed"
                                ]
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Fri Mar 14 02:17:00 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  2. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/SortAcceptedApiChangesTaskIntegrationTest.kt

                            },
                            {
                                "type": "org.gradle.api.tasks.compile.JavaCompile",
                                "member": "Method org.gradle.api.tasks.compile.JavaCompile.getSources()",
                                "acceptation": "Deprecated method removed",
                                "changes": [
                                    "Method has been removed"
                                ]
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Fri Mar 14 02:17:00 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/IoTestCase.java

          }
        }
        filesToDelete.clear();
      }
    
      private File getTestDir() throws IOException {
        if (testDir != null) {
          return testDir;
        }
    
        URL testFileUrl = IoTestCase.class.getResource("testdata/i18n.txt");
        if (testFileUrl == null) {
          throw new RuntimeException("unable to locate testdata directory");
        }
    
        if (testFileUrl.getProtocol().equals("file")) {
          try {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/StringWagon.java

        @Override
        public void fillInputData(InputData inputData)
                throws TransferFailedException, ResourceDoesNotExistException, AuthorizationException {
            Resource resource = inputData.getResource();
    
            String content = expectedContent.get(resource.getName());
    
            if (content != null) {
                resource.setContentLength(content.length());
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/action/AnnotationGeneratorWorkAction.kt

             * Please keep this code in sync.
             */
            internal
            fun generateImportPackages(): List<String> {
                /*
                 * The class that getResource called upon must be from within a jar that contains the import txt file.
                 *
                 * Note: Even though 'jump to declaration' in IJ will show this to be the 'DefaultImportsReader' from
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Sun Jul 07 16:02:18 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  6. cmd/handler-utils_test.go

    		}
    		if err == nil && !reflect.DeepEqual(metadata, testCase.metadata) {
    			t.Fatalf("Test %d failed: Expected \"%#v\", got \"%#v\"", i+1, testCase.metadata, metadata)
    		}
    	}
    }
    
    // Test getResource()
    func TestGetResource(t *testing.T) {
    	testCases := []struct {
    		p                string
    		host             string
    		domains          []string
    		expectedResource string
    	}{
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  7. okhttp-hpacktests/src/test/java/okhttp3/internal/http2/hpackjson/HpackJsonUtil.kt

        }
      }
    
      /** Iterate through the hpack-test-case resources, only picking stories for the current draft.  */
      fun storiesForCurrentDraft(): Array<String> {
        val resource =
          HpackJsonUtil::class.java.getResource("/hpack-test-case")
            ?: return arrayOf()
    
        val testCaseDirectory = File(resource.toURI()).toOkioPath()
        val result = mutableListOf<String>()
        for (path in fileSystem.list(testCaseDirectory)) {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  8. cmd/signature-v2.go

    	if err != nil {
    		return ErrMalformedExpires
    	}
    
    	// Check if the presigned URL has expired.
    	if expiresInt < UTCNow().Unix() {
    		return ErrExpiredPresignRequest
    	}
    
    	encodedResource, err = getResource(encodedResource, r.Host, globalDomainNames)
    	if err != nil {
    		return ErrInvalidRequest
    	}
    
    	expectedSignature := preSignatureV2(cred, r.Method, encodedResource, strings.Join(filteredQueries, "&"), r.Header, expires)
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/project/collector/PomlessCollectionStrategy.java

            ProjectBuildingRequest buildingRequest = request.getProjectBuildingRequest();
            ModelSource modelSource = new UrlModelSource(DefaultMaven.class.getResource("project/standalone.xml"));
            MavenProject project =
                    projectBuilder.build(modelSource, buildingRequest).getProject();
            project.setExecutionRoot(true);
            request.setProjectPresent(false);
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/superpom/DefaultSuperPomProvider.java

                    InputSource inputSource = new InputSource();
                    inputSource.setModelId(modelId);
                    inputSource.setLocation(getClass().getResource(resource).toExternalForm());
                    options.put(ModelProcessor.INPUT_SOURCE, inputSource);
    
                    superModel = modelProcessor.read(is, options);
                } catch (IOException e) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 3.1K bytes
    - Viewed (0)
Back to top