Search Options

Results per page
Sort
Preferred Languages
Advance

Results 741 - 750 of 1,682 for orResult (0.07 sec)

  1. guava/src/com/google/common/collect/Maps.java

        public BiMap<V, K> inverse() {
          BiMap<V, K> result = inverse;
          return (result == null)
              ? inverse = new UnmodifiableBiMap<>(delegate.inverse(), this)
              : result;
        }
    
        @Override
        public Set<V> values() {
          Set<V> result = values;
          return (result == null) ? values = Collections.unmodifiableSet(delegate.values()) : result;
        }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 17 22:50:48 UTC 2025
    - 163.5K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/cache/BatchRequestException.java

         */
        public <REQ extends Request<?>, REP extends Result<REQ>> BatchRequestException(
                String message, List<RequestResult<REQ, REP>> allResults) {
            super(message);
            this.results = List.copyOf(allResults);
        }
    
        /**
         * Returns the list of results from all requests that were part of the batch operation.
         * Each result contains the original request, the response (if successful), and any error
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/cache/package-info.java

     *   <li>DISABLED - No caching performed</li>
     * </ul>
     * <p>
     * Example usage:
     * <pre>
     * RequestCache cache = cacheFactory.createCache();
     * Result result = cache.request(myRequest, req -> {
     *     // Expensive operation to compute result
     *     return computedResult;
     * });
     * </pre>
     * <p>
     * The package also provides support for batch operations through {@link org.apache.maven.api.cache.BatchRequestException}
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/Striped.java

        // Initially using the list to store the keys, then reusing it to store the respective L's
        List<Object> result = newArrayList(keys);
        if (result.isEmpty()) {
          return ImmutableList.of();
        }
        int[] stripes = new int[result.size()];
        for (int i = 0; i < result.size(); i++) {
          stripes[i] = indexFor(result.get(i));
        }
        Arrays.sort(stripes);
        // optimize for runs of identical stripes
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 16 22:01:32 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/pac/PacUnicodeStringTest.java

            String testString = "abcde";
    
            // The check method should return the same string instance
            String result = pacString.check(testString);
            assertSame(testString, result, "The check method should return the original string on success.");
        }
    
        /**
         * Tests the {@link PacUnicodeString#check(String)} method with a null string when the pointer is zero.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2.kt

          TYPE_PRIORITY, TYPE_RST_STREAM, TYPE_GOAWAY, TYPE_WINDOW_UPDATE -> return BINARY[flags]
        }
        val result = if (flags < FLAGS.size) FLAGS[flags]!! else BINARY[flags]
        // Special case types that have overlap flag values.
        return when {
          type == TYPE_PUSH_PROMISE && flags and FLAG_END_PUSH_PROMISE != 0 -> {
            result.replace("HEADERS", "PUSH_PROMISE") // TODO: Avoid allocation.
          }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/testers/ReflectionFreeAssertThrows.java

              expectedThrowable
                  + " is not yet supported by ReflectionFreeAssertThrows. Add an entry for it in the"
                  + " map in that class.");
        }
        Object result;
        try {
          result = supplier.get();
        } catch (Throwable t) {
          if (predicate.apply(t)) {
            // We are careful to set up INSTANCE_OF to match each Predicate to its target Class.
            @SuppressWarnings("unchecked")
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  8. impl/maven-core/src/test/java/org/apache/maven/project/ProjectBuildingExceptionTest.java

                            "Deprecated feature used", ModelProblem.Severity.WARNING, null, "pom.xml", 10, 1, null, null));
            DefaultProjectBuildingResult result =
                    new DefaultProjectBuildingResult("com.example:project:1.0", new File("project/pom.xml"), problems);
            results.add(result);
    
            ProjectBuildingException exception = new ProjectBuildingException(results);
            String message = exception.getMessage();
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Jul 26 19:15:57 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbPipeInputStreamTest.java

            SmbPipeInputStream stream = newStreamWithMinimalStubs(true);
            when(handle.ensureTreeConnected()).thenReturn(tree);
    
            SmbTreeHandleImpl result = stream.ensureTreeConnected();
            assertSame(tree, result);
            verify(handle, times(1)).ensureTreeConnected();
        }
    
        @Test
        @DisplayName("ensureOpen delegates to handle")
        void ensureOpen_delegates() throws Exception {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  10. cmd/peer-s3-client.go

    					Bucket: bktName,
    					Queued: time.Now(),
    				})
    			}
    		}
    	}
    
    	result := make([]BucketInfo, 0, len(resultMap))
    	for _, bi := range resultMap {
    		result = append(result, bi)
    	}
    
    	sort.Slice(result, func(i, j int) bool {
    		return result[i].Name < result[j].Name
    	})
    
    	return result, nil
    }
    
    // GetBucketInfo returns bucket stat info about bucket on disk across all peers
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 15.6K bytes
    - Viewed (0)
Back to top