Search Options

Results per page
Sort
Preferred Languages
Advance

Results 251 - 260 of 3,753 for private (0.14 sec)

  1. android/guava-tests/benchmark/com/google/common/base/StringsRepeatBenchmark.java

     *
     * @author Mike Cripps
     */
    public class StringsRepeatBenchmark {
      @Param({"1", "5", "25", "125"})
      int count;
    
      @Param({"1", "10"})
      int length;
    
      private String originalString;
    
      @BeforeExperiment
      void setUp() {
        originalString = Strings.repeat("x", length);
      }
    
      @Benchmark
      void oldRepeat(long reps) {
        for (int i = 0; i < reps; i++) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Sep 17 20:24:24 UTC 2021
    - 3.3K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/hash/ChecksumBenchmark.java

     */
    public class ChecksumBenchmark {
    
      // Use a constant seed for all of the benchmarks to ensure apples to apples comparisons.
      private static final int RANDOM_SEED = new Random().nextInt();
    
      @Param({"10", "1000", "100000", "1000000"})
      private int size;
    
      private byte[] testBytes;
    
      @BeforeExperiment
      void setUp() {
        testBytes = new byte[size];
        new Random(RANDOM_SEED).nextBytes(testBytes);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 16:53:43 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequest.java

        public static final int FILE_NOTIFY_CHANGE_STREAM_SIZE = 0x400;
        /**
         * 
         */
        public static final int FILE_NOTIFY_CHANGE_STREAM_WRITE = 0x800;
    
        private final byte[] fileId;
        private int outputBufferLength;
        private int notifyFlags;
        private int completionFilter;
    
    
        /**
         * @param config
         * @param fileId
         */
        public Smb2ChangeNotifyRequest ( Configuration config, byte[] fileId ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.6K bytes
    - Viewed (0)
  4. samples/guide/src/main/java/okhttp3/recipes/ParseResponseWithMoshi.java

    import java.util.Map;
    import okhttp3.OkHttpClient;
    import okhttp3.Request;
    import okhttp3.Response;
    
    public final class ParseResponseWithMoshi {
      private final OkHttpClient client = new OkHttpClient();
      private final Moshi moshi = new Moshi.Builder().build();
      private final JsonAdapter<Gist> gistJsonAdapter = moshi.adapter(Gist.class);
    
      public void run() throws Exception {
        Request request = new Request.Builder()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun May 22 01:29:42 UTC 2016
    - 1.8K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/io/CloseableUtilTest.java

        public void testClose_noThrowIOException() throws Exception {
            final OutputStream out = new IOExceptionOccurOutputStream();
            CloseableUtil.close(out);
        }
    
        private static class NotifyOutputStream extends OutputStream {
            private String notify_;
    
            @Override
            public void write(final int arg0) throws IOException {
            }
    
            @Override
            public void close() throws IOException {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/UnresolvedArtifacts.java

     * the remote repositories where attempts were made to resolve the artifacts.
     *
     */
    @Deprecated
    public class UnresolvedArtifacts {
        private Artifact originatingArtifact;
    
        private List<Artifact> artifacts;
    
        private List<ArtifactRepository> remoteRepositories;
    
        public UnresolvedArtifacts(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectBuilderRequest.java

            }
    
            private static class DefaultProjectBuilderRequest extends BaseRequest implements ProjectBuilderRequest {
                private final Path path;
                private final Source source;
                private final boolean allowStubModel;
                private final boolean recursive;
                private final boolean processPlugins;
                private final List<RemoteRepository> repositories;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Sep 12 06:19:14 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  8. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/SourcesRepository.kt

        val visitor: GenericVisitor<T, Unit?>
    )
    
    
    internal
    class SourcesRepository(
    
        private
        val sourceRoots: List<File>,
    
        private
        val compilationClasspath: List<File>
    
    ) : AutoCloseable {
    
        private
        val openJavaCompilationUnitsByFile = mutableMapOf<File, CompilationUnit>()
    
        private
        val openKotlinCompilationUnitsByRoot = mutableMapOf<File, KotlinSourceParser.ParsedKotlinFiles>()
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jun 28 08:29:24 UTC 2024
    - 4K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/it/admin/DuplicateHostTests.java

    @Tag("it")
    public class DuplicateHostTests extends CrudTestBase {
    
        private static final String NAME_PREFIX = "duplicateHostTest_";
        private static final String API_PATH = "/api/admin/duplicatehost";
        private static final String LIST_ENDPOINT_SUFFIX = "settings";
        private static final String ITEM_ENDPOINT_SUFFIX = "setting";
    
        private static final String KEY_PROPERTY = "regular_name";
    
        @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/it/admin/LabelTypeTests.java

    @Tag("it")
    public class LabelTypeTests extends CrudTestBase {
    
        private static final String NAME_PREFIX = "labelTypeTest_";
        private static final String API_PATH = "/api/admin/labeltype";
        private static final String LIST_ENDPOINT_SUFFIX = "settings";
        private static final String ITEM_ENDPOINT_SUFFIX = "setting";
    
        private static final String KEY_PROPERTY = "name";
    
        @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.3K bytes
    - Viewed (0)
Back to top