Search Options

Results per page
Sort
Preferred Languages
Advance

Results 291 - 300 of 343 for verifyFn (0.11 sec)

  1. cmd/admin-handlers.go

    		return false, false, fmt.Sprintf("not enough usable space available to perform speedtest - expected %s, got %s",
    			humanize.IBytes(capacityNeeded), humanize.IBytes(capacity))
    	}
    
    	// Verify if we can employ autotune without running out of capacity,
    	// if we do run out of capacity, make sure to turn-off autotuning
    	// in such situations.
    	if autotune {
    		newConcurrent := concurrent + (concurrent+1)/2
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/MultimapsTest.java

                map.put("bar", 2);
                multimap = Multimaps.forMap(map);
                return multimap.get("foo").iterator();
              }
    
              @Override
              protected void verify(List<Integer> elements) {
                assertEquals(newHashSet(elements), multimap.get("foo"));
              }
            };
    
        tester.test();
      }
    
      private enum Color {
        BLUE,
        RED,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 38.4K bytes
    - Viewed (0)
  3. cmd/utils.go

    	globalMinPartSize = 5 * humanize.MiByte
    
    	// Maximum Part ID for multipart upload is 10000
    	// (Acceptable values range from 1 to 10000 inclusive)
    	globalMaxPartID = 10000
    )
    
    // isMaxObjectSize - verify if max object size
    func isMaxObjectSize(size int64) bool {
    	return size > globalMaxObjectSize
    }
    
    // Check if part size is more than or equal to minimum allowed size.
    func isMinAllowedPartSize(size int64) bool {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:22:04 UTC 2024
    - 31.9K bytes
    - Viewed (0)
  4. src/archive/tar/reader.go

    		}
    		if bytes.Equal(tr.blk[:], zeroBlock[:]) {
    			return nil, nil, io.EOF // normal EOF; exactly 2 block of zeros read
    		}
    		return nil, nil, ErrHeader // Zero block and then non-zero block
    	}
    
    	// Verify the header matches a known format.
    	format := tr.blk.getFormat()
    	if format == FormatUnknown {
    		return nil, nil, ErrHeader
    	}
    
    	var p parser
    	hdr := new(Header)
    
    	// Unpack the V7 header.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Mar 08 01:59:14 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  5. cmd/test-utils_test.go

    	anonReq.Header.Set("Authorization", "nothingElse")
    	// initialize new response recorder.
    	rec = httptest.NewRecorder()
    	// call the handler using the HTTP Request.
    	apiRouter.ServeHTTP(rec, anonReq)
    	// verify the response body for `ErrAccessDenied` message =.
    	if anonReq.Method != http.MethodHead {
    		// read the response body.
    		actualContent, err := io.ReadAll(rec.Body)
    		if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 77K bytes
    - Viewed (0)
  6. src/archive/zip/reader.go

    				err = ErrChecksum
    			}
    		}
    	}
    	r.err = err
    	return
    }
    
    func (r *checksumReader) Close() error { return r.rc.Close() }
    
    // findBodyOffset does the minimum work to verify the file has a header
    // and returns the file body offset.
    func (f *File) findBodyOffset() (int64, error) {
    	var buf [fileHeaderLen]byte
    	if _, err := f.zipr.ReadAt(buf[:], f.headerOffset); err != nil {
    		return 0, err
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Sat Aug 03 01:05:29 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

          prev.setFuture(curr);
          prev = curr;
        }
        // prev represents the 'innermost' future
        prev.set("done");
        assertTrue(orig.isDone());
      }
    
      // Verify that StackOverflowError in a long chain of SetFuture doesn't cause the entire toString
      // call to fail
      @J2ktIncompatible
      @GwtIncompatible
      @AndroidIncompatible
      public void testSetFutureToString_stackOverflow() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  8. LICENSE

        d) If distribution of the work is made by offering access to copy
        from a designated place, offer equivalent access to copy the above
        specified materials from the same place.
    
        e) Verify that the user has already received a copy of these
        materials or that you have already sent this user a copy.
    
      For an executable, the required form of the "work that uses the
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Jan 18 20:25:38 UTC 2016
    - 25.8K bytes
    - Viewed (0)
  9. cmd/endpoint.go

    		// If not orchestrated
    		// and not setup in reverse proxy
    		if !orchestrated && !reverseProxy {
    			// Check whether same path is not used in endpoints of a host on different port.
    			// Only verify this on baremetal setups, DNS is not available in orchestrated
    			// environments so we can't do much here.
    			pathIPMap := make(map[string]set.StringSet)
    			hostIPCache := make(map[string]set.StringSet)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 21 22:22:24 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  10. cmd/erasure-sets.go

    		if cdisk != nil && cdisk.IsOnline() {
    			if s.lastConnectDisksOpTime.IsZero() {
    				continue
    			}
    
    			// An online-disk means its a valid disk but it may be a re-connected disk
    			// we verify that here based on LastConn(), however we make sure to avoid
    			// putting it back into the s.erasureDisks by re-placing the disk again.
    			_, setIndex, _ := cdisk.GetDiskLoc()
    			if setIndex != -1 {
    				continue
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 27 10:41:37 UTC 2024
    - 37K bytes
    - Viewed (0)
Back to top