Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 3121 - 3130 of 6,094 for rreturn (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. android/guava-tests/benchmark/com/google/common/util/concurrent/SingleThreadAbstractFutureBenchmark.java

            r += 2;
          }
        }
        return r;
      }
    
      @Benchmark
      public long timeGetWith0Timeout(long reps) throws Exception {
        Facade<?> f = notDoneFuture;
        long r = 0;
        for (int i = 0; i < reps; i++) {
          try {
            f.get(0, SECONDS);
            r += 1;
          } catch (TimeoutException e) {
            r += 2;
          }
        }
        return r;
      }
    
      @Benchmark
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  2. android/guava-testlib/test/com/google/common/collect/testing/features/FeatureEnumTest.java

          }
          Class<?> returnType = method.getReturnType();
          assertTrue(
              rootLocaleFormat("%s.%s() must return an array.", annotationClass, propertyName),
              returnType.isArray());
          assertWithMessage(
                  rootLocaleFormat(
                      "%s.%s() must return an array of %s.",
                      annotationClass, propertyName, annotationClass.getDeclaringClass()))
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 12 00:25:21 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  3. src/main/java/jcifs/smb1/dcerpc/DcerpcBinding.java

                        return;
                    }
                }
                throw new DcerpcException("Bad endpoint: " + endpoint);
            }
            if (options == null) {
                options = new HashMap();
            }
            options.put(key, val);
        }
    
        Object getOption(final String key) {
            if (key.equals("endpoint")) {
                return endpoint;
            }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/graph/MultiEdgesConnecting.java

        return new AbstractIterator<E>() {
          @Override
          protected @Nullable E computeNext() {
            while (entries.hasNext()) {
              Entry<E, ?> entry = entries.next();
              if (targetNode.equals(entry.getValue())) {
                return entry.getKey();
              }
            }
            return endOfData();
          }
        };
      }
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2.2K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultBuildResumptionAnalyzer.java

            if (!result.hasExceptions()) {
                return Optional.empty();
            }
    
            List<MavenProject> sortedProjects = result.getTopologicallySortedProjects();
    
            boolean hasNoSuccess =
                    sortedProjects.stream().noneMatch(project -> result.getBuildSummary(project) instanceof BuildSuccess);
    
            if (hasNoSuccess) {
                return Optional.empty();
            }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.5K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/graph/EdgesConnecting.java

        E connectingEdge = getConnectingEdge();
        return (connectingEdge == null)
            ? ImmutableSet.<E>of().iterator()
            : Iterators.singletonIterator(connectingEdge);
      }
    
      @Override
      public int size() {
        return getConnectingEdge() == null ? 0 : 1;
      }
    
      @Override
      public boolean contains(@Nullable Object edge) {
        E connectingEdge = getConnectingEdge();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  7. src/main/java/jcifs/ntlmssp/av/AvPair.java

            this.raw = raw;
        }
    
        /**
         * Gets the AV pair type
         * @return the type
         */
        public final int getType() {
            return this.type;
        }
    
        /**
         * Gets the raw data bytes
         * @return the raw
         */
        public final byte[] getRaw() {
            return this.raw;
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  8. src/main/java/jcifs/internal/smb2/rdma/tcp/TcpMemoryRegion.java

        }
    
        @Override
        protected int generateLocalKey() {
            return keyGenerator.getAndIncrement();
        }
    
        @Override
        protected int generateRemoteKey() {
            return keyGenerator.getAndIncrement();
        }
    
        @Override
        protected long getBufferAddress(ByteBuffer buffer) {
            // Return a fake address for TCP
            // In real RDMA implementations, this would be the native memory address
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 05:11:12 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/configuration/internal/EnhancedCompositeBeanHelper.java

                return setter;
            }
    
            // Try adder
            MethodInfo adder = classMethodCache.get("add" + title);
            if (adder != null && isMethodCompatible(adder.method, valueType)) {
                return adder;
            }
    
            // Return first found for backward compatibility
            return setter != null ? setter : adder;
        }
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Nov 12 14:59:46 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  10. docs_src/handling_errors/tutorial004_py310.py

    async def http_exception_handler(request, exc):
        return PlainTextResponse(str(exc.detail), status_code=exc.status_code)
    
    
    @app.exception_handler(RequestValidationError)
    async def validation_exception_handler(request, exc: RequestValidationError):
        message = "Validation errors:"
        for error in exc.errors():
            message += f"\nField: {error['loc']}, Error: {error['msg']}"
        return PlainTextResponse(message, status_code=400)
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 920 bytes
    - Click Count (0)
Back to Top