Search Options

Results per page
Sort
Preferred Languages
Advance

Results 751 - 760 of 929 for flen (0.03 sec)

  1. cmd/dynamic-timeouts.go

    	failures, max := 0, time.Duration(0)
    	for _, dur := range entries[:] {
    		if dur == maxDuration {
    			failures++
    		} else if dur > max {
    			max = dur
    		}
    	}
    
    	failPct := float64(failures) / float64(len(entries))
    
    	if failPct > dynamicTimeoutIncreaseThresholdPct {
    		// We are hitting the timeout too often, so increase the timeout by 25%
    		timeout := atomic.LoadInt64(&dt.timeout) * 125 / 100
    
    		// Set upper cap.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Aug 19 23:21:05 UTC 2022
    - 4.5K bytes
    - Viewed (0)
  2. internal/s3select/simdj/reader_amd64_test.go

    				if err != nil {
    					t.Error(err)
    				}
    				err = want.WriteJSON(&wantB)
    				if err != nil {
    					t.Error(err)
    				}
    				// truncate newline from 'want'
    				wantB.Truncate(wantB.Len() - 1)
    				if !bytes.Equal(gotB.Bytes(), wantB.Bytes()) {
    					t.Errorf("JSON output mismatch.\nwant: %s\ngot:  %s", wantB.String(), gotB.String())
    				}
    			}
    		})
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  3. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableList.java

        checkElementsNotNull(array);
        Arrays.sort(array, comparator);
        return asImmutableList(array);
      }
    
      private static <E> List<E> nullCheckedList(Object... array) {
        for (int i = 0, len = array.length; i < len; i++) {
          if (array[i] == null) {
            throw new NullPointerException("at index " + i);
          }
        }
        @SuppressWarnings("unchecked")
        E[] castedArray = (E[]) array;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 14 22:14:46 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbCopyUtil.java

            if ( this.e != null ) {
                throw this.e;
            }
        }
    
    
        synchronized void write ( byte[] buffer, int len, SmbFileOutputStream d ) {
            this.b = buffer;
            this.n = len;
            this.out = d;
            this.ready = false;
            notify();
        }
    
    
        @Override
        public void run () {
            synchronized ( this ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:52:42 UTC 2020
    - 17.1K bytes
    - Viewed (0)
  5. tests/delete_test.go

    		GetUser("delete-returning-3", Config{}),
    	}
    	DB.Create(&users)
    
    	var results []User
    	DB.Where("name IN ?", []string{users[0].Name, users[1].Name}).Clauses(clause.Returning{}).Delete(&results)
    	if len(results) != 2 {
    		t.Errorf("failed to return delete data, got %v", results)
    	}
    
    	var count int64
    	DB.Model(&User{}).Where("name IN ?", []string{users[0].Name, users[1].Name, users[2].Name}).Count(&count)
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Oct 10 07:03:34 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  6. docs/vi/docs/tutorial/index.md

    ...dó cũng bao gồm `uvicorn`, bạn có thể sử dụng như một server để chạy code của bạn.
    
    /// note
    
    Bạn cũng có thể cài đặt nó từng phần.
    
    Đây là những gì bạn có thể sẽ làm một lần duy nhất bạn muốn triển khai ứng dụng của bạn lên production:
    
    ```
    pip install fastapi
    ```
    
    Cũng cài đặt `uvicorn` để làm việc như một server:
    
    ```
    pip install "uvicorn[standard]"
    ```
    
    Và tương tự với từng phụ thuộc tùy chọn mà bạn muốn sử dụng.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  7. cmd/server-main.go

    				}()
    			})
    		}
    
    		// if we see FTP args, start FTP if possible
    		if len(globalServerCtxt.FTP) > 0 {
    			bootstrapTrace("go startFTPServer", func() {
    				go startFTPServer(globalServerCtxt.FTP)
    			})
    		}
    
    		// If we see SFTP args, start SFTP if possible
    		if len(globalServerCtxt.SFTP) > 0 {
    			bootstrapTrace("go startSFTPServer", func() {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 21:50:11 UTC 2024
    - 35.2K bytes
    - Viewed (1)
  8. cmd/admin-handlers-users-race_test.go

    				err := s.adm.RemoveUser(ctx, accessKeys[i])
    				if err != nil {
    					return err
    				}
    				c.mustNotListObjects(ctx, uClient, bucket)
    				return nil
    			}
    		}(i), i)
    	}
    	if errs := g.Wait(); len(errs) > 0 {
    		c.Fatalf("unable to remove users: %v", errs)
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 28 09:06:25 UTC 2024
    - 4K bytes
    - Viewed (0)
  9. internal/config/storageclass/storage-class.go

    	s := strings.Split(storageClassEnv, ":")
    
    	// only two elements allowed in the string - "scheme" and "number of parity drives"
    	if len(s) > 2 {
    		return StorageClass{}, config.ErrStorageClassValue(nil).Msg("Too many sections in " + storageClassEnv)
    	} else if len(s) < 2 {
    		return StorageClass{}, config.ErrStorageClassValue(nil).Msg("Too few sections in " + storageClassEnv)
    	}
    
    	// only allowed scheme is "EC"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbTransport.java

            int i = 0, b = 0, len = path.length();
    
            do {
                if (ri == rlast) {
                    result[rlast] = path.substring(b);
                    return;
                }
                if (i == len || path.charAt(i) == '\\') {
                    result[ri++] = path.substring(b, i);
                    b = i + 1;
                }
            } while (i++ < len);
    
            while (ri < result.length) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 31.2K bytes
    - Viewed (0)
Back to top