Search Options

Results per page
Sort
Preferred Languages
Advance

Results 921 - 930 of 1,715 for docstring (0.09 sec)

  1. android/guava-tests/benchmark/com/google/common/io/CharStreamsCopyBenchmark.java

        sb.ensureCapacity(size);
        for (int k = 0; k < size; k++) {
          // [9-127) includes all ascii non-control characters
          sb.append((char) (random.nextInt(127 - 9) + 9));
        }
        data = sb.toString();
      }
    
      @Benchmark
      public long timeCopy(int reps) throws IOException {
        long r = 0;
        final String localData = data;
        final TargetSupplier localTarget = target;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 23 18:59:54 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/http/StatusLine.kt

    import okio.IOException
    
    /** An HTTP response status line like "HTTP/1.1 200 OK". */
    class StatusLine(
      @JvmField val protocol: Protocol,
      @JvmField val code: Int,
      @JvmField val message: String,
    ) {
      override fun toString(): String {
        return buildString {
          if (protocol == Protocol.HTTP_1_0) {
            append("HTTP/1.0")
          } else {
            append("HTTP/1.1")
          }
          append(' ').append(code)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 09 12:33:05 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  3. guava-tests/benchmark/com/google/common/io/CharStreamsCopyBenchmark.java

        sb.ensureCapacity(size);
        for (int k = 0; k < size; k++) {
          // [9-127) includes all ascii non-control characters
          sb.append((char) (random.nextInt(127 - 9) + 9));
        }
        data = sb.toString();
      }
    
      @Benchmark
      public long timeCopy(int reps) throws IOException {
        long r = 0;
        final String localData = data;
        final TargetSupplier localTarget = target;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 23 18:59:54 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  4. build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/tasks/BuildReceipt.kt

                    put("commitId", commitId.getOrElse("HEAD"))
                    put("versionNumber", version.get())
                    put("baseVersion", baseVersion.get())
                    put("isSnapshot", snapshot.get().toString())
                    put("buildTimestamp", getBuildTimestampAsString())
                    put("buildTimestampIso", getBuildTimestampAsIsoString())
                },
                file
            )
        }
    
        private
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/ZipExtractor.java

            } catch (final Exception e) {
                if (buf.length() == 0) {
                    throw new ExtractException("Could not extract a content.", e);
                }
            }
    
            return new ExtractData(buf.toString().trim());
        }
    
        public void setMaxContentSize(final long maxContentSize) {
            this.maxContentSize = maxContentSize;
        }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/dict/protwords/ProtwordsFile.java

                        i++;
                        sb.append(s.charAt(i));
                    } else {
                        sb.append(ch);
                    }
                }
                return sb.toString();
            }
            return s;
        }
    
        public String getSimpleName() {
            return new File(path).getName();
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/dict/stopwords/StopwordsFile.java

                        i++;
                        sb.append(s.charAt(i));
                    } else {
                        sb.append(ch);
                    }
                }
                return sb.toString();
            }
            return s;
        }
    
        public String getSimpleName() {
            return new File(path).getName();
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/hash/Crc32cHashFunctionTest.java

          }
          expected[i] = crc;
        }
    
        int[] actual = Crc32cHashFunction.Crc32cHasher.BYTE_TABLE;
        assertTrue(
            "Expected: \n" + Arrays.toString(expected) + "\nActual:\n" + Arrays.toString(actual),
            Arrays.equals(expected, actual));
      }
    
      static int advanceOneBit(int next) {
        if ((next & 1) != 0) {
          return (next >>> 1) ^ CRC32C_GENERATOR_FLIPPED;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/log/bsentity/BsUserInfo.java

            sb.append(dm).append(updatedAt);
            if (sb.length() > dm.length()) {
                sb.delete(0, dm.length());
            }
            sb.insert(0, "{").append("}");
            return sb.toString();
        }
    
        // ===================================================================================
        //                                                                            Accessor
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideItem.java

            if (!Objects.equals(input, other.input) || !Objects.equals(output, other.output)) {
                return false;
            }
            return true;
        }
    
        @Override
        public String toString() {
            return "StemmerOverrideItem [input=" + input + ", output=" + output + ", newInput=" + newInput + ", newOutput=" + newOutput + "]";
        }
    
        public String toLineString() {
            if (isUpdated()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 2.7K bytes
    - Viewed (0)
Back to top