Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 1,966 for myitem (0.08 sec)

  1. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/GraphTest.java

            }
            Collections.shuffle(data);
    
            long t0 = System.nanoTime();
            Graph g = new Graph();
            data.parallelStream().forEach(s -> {
                try {
                    g.addEdge(s[0], s[1]);
                } catch (Exception e) {
                    throw new RuntimeException(e);
                }
            });
            long t1 = System.nanoTime();
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/ReadWriteTest.java

            }
            log.debug("Read " + length + " took " + ( System.currentTimeMillis() - start ));
        }
    
    
        /**
         * @param bufSize
         * @param length
         * @param os
         * @throws IOException
         */
        static void writeRandom ( int bufSize, long length, OutputStream os ) throws IOException {
            long start = System.currentTimeMillis();
            byte buffer[] = new byte[bufSize];
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 13.2K bytes
    - Viewed (0)
  3. samples/guide/src/main/java/okhttp3/recipes/PrintEvents.java

          @Override public EventListener create(Call call) {
            long callId = nextCallId.getAndIncrement();
            System.out.printf("%04d %s%n", callId, call.request().url());
            return new PrintingEventListener(callId, System.nanoTime());
          }
        };
    
        final long callId;
        final long callStartNanos;
    
        PrintingEventListener(long callId, long callStartNanos) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 16 23:20:49 UTC 2020
    - 6.1K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/opensearch/extension/analysis/SynonymLoader.java

            this.expand = expand;
            this.analyzer = analyzer;
    
            createSynonymMap(false);
        }
    
        public boolean isUpdate(final long time) {
            if (System.currentTimeMillis() - lastChecked > reloadInterval) {
                lastChecked = System.currentTimeMillis();
                final long timestamp = reloadableFile.lastModified();
                if (timestamp != time) {
                    synchronized (reloadableFile) {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  5. cmd/metrics-v3.go

    	systemNetworkInternodeCollectorPath collectorPath = "/system/network/internode"
    	systemDriveCollectorPath            collectorPath = "/system/drive"
    	systemMemoryCollectorPath           collectorPath = "/system/memory"
    	systemCPUCollectorPath              collectorPath = "/system/cpu"
    	systemProcessCollectorPath          collectorPath = "/system/process"
    
    	debugGoCollectorPath collectorPath = "/debug/go"
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Aug 02 00:55:27 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  6. samples/guide/src/main/java/okhttp3/recipes/PostStreamingWithPipe.java

        streamPrimesToSinkAsynchronously(pipeBody.sink());
    
        try (Response response = client.newCall(request).execute()) {
          if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
    
          System.out.println(response.body().string());
        }
      }
    
      private void streamPrimesToSinkAsynchronously(final BufferedSink sink) {
        Thread thread = new Thread("writer") {
          @Override public void run() {
            try {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Jul 06 03:18:15 UTC 2018
    - 3.1K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/interval/impl/HostIntervalControllerTest.java

            final List<Callable<Integer>> tasks = new ArrayList<Callable<Integer>>();
            for (int i = 0; i < numTasks; i++) {
                tasks.add(testCallable);
            }
    
            // 時間取得
            final long time = System.nanoTime();
    
            // Callableタスク(複数)を実行する
            final ExecutorService executor = Executors.newFixedThreadPool(numTasks);
            try {
                final List<Future<Integer>> futures = executor.invokeAll(tasks);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java

            int start = bufferIndex;
    
            if ( ( this.server.scapabilities & SmbConstants.CAP_EXTENDED_SECURITY ) == 0 ) {
                this.server.encryptionKey = new byte[this.server.encryptionKeyLength];
                System.arraycopy(buffer, bufferIndex, this.server.encryptionKey, 0, this.server.encryptionKeyLength);
                bufferIndex += this.server.encryptionKeyLength;
                if ( this.byteCount > this.server.encryptionKeyLength ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:52:42 UTC 2020
    - 15.4K bytes
    - Viewed (0)
  9. cni/pkg/nodeagent/informers_test.go

    	fs.On("AddPodToMesh",
    		ctx,
    		mock.IsType(pod),
    		util.GetPodIPsIfPresent(pod),
    		"",
    	).Return(nil)
    
    	server := getFakeDP(fs, client.Kube())
    
    	handlers := setupHandlers(ctx, client, server, "istio-system")
    	client.RunAndWait(ctx.Done())
    	go handlers.Start()
    
    	// label the namespace
    	labelsPatch := []byte(fmt.Sprintf(`{"metadata":{"labels":{"%s":"%s"}}}`,
    		label.IoIstioDataplaneMode.Name, constants.DataplaneModeAmbient))
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  10. samples/tlssurvey/src/main/kotlin/okhttp3/survey/Clients.kt

      return Client(
        userAgent = "OkHttp",
        version = version,
        enabled = enabled,
      )
    }
    
    fun currentVm(ianaSuites: IanaSuites): Client {
      return systemDefault(
        name = System.getProperty("java.vm.name"),
        version = System.getProperty("java.version"),
        ianaSuites = ianaSuites,
      )
    }
    
    fun conscrypt(ianaSuites: IanaSuites): Client {
      val version = Conscrypt.version()
      return systemDefault(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Apr 02 01:44:15 UTC 2024
    - 2.5K bytes
    - Viewed (0)
Back to top