Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 1,673 for system (0.35 sec)

  1. android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java

        if (isJdk9OrHigher()) {
          return;
        }
        SecurityManager oldSecurityManager = System.getSecurityManager();
        try {
          System.setSecurityManager(null);
          doTestUnloadable();
        } finally {
          System.setSecurityManager(oldSecurityManager);
        }
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 16 03:24:50 GMT 2021
    - 13.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/TestLocking.java

    //                      System.out.print('l');
                        } else if (r < 1.0) {
                            InputStream in = f.getInputStream();
                            while (in.read(buf) > 0) {
    //                          System.out.print('r');
                            }
                            in.close();
                        }
                    } catch (IOException ioe) {
                        System.err.println(ioe.getMessage());
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 3.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

        else super.runTest();
      }
    
      protected void runTestProfiled() throws Throwable {
        long t0 = System.nanoTime();
        try {
          super.runTest();
        } finally {
          long elapsedMillis = (System.nanoTime() - t0) / (1000L * 1000L);
          if (elapsedMillis >= profileThreshold)
            System.out.printf("%n%s: %d%n", toString(), elapsedMillis);
        }
      }
    
      //     /**
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 37.7K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/project/ProjectBuildingRequest.java

        List<ArtifactRepository> getPluginArtifactRepositories();
    
        /**
         * Sets the system properties to use for interpolation and profile activation. The system properties are collected
         * from the runtime environment like {@link System#getProperties()} and environment variables.
         *
         * @param systemProperties The system properties, may be {@code null}.
         * @return This request, never {@code null}.
         */
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 7K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/ListGenerators.java

          String[] prefix = {"f", "g"};
          String[] suffix = {"h", "i"};
    
          String[] all = new String[2 + elements.length + 2];
          System.arraycopy(prefix, 0, all, 0, 2);
          System.arraycopy(elements, 0, all, 2, elements.length);
          System.arraycopy(suffix, 0, all, 2 + elements.length, 2);
    
          return ImmutableList.copyOf(all).subList(2, elements.length + 2);
        }
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 5K bytes
    - Viewed (0)
  6. samples/guide/src/main/java/okhttp3/recipes/WebSocketEcho.java

      @Override public void onMessage(WebSocket webSocket, String text) {
        System.out.println("MESSAGE: " + text);
      }
    
      @Override public void onMessage(WebSocket webSocket, ByteString bytes) {
        System.out.println("MESSAGE: " + bytes.hex());
      }
    
      @Override public void onClosing(WebSocket webSocket, int code, String reason) {
        webSocket.close(1000, null);
        System.out.println("CLOSE: " + code + " " + reason);
      }
    
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 04 11:40:21 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  7. maven-compat/src/test/java/org/apache/maven/artifact/resolver/filter/ScopeArtifactFilterTest.java

        @Test
        void testInclude_RuntimePlusSystem() {
            ScopeArtifactFilter filter = new ScopeArtifactFilter(Artifact.SCOPE_RUNTIME_PLUS_SYSTEM);
    
            assertTrue(filter.include(newArtifact(Artifact.SCOPE_COMPILE)));
            assertTrue(filter.include(newArtifact(Artifact.SCOPE_SYSTEM)));
            assertFalse(filter.include(newArtifact(Artifact.SCOPE_PROVIDED)));
            assertTrue(filter.include(newArtifact(Artifact.SCOPE_RUNTIME)));
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 3.8K bytes
    - Viewed (0)
  8. maven-api-impl/src/test/java/org/apache/maven/internal/impl/standalone/ApiRunner.java

        }
    
        @Provides
        static Session newSession(RepositorySystem system, Lookup lookup) {
            Map<String, String> properties = new HashMap<>();
            // Env variables prefixed with "env."
            System.getenv().forEach((k, v) -> properties.put("env." + k, v));
            // Java System properties
            System.getProperties().forEach((k, v) -> properties.put(k.toString(), v.toString()));
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  9. okhttp-testing-support/src/main/kotlin/okhttp3/RecordingConnectionListener.kt

      ) {
        logEvent(ConnectionEvent.ConnectEnd(System.nanoTime(), connection, route, call))
      }
    
      override fun connectionClosed(connection: Connection) = logEvent(ConnectionEvent.ConnectionClosed(System.nanoTime(), connection))
    
      override fun connectionAcquired(
        connection: Connection,
        call: Call,
      ) {
        logEvent(ConnectionEvent.ConnectionAcquired(System.nanoTime(), connection, call))
      }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/Ticker.java

       * A ticker that reads the current time using {@link System#nanoTime}.
       *
       * @since 10.0
       */
      public static Ticker systemTicker() {
        return SYSTEM_TICKER;
      }
    
      private static final Ticker SYSTEM_TICKER =
          new Ticker() {
            @Override
            @SuppressWarnings("GoodTime") // reading system time without TimeSource
            public long read() {
              return System.nanoTime();
            }
          };
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue May 23 23:27:53 GMT 2023
    - 1.8K bytes
    - Viewed (0)
Back to top