Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 315 for isDeep (0.09 sec)

  1. helm-releases/minio-3.6.4.tgz

    in the event of a failed command. {{- if .Values.configPathmc }} MC_CONFIG_DIR="{{ .Values.configPathmc }}" MC="/usr/bin/mc --insecure --config-dir ${MC_CONFIG_DIR}" {{- else }} MC="/usr/bin/mc --insecure" {{- end }} # connectToMinio # Use a check-sleep-check loop to wait for MinIO service to be available connectToMinio() { SCHEME=$1 ATTEMPTS=0 ; LIMIT=29 ; # Allow 30 attempts set -e ; # fail if we can't read the keys. ACCESS=$(cat /config/rootUser) ; SECRET=$(cat /config/rootPassword) ; set +e ;...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Apr 12 01:30:28 UTC 2022
    - 17.9K bytes
    - Viewed (0)
  2. cmd/site-replication-utils.go

    			<-ctx.Done()
    			return
    		}
    		duration := time.Duration(r.Float64() * float64(time.Second*10))
    		if duration < time.Second {
    			// Make sure to sleep at least a second to avoid high CPU ticks.
    			duration = time.Second
    		}
    		time.Sleep(duration)
    	}
    }
    
    // load resync metrics saved on disk into memory
    func (sm *siteResyncMetrics) load(ctx context.Context, objAPI ObjectLayer) error {
    	if objAPI == nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  3. android/guava-testlib/test/com/google/common/util/concurrent/testing/TestingExecutorsTest.java

              public void run() {
                taskDone = true;
              }
            };
        ScheduledFuture<?> future =
            TestingExecutors.noOpScheduledExecutor().schedule(task, 10, MILLISECONDS);
        Thread.sleep(20);
        assertFalse(taskDone);
        assertFalse(future.isDone());
      }
    
      public void testNoOpScheduledExecutorShutdown() {
        ListeningScheduledExecutorService executor = TestingExecutors.noOpScheduledExecutor();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  4. samples/guide/src/main/java/okhttp3/recipes/PostStreamingWithPipe.java

            try {
              sink.writeUtf8("Numbers\n");
              sink.writeUtf8("-------\n");
              for (int i = 2; i <= 997; i++) {
                System.out.println(i);
                Thread.sleep(10);
                sink.writeUtf8(String.format(" * %s = %s\n", i, factor(i)));
              }
              sink.close();
            } catch (IOException | InterruptedException e) {
              e.printStackTrace();
            }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Jul 06 03:18:15 UTC 2018
    - 3.1K bytes
    - Viewed (0)
  5. internal/grid/connection.go

    			if debugPrint {
    				fmt.Printf("%v Connecting to %v: %v. Retrying.\n", c.Local, c.Remote, err)
    			}
    			sleep := defaultDialTimeout + time.Duration(rng.Int63n(int64(defaultDialTimeout)))
    			next := dialStarted.Add(sleep / 2)
    			sleep = time.Until(next).Round(time.Millisecond)
    			if sleep < 0 {
    				sleep = 0
    			}
    			gotState := c.State()
    			if gotState == StateShutdown {
    				return
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 46.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/tests/TimeoutTest.java

                    }
    
                    try ( InputStream is = f.getInputStream() ) {
                        for ( int i = 0; i < 8; i++ ) {
                            is.read();
                            Thread.sleep(soTimeout);
                        }
                    }
                }
                finally {
                    f.delete();
                }
            }
        }
    
    
        @SuppressWarnings ( "resource" )
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 12.4K bytes
    - Viewed (0)
  7. buildscripts/multipart-quorum-test.sh

    		# remove mc source.
    		purge "${MC_BUILD_DIR}"
    	fi
    
    	"${MINIO[@]}" --address ":$start_port" "${WORK_DIR}/disk{1...10}" >"${WORK_DIR}/server1.log" 2>&1 &
    	pid=$!
    	disown $pid
    	sleep 5
    
    	if ! ps -p ${pid} 1>&2 >/dev/null; then
    		echo "server1 log:"
    		cat "${WORK_DIR}/server1.log"
    		echo "FAILED"
    		purge "$WORK_DIR"
    		exit 1
    	fi
    
    	"${PWD}/mc" mb --with-versioning minio/bucket
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 10:51:23 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  8. internal/auth/credentials.go

    	if cred.Expiration.IsZero() || cred.Expiration.Equal(timeSentinel) {
    		return false
    	}
    
    	return cred.Expiration.Before(time.Now().UTC())
    }
    
    // IsTemp - returns whether credential is temporary or not.
    func (cred Credentials) IsTemp() bool {
    	return cred.SessionToken != "" && !cred.Expiration.IsZero() && !cred.Expiration.Equal(timeSentinel)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 28 17:14:16 UTC 2024
    - 12K bytes
    - Viewed (0)
  9. internal/dsync/drwmutex.go

    				return locked
    			}
    
    			switch {
    			case opts.RetryInterval < 0:
    				return false
    			case opts.RetryInterval > 0:
    				time.Sleep(opts.RetryInterval)
    			default:
    				attempt++
    				time.Sleep(lockRetryBackOff(dm.rng, attempt))
    			}
    		}
    	}
    }
    
    func (dm *DRWMutex) startContinuousLockRefresh(lockLossCallback func(), id, source string, quorum int) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 15:49:49 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/internal/concurrent/TaskRunnerRealBackendTest.kt

        assertThat(log.take()).isEqualTo("normal task running")
        assertThat(log).isEmpty()
      }
    
      @Test fun idleLatchAfterShutdown() {
        queue.schedule("task") {
          Thread.sleep(250)
          backend.shutdown()
          return@schedule -1L
        }
    
        assertThat(queue.idleLatch().await(500L, TimeUnit.MILLISECONDS)).isTrue()
        assertThat(queue.idleLatch().count).isEqualTo(0)
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top