Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 3801 - 3810 of 7,804 for RETURN (0.05 seconds)

  1. android/guava-testlib/src/com/google/common/collect/testing/AbstractCollectionTester.java

      @Override
      protected Collection<E> actualContents() {
        return collection;
      }
    
      // TODO: dispose of this once collection is encapsulated.
      @Override
      @CanIgnoreReturnValue
      protected Collection<E> resetContainer(Collection<E> newContents) {
        collection = super.resetContainer(newContents);
        return collection;
      }
    
      /**
       * @see AbstractContainerTester#resetContainer()
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Jan 18 02:54:30 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  2. android/guava-tests/benchmark/com/google/common/math/DoubleMathRoundingBenchmark.java

          int j = i & ARRAY_MASK;
          tmp += DoubleMath.roundToInt(doubleInIntRange[j], mode);
        }
        return tmp;
      }
    
      @Benchmark
      long roundToLong(int reps) {
        long tmp = 0;
        for (int i = 0; i < reps; i++) {
          int j = i & ARRAY_MASK;
          tmp += DoubleMath.roundToLong(doubleInLongRange[j], mode);
        }
        return tmp;
      }
    
      @Benchmark
      int roundToBigInteger(int reps) {
        int tmp = 0;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 2.7K bytes
    - Click Count (0)
  3. android/guava-tests/benchmark/com/google/common/collect/MultisetIteratorBenchmark.java

          for (Object value : hashMultiset) {
            sum += value.hashCode();
          }
        }
        return sum;
      }
    
      @Benchmark
      int linkedHashMultiset(int reps) {
        int sum = 0;
        for (int i = 0; i < reps; i++) {
          for (Object value : linkedHashMultiset) {
            sum += value.hashCode();
          }
        }
        return sum;
      }
    
      @Benchmark
      int treeMultiset(int reps) {
        int sum = 0;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 2.7K bytes
    - Click Count (0)
  4. guava-testlib/src/com/google/common/collect/testing/AbstractCollectionTester.java

      @Override
      protected Collection<E> actualContents() {
        return collection;
      }
    
      // TODO: dispose of this once collection is encapsulated.
      @Override
      @CanIgnoreReturnValue
      protected Collection<E> resetContainer(Collection<E> newContents) {
        collection = super.resetContainer(newContents);
        return collection;
      }
    
      /**
       * @see AbstractContainerTester#resetContainer()
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Jan 18 02:54:30 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/DependencyCoordinates.java

        /**
         * {@return the type of the dependency}
         * A dependency can be a <abbr>JAR</abbr> file,
         * a modular-<abbr>JAR</abbr> if it is intended to be placed on the module path,
         * a <abbr>JAR</abbr> containing test classes, a POM file, <i>etc.</i>
         */
        @Nonnull
        Type getType();
    
        /**
         * {@return the time at which the dependency will be used}
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Mar 05 14:29:21 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/util/ParameterUtil.java

                            paramMap.put(line.trim(), StringUtil.EMPTY);
                        }
                    }
                }
            }
            return paramMap;
        }
    
        /**
         * Encrypts sensitive parameter values.
         *
         * @param value the parameter string
         * @return the encrypted parameter string
         */
        public static String encrypt(final String value) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  7. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/JavaSourceQueries.kt

                        if (declaration.name?.asString() == method.name && declaration.hasOverrideAnnotation) {
                            return true
                        }
                        return null
                    }
                }
            )
    
        fun getSince(member: JApiCompatibility): JavaSourceQuery<SinceTagStatus> =
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Jun 06 17:52:09 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/DateFormatting.kt

    fun String.toHttpDateOrNull(): Date? {
      if (isEmpty()) return null
    
      val position = ParsePosition(0)
      var result = STANDARD_DATE_FORMAT.get().parse(this, position)
      if (position.index == length) {
        // STANDARD_DATE_FORMAT must match exactly; all text must be consumed, e.g. no ignored
        // non-standard trailing "+01:00". Those cases are covered below.
        return result
      }
      synchronized(BROWSER_COMPATIBLE_DATE_FORMAT_STRINGS) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 4.1K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/escape/ArrayBasedUnicodeEscaperTest.java

            new ArrayBasedUnicodeEscaper(
                SIMPLE_REPLACEMENTS, Character.MIN_VALUE, Character.MAX_CODE_POINT, null) {
              @Override
              protected char[] escapeUnsafe(int c) {
                return NO_CHARS;
              }
            };
        EscaperAsserts.assertBasic(escaper);
        assertThat(escaper.escape("\tFish & Chips\n")).isEqualTo("<tab>Fish <and> Chips<newline>");
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Feb 18 15:41:04 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb1/smb1/NetShareEnumResponseTest.java

        }
    
        /**
         * Tests the empty write methods to ensure they do nothing and return 0.
         */
        @Test
        void testWriteMethods() {
            NetShareEnumResponse response = new NetShareEnumResponse();
            byte[] dst = new byte[10];
            assertEquals(0, response.writeSetupWireFormat(dst, 0), "writeSetupWireFormat should return 0.");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.4K bytes
    - Click Count (0)
Back to Top