Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 246 for system (0.25 sec)

  1. android/guava/src/com/google/common/util/concurrent/Uninterruptibles.java

          long remainingNanos = unit.toNanos(timeout);
          long end = System.nanoTime() + remainingNanos;
    
          while (true) {
            try {
              // CountDownLatch treats negative timeouts just like zero.
              return latch.await(remainingNanos, NANOSECONDS);
            } catch (InterruptedException e) {
              interrupted = true;
              remainingNanos = end - System.nanoTime();
            }
          }
        } finally {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 14.4K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/testing/GcFinalization.java

        if (future.isDone()) {
          return;
        }
        long timeoutSeconds = timeoutSeconds();
        long deadline = System.nanoTime() + SECONDS.toNanos(timeoutSeconds);
        do {
          System.runFinalization();
          if (future.isDone()) {
            return;
          }
          System.gc();
          try {
            future.get(1L, SECONDS);
            return;
          } catch (CancellationException | ExecutionException ok) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  3. 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 Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 16 03:24:50 GMT 2021
    - 13.3K bytes
    - Viewed (0)
  4. maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/DefaultArtifactCollectorTest.java

            checkScopeUpdate(Artifact.SCOPE_RUNTIME, Artifact.SCOPE_SYSTEM, Artifact.SCOPE_SYSTEM);
            checkScopeUpdate(Artifact.SCOPE_RUNTIME, Artifact.SCOPE_TEST, Artifact.SCOPE_RUNTIME);
    
            /* farthest = system */
            checkScopeUpdate(Artifact.SCOPE_SYSTEM, Artifact.SCOPE_COMPILE, Artifact.SCOPE_COMPILE);
            checkScopeUpdate(Artifact.SCOPE_SYSTEM, Artifact.SCOPE_PROVIDED, Artifact.SCOPE_PROVIDED);
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  5. build-logic/cleanup/src/main/java/gradlebuild/cleanup/services/KillLeakingJavaProcesses.java

                forEachJavaProcess(psOutput, commandLineArgsPattern, (pid, line) -> {
                    System.out.println("Killing Gradle process with PID " + pid + ": " + line);
                    pkill(pid);
                });
            } else {
                forEachLeakingJavaProcess(rootProjectDir, (pid, line) -> {
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Apr 26 09:46:00 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/io/TempFileCreator.java

             * So this is probably just the "Windows Java 8" case. In that case, if we wanted *another*
             * layer of fallback before consulting the system property, we could try
             * com.sun.security.auth.module.NTSystem.
             *
             * But for now, we use the value from the system property as our best guess.
             */
            return fromSystemProperty;
          } catch (InvocationTargetException e) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Oct 06 17:11:11 GMT 2023
    - 12.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/collection/ArrayUtil.java

                return a;
            }
            @SuppressWarnings("unchecked")
            final T[] array = (T[]) Array.newInstance(a.getClass().getComponentType(), a.length + b.length);
            System.arraycopy(a, 0, array, 0, a.length);
            System.arraycopy(b, 0, array, a.length, b.length);
            return array;
        }
    
        /**
         * 二つの配列を連結した配列を返します。
         * <p>
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 42.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/ntlmssp/Type2Message.java

                offset += 2;
                System.arraycopy(domain, 0, targetInfo, offset, domainLength);
                offset += domainLength;
            }
            if ( serverLength > 0 ) {
                writeUShort(targetInfo, offset, 1);
                offset += 2;
                writeUShort(targetInfo, offset, serverLength);
                offset += 2;
                System.arraycopy(server, 0, targetInfo, offset, serverLength);
            }
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 14.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/ntlmssp/Type2Message.java

                System.arraycopy(NTLMSSP_SIGNATURE, 0, type2, 0, 8);
                writeULong(type2, 8, 2);
                writeSecurityBuffer(type2, 12, data, target);
                writeULong(type2, 20, flags);
                System.arraycopy(challenge != null ? challenge : new byte[8], 0,
                        type2, 24, 8);
                if (context != null) System.arraycopy(context, 0, type2, 32, 8);
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 12.6K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/execution/MavenExecutionRequest.java

        List<String> getGoals();
    
        // Properties
    
        /**
         * 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: Wed Dec 20 13:03:57 GMT 2023
    - 17.7K bytes
    - Viewed (0)
Back to top