Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for username (0.2 sec)

  1. guava-tests/test/com/google/common/io/FilesCreateTempDirTest.java

         * than relying on the one from the system property.
         *
         * - Under Java 8, createTempDir() fails because it falls back to the bogus username from the
         * system property.
         */
    
        String save = System.getProperty("user.name");
        System.setProperty("user.name", "-this-is-definitely-not-the-username-we-are-running-as//?");
        try {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Oct 06 17:11:11 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  2. .github/workflows/ci.yml

              java-version: 21
              distribution: 'zulu'
              server-id: sonatype-nexus-snapshots
              server-username: CI_DEPLOY_USERNAME
              server-password: CI_DEPLOY_PASSWORD
              cache: 'maven'
          - name: 'Publish'
            env:
              CI_DEPLOY_USERNAME: ${{ secrets.CI_DEPLOY_USERNAME }}
              CI_DEPLOY_PASSWORD: ${{ secrets.CI_DEPLOY_PASSWORD }}
            run: ./util/deploy_snapshot.sh
    
      generate_docs:
    Others
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 24 19:33:50 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

     *
     * <pre>{@code
     * FluentFuture<UserName> userName =
     *     ClosingFuture.submit(
     *             closer -> closer.eventuallyClose(database.newTransaction(), closingExecutor),
     *             executor)
     *         .transformAsync((closer, transaction) -> transaction.queryClosingFuture("..."), executor)
     *         .transform((closer, result) -> result.get("userName"), directExecutor())
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 98.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/Futures.java

       *
       * <p>Example:
       *
       * <pre>{@code
       * final ListenableFuture<Instant> loginDateFuture =
       *     loginService.findLastLoginDate(username);
       * final ListenableFuture<List<String>> recentCommandsFuture =
       *     recentCommandsService.findRecentCommands(username);
       * ListenableFuture<UsageHistory> usageFuture =
       *     Futures.whenAllSucceed(loginDateFuture, recentCommandsFuture)
       *         .call(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/io/FilesCreateTempDirTest.java

         * than relying on the one from the system property.
         *
         * - Under Java 8, createTempDir() fails because it falls back to the bogus username from the
         * system property.
         */
    
        String save = System.getProperty("user.name");
        System.setProperty("user.name", "-this-is-definitely-not-the-username-we-are-running-as//?");
        try {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Oct 06 17:11:11 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  6. CONTRIBUTING.md

    project.
    
      - If you are an individual writing original source code and you're sure you
        own the intellectual property, then you'll need to sign an [individual
        CLA][]. Please include your GitHub username.
      - If you work for a company that wants to allow you to contribute your work,
        then you'll need to sign a [corporate CLA][].
    
    You generally only need to submit a CLA once, so if you've already submitted
    Plain Text
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Nov 17 18:47:47 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/Callables.java

      private static boolean trySetName(String threadName, Thread currentThread) {
        /*
         * setName should usually succeed, but the security manager can prohibit it. Is there a way to
         * see if we have the modifyThread permission without catching an exception?
         */
        try {
          currentThread.setName(threadName);
          return true;
        } catch (SecurityException e) {
          return false;
        }
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 18:32:03 GMT 2023
    - 4.4K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java

        ThreadFactory backingThreadFactory =
            new ThreadFactory() {
              @Override
              public Thread newThread(Runnable r) {
                Thread thread = new Thread(r);
                thread.setName(THREAD_NAME);
                thread.setPriority(THREAD_PRIORITY);
                thread.setDaemon(THREAD_DAEMON);
                thread.setUncaughtExceptionHandler(UNCAUGHT_EXCEPTION_HANDLER);
                return thread;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/ThreadFactoryBuilder.java

      /** Creates a new {@link ThreadFactory} builder. */
      public ThreadFactoryBuilder() {}
    
      /**
       * Sets the naming format to use when naming threads ({@link Thread#setName}) which are created
       * with this ThreadFactory.
       *
       * @param nameFormat a {@link String#format(String, Object...)}-compatible format String, to which
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 10 21:56:03 GMT 2023
    - 7.6K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java

        ThreadFactory backingThreadFactory =
            new ThreadFactory() {
              @Override
              public Thread newThread(Runnable r) {
                Thread thread = new Thread(r);
                thread.setName(THREAD_NAME);
                thread.setPriority(THREAD_PRIORITY);
                thread.setDaemon(THREAD_DAEMON);
                thread.setUncaughtExceptionHandler(UNCAUGHT_EXCEPTION_HANDLER);
                return thread;
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 7.5K bytes
    - Viewed (0)
Back to top