Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 326 for isDeep (0.06 sec)

  1. internal/pubsub/pubsub_test.go

    	}
    	if err := ps.Subscribe(MaskAll, ch2, doneCh2, nil); err != nil {
    		t.Fatalf("unexpected error: %v", err)
    	}
    
    	close(doneCh1)
    	// Allow for the above statement to take effect.
    	time.Sleep(100 * time.Millisecond)
    	ps.Lock()
    	if len(ps.subs) != 1 {
    		t.Fatal("expected 1 subscriber")
    	}
    	ps.Unlock()
    	close(doneCh2)
    }
    
    type maskString string
    
    func (m maskString) Mask() uint64 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  2. tests/prepared_stmt_test.go

    	user := *GetUser("prepared_stmt", Config{})
    
    	txCtx.Create(&user)
    
    	var result1 User
    	if err := txCtx.Find(&result1, user.ID).Error; err != nil {
    		t.Fatalf("no error should happen but got %v", err)
    	}
    
    	time.Sleep(time.Second)
    
    	var result2 User
    	if err := tx.Find(&result2, user.ID).Error; err != nil {
    		t.Fatalf("no error should happen but got %v", err)
    	}
    
    	user2 := *GetUser("prepared_stmt2", Config{})
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Aug 22 11:02:05 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/QueuesTest.java

        Interrupter(Thread threadToInterrupt) {
          this.threadToInterrupt = threadToInterrupt;
        }
    
        @Override
        public void run() {
          try {
            Thread.sleep(100);
          } catch (InterruptedException e) {
            throw new AssertionError();
          } finally {
            threadToInterrupt.interrupt();
          }
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  4. helm-releases/minio-1.0.2.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 Aug 24 18:58:05 UTC 2021
    - 13.6K bytes
    - Viewed (0)
  5. cmd/admin-handlers-users.go

    	user, exists := globalIAMSys.GetUser(ctx, accessKey)
    	if exists && (user.Credentials.IsTemp() || user.Credentials.IsServiceAccount()) {
    		// Updating STS credential is not allowed, and this API does not
    		// support updating service accounts.
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrAddUserInvalidArgument), r.URL)
    		return
    	}
    
    	if (cred.IsTemp() || cred.IsServiceAccount()) && cred.ParentUser == accessKey {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 03 23:11:02 UTC 2024
    - 85.1K bytes
    - Viewed (0)
  6. mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt

        fun socketPolicy(socketPolicy: SocketPolicy) =
          apply {
            this.socketPolicy = socketPolicy
          }
    
        /**
         * Throttles the request reader and response writer to sleep for the given period after each
         * series of [bytesPerPeriod] bytes are transferred. Use this to simulate network behavior.
         */
        fun throttleBody(
          bytesPerPeriod: Long,
          period: Long,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 23 14:31:42 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/tests/ConcurrencyTest.java

                public void run () {
    
                    try {
                        synchronized ( lock ) {
                            lock.wait(1000);
                        }
    
                        Thread.sleep(100);
                        t.interrupt();
                    }
                    catch ( InterruptedException e ) {
                        e.printStackTrace();
                    }
                }
            });
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 14 17:40:50 UTC 2021
    - 17.6K bytes
    - Viewed (0)
  8. cmd/storage-rest_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    
    	for {
    		_, err := restClient.DiskInfo(context.Background(), DiskInfoOptions{})
    		if err == nil || errors.Is(err, errUnformattedDisk) {
    			break
    		}
    		time.Sleep(time.Duration(rand.Float64() * float64(100*time.Millisecond)))
    	}
    
    	return restClient
    }
    
    func TestStorageRESTClientDiskInfo(t *testing.T) {
    	restClient := newStorageRESTHTTPServerClient(t)
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 22 07:04:48 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  9. helm-releases/minio-3.1.2.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: Sat Sep 18 04:26:47 UTC 2021
    - 14.4K bytes
    - Viewed (0)
  10. helm-releases/minio-3.1.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: Mon Sep 20 05:30:22 UTC 2021
    - 14.4K bytes
    - Viewed (0)
Back to top