Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 808 for Ressource (0.04 sec)

  1. 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 Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  2. cmd/local-locker.go

    	}
    
    	defer l.getMutex()()
    
    	for _, resource := range args.Resources {
    		lri, ok := l.lockMap[resource]
    		if ok && !isWriteLock(lri) {
    			// Unless it is a write lock reject it.
    			err = fmt.Errorf("unlock attempted on a read locked entity: %s", resource)
    			continue
    		}
    		if ok {
    			reply = l.removeEntry(resource, args, &lri) || reply
    		}
    	}
    	return reply, err
    }
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 12K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt

      }
    
      @Test
      fun writeAndReadEntry() {
        val creator = cache.edit("k1")!!
        creator.setString(0, "ABC")
        creator.setString(1, "DE")
        assertThat(creator.newSource(0)).isNull()
        assertThat(creator.newSource(1)).isNull()
        creator.commit()
        val snapshot = cache["k1"]!!
        snapshot.assertValue(0, "ABC")
        snapshot.assertValue(1, "DE")
      }
    
      @Test
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Nov 01 12:18:11 UTC 2025
    - 59.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/io/ResourceBundleUtil.java

            } catch (final MissingResourceException ignore) {
                return null;
            }
        }
    
        /**
         * Returns the string for the specified key from the resource bundle.
         *
         * @param bundle the resource bundle (must not be {@literal null} or empty)
         * @param key the key
         * @return the string for the specified key (must not be {@literal null} or empty)
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  5. cmd/admin-handlers_test.go

    		locksHeld[resource] = []lockRequesterInfo{lri}
    	}
    
    	// Add a few concurrent read locks to the mix
    	for i := range 50 {
    		resource := fmt.Sprintf("bucket/get-object-%d", i)
    		lri := lockRequesterInfo{
    			Name:   resource,
    			UID:    mustGetUUID(),
    			Owner:  owners[i%len(owners)],
    			Quorum: 2,
    		}
    		lris = append(lris, lri)
    		locksHeld[resource] = append(locksHeld[resource], lri)
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 13.9K bytes
    - Viewed (1)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt

     *     .url("http://publicobject.com/helloworld.txt")
     *     .build();
     * Response forceCacheResponse = client.newCall(request).execute();
     * if (forceCacheResponse.code() != 504) {
     *   // The resource was cached! Show it.
     * } else {
     *   // The resource was not cached.
     * }
     * ```
     *
     * This technique works even better in situations where a stale response is better than no response.
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Oct 03 17:41:45 UTC 2025
    - 26.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessApiFailureHook.java

        @Override
        public ApiResponse handleValidationError(final ApiFailureResource resource) {
            return asJson(createFailureBean(Status.BAD_REQUEST, createMessage(resource, null))).httpStatus(HTTP_BAD_REQUEST);
        }
    
        @Override
        public ApiResponse handleApplicationException(final ApiFailureResource resource, final RuntimeException cause) {
            if (cause instanceof LoginUnauthorizedException) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  8. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/AbstractMavenTransferListener.java

            TransferResource resource = event.getResource();
            StringBuilder message = new StringBuilder();
            message.append(darkOn).append(action).append(' ').append(direction).append(' ');
            message.append(darkOff).append(resource.getRepositoryId());
            message.append(darkOn).append(": ").append(resource.getRepositoryUrl());
            message.append(darkOff).append(resource.getResourceName());
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Apr 22 22:13:51 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

                    currentData = parentData;
                }
            }
    
            problems.setSource(inputModel);
            checkPluginVersions(lineage, request, problems);
    
            // inheritance assembly
            assembleInheritance(lineage, request, problems);
    
            Model resultModel = resultData.getModel();
    
            problems.setSource(resultModel);
            problems.setRootModel(resultModel);
    
            // model interpolation
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sun Mar 30 23:08:08 UTC 2025
    - 55.3K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/ftp/FtpAuthenticationTest.java

            assertTrue(auth.matches("ftp://hostname/path/to/resource.txt"));
            assertFalse(auth.matches("ftp://hostname:22/path/to/resource.txt"));
            assertFalse(auth.matches("ftp://otherhost/path/to/resource.txt"));
    
            // Test with special characters in path
            assertTrue(auth.matches("ftp://hostname:21/path%20with%20spaces/resource.txt"));
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 3.8K bytes
    - Viewed (0)
Back to top