Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 1,248 for systemNs (0.06 sec)

  1. samples/guide/src/main/java/okhttp3/recipes/PrintEventsNonConcurrent.java

            .url("https://publicobject.com/helloworld.txt")
            .build();
    
        System.out.println("REQUEST 1 (new connection)");
        try (Response response = client.newCall(request).execute()) {
          // Consume and discard the response body.
          response.body().source().readByteString();
        }
    
        System.out.println("REQUEST 2 (pooled connection)");
        try (Response response = client.newCall(request).execute()) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 16 23:20:49 UTC 2020
    - 5.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/dcerpc/ndr/NdrBuffer.java

                i--;
            }
            return n;
        }
    
    
        public void writeOctetArray ( byte[] b, int i, int l ) {
            System.arraycopy(b, i, this.buf, this.index, l);
            advance(l);
        }
    
    
        public void readOctetArray ( byte[] b, int i, int l ) {
            System.arraycopy(this.buf, this.index, b, i, l);
            advance(l);
        }
    
    
        public int getLength () {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.6K bytes
    - Viewed (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t07/ProjectInheritanceTest.java

            // load everything...
            MavenProject project1 = getProjectWithDependencies(pom1);
    
            assertEquals(pom0Basedir, project1.getParent().getBasedir());
            System.out.println("Project " + project1.getId() + " " + project1);
            Set set = project1.getArtifacts();
            assertNotNull(set, "No artifacts");
            assertTrue(set.size() > 0, "No Artifacts");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. docs/features/events.md

    class PrintingEventListener extends EventListener {
      private long callStartNanos;
    
      private void printEvent(String name) {
        long nowNanos = System.nanoTime();
        if (name.equals("callStart")) {
          callStartNanos = nowNanos;
        }
        long elapsedNanos = nowNanos - callStartNanos;
        System.out.printf("%.3f %s%n", elapsedNanos / 1000000000d, name);
      }
    
      @Override public void callStart(Call call) {
        printEvent("callStart");
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 7.7K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

                }
    
                // The temporary file is named destination + ".tmp" and is done this way to ensure
                // that the temporary file is in the same file system as the destination because the
                // File.renameTo operation doesn't really work across file systems.
                // So we will attempt to do a File.renameTo for efficiency and atomicity, if this fails
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 29.9K bytes
    - Viewed (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/profiles/manager/DefaultProfileManagerTest.java

            Activation defaultActivation = new Activation();
    
            defaultActivation.setActiveByDefault(true);
    
            defaultActivated.setActivation(defaultActivation);
    
            Properties props = System.getProperties();
    
            ProfileManager profileManager = new DefaultProfileManager(getContainer(), props);
    
            profileManager.addProfile(notActivated);
            profileManager.addProfile(defaultActivated);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  7. guava-tests/benchmark/com/google/common/base/StopwatchBenchmark.java

        }
        return total;
      }
    
      @Benchmark
      long manual(int reps) {
        long total = 0;
        for (int i = 0; i < reps; i++) {
          long start = System.nanoTime();
          // here is where you would do something
          total += (System.nanoTime() - start);
        }
        return total;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  8. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/util/ProfileUtil.java

        private static final String SPRING_PROFILES_ACTIVE = "spring.profiles.active";
    
        public static void setup() {
            final List<String> list = new ArrayList<String>();
    
            final String values = System.getProperty(SPRING_PROFILES_ACTIVE);
            if (values != null) {
                for (final String value : values.split(",")) {
                    list.add(value);
                }
            }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/LocalRepository.java

     *
     * <p>By default, the local repository is located in the {@code .m2/repository}
     * directory within the user's home directory ({@code ~/.m2/repository} on
     * Unix-like systems or {@code C:\Users\YourName\.m2\repository} on Windows).
     * The location of the local repository can be customized in the
     * {@code settings.xml} file.</p>
     *
     * @since 4.0.0
     * @see Repository
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 2K bytes
    - Viewed (0)
  10. common/scripts/metallb-native.yaml

      name: controller
      namespace: metallb-system
    ---
    apiVersion: v1
    kind: ServiceAccount
    metadata:
      labels:
        app: metallb
      name: speaker
      namespace: metallb-system
    ---
    apiVersion: rbac.authorization.k8s.io/v1
    kind: Role
    metadata:
      labels:
        app: metallb
      name: controller
      namespace: metallb-system
    rules:
    - apiGroups:
      - ""
      resources:
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Feb 23 23:56:31 UTC 2024
    - 63.9K bytes
    - Viewed (0)
Back to top