Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 420 for resource (0.11 sec)

  1. cmd/metrics-resource.go

    	lastDriveStatsRefresh time.Time
    )
    
    // PeerResourceMetrics represents the resource metrics
    // retrieved from a peer, along with errors if any
    type PeerResourceMetrics struct {
    	Metrics map[MetricSubsystem]ResourceMetrics
    	Errors  []string
    }
    
    // ResourceMetrics is a map of unique key identifying
    // a resource metric (e.g. reads_per_sec_{node}_{drive})
    // to its data
    type ResourceMetrics map[string]ResourceMetric
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 23:30:33 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/test/resources/poms/validation/missing-resource-directory-pom.xml

    <project>
      <modelVersion>4.0.0</modelVersion>
      <artifactId>foo</artifactId>
      <groupId>foo</groupId>
      <version>99.44</version>
      <packaging>bleh</packaging>
      <build>
        <resources>
          <resource>
    
          </resource>
        </resources>
        <testResources>
          <testResource>
    
          </testResource>
        </testResources>
      </build>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/io/Resources.java

       * this class ({@code Resources}) will be used instead.
       *
       * @throws IllegalArgumentException if the resource is not found
       */
      @CanIgnoreReturnValue // being used to check if a resource exists
      // TODO(cgdecker): maybe add a better way to check if a resource exists
      // e.g. Optional<URL> tryGetResource or boolean resourceExists
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 02 13:50:22 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  4. cmd/local-locker.go

    	now := UTCNow()
    	for i, resource := range args.Resources {
    		l.lockMap[resource] = []lockRequesterInfo{
    			{
    				Name:            resource,
    				Writer:          true,
    				Source:          args.Source,
    				Owner:           args.Owner,
    				UID:             args.UID,
    				Timestamp:       now.UnixNano(),
    				TimeLastRefresh: now.UnixNano(),
    				Group:           len(args.Resources) > 1,
    				Quorum:          *args.Quorum,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 10:24:01 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/ResourcesTest.java

        URL resource = getClass().getResource("testdata/i18n.txt");
        assertThat(Resources.toByteArray(resource)).isEqualTo(I18N.getBytes(UTF_8));
      }
    
      public void testReadLines() throws IOException {
        // TODO(chrisn): Check in a better resource
        URL resource = getClass().getResource("testdata/i18n.txt");
        assertEquals(ImmutableList.of(I18N), Resources.readLines(resource, UTF_8));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  6. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/AbstractMavenTransferListener.java

            TransferResource resource = event.getResource();
            MessageBuilder message = messageBuilderFactory.builder();
            message.style(STYLE).append(action).append(' ').append(direction).append(' ');
            message.resetStyle().append(resource.getRepositoryId());
            message.style(STYLE).append(": ").append(resource.getRepositoryUrl());
            message.resetStyle().append(resource.getResourceName());
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/ResourcesTest.java

        URL resource = getClass().getResource("testdata/i18n.txt");
        assertThat(Resources.toByteArray(resource)).isEqualTo(I18N.getBytes(UTF_8));
      }
    
      public void testReadLines() throws IOException {
        // TODO(chrisn): Check in a better resource
        URL resource = getClass().getResource("testdata/i18n.txt");
        assertEquals(ImmutableList.of(I18N), Resources.readLines(resource, UTF_8));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  8. compat/maven-embedder/src/main/java/org/apache/maven/cli/logging/Slf4jConfigurationFactory.java

        public static final String RESOURCE = "META-INF/maven/slf4j-configuration.properties";
    
        public static Slf4jConfiguration getConfiguration(ILoggerFactory loggerFactory) {
            String slf4jBinding = loggerFactory.getClass().getCanonicalName();
    
            try {
                Enumeration<URL> resources =
                        Slf4jConfigurationFactory.class.getClassLoader().getResources(RESOURCE);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/TransferListenerAdapter.java

        private ArtifactTransferResource wrap(Repository repository, Resource resource) {
            if (resource == null) {
                return null;
            } else {
                synchronized (artifacts) {
                    ArtifactTransferResource artifact = artifacts.get(resource);
    
                    if (artifact == null) {
                        artifact = new MavenArtifact(repository.getUrl(), resource);
                        artifacts.put(resource, artifact);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/path/DefaultModelPathTranslator.java

                        }
                        newResources.set(i, newResource);
                    }
                }
            }
            return newResources;
        }
    
        private Resource alignToBaseDirectory(Resource resource, Path basedir) {
            if (resource != null) {
                String newDir = mayAlignToBaseDirectoryOrNull(resource.getDirectory(), basedir);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.4K bytes
    - Viewed (0)
Back to top