Search Options

Results per page
Sort
Preferred Languages
Advance

Results 291 - 300 of 411 for Got (0.02 sec)

  1. android/guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java

                  remaining -= nRead;
                }
                if (nRead == -1) {
                  // we reached EOF
                  return new String(buffer, 0, bufIndex);
                }
                // otherwise we got the size wrong.  This can happen if the size changes between when
                // we called sizeIfKnown and when we started reading the file (or I guess if
                // maxCharsPerByte is wrong)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 5.2K bytes
    - Viewed (0)
  2. docs/features/calls.md

    original request, including `Content-Length`, `Transfer-Encoding`, `User-Agent`, `Host`, `Connection`, and `Content-Type`. It will add an `Accept-Encoding` header for transparent response compression unless the header is already present. If you’ve got cookies, OkHttp will add a `Cookie` header with them.
    
    Some requests will have a cached response. When this cached response isn’t fresh, OkHttp can do a _conditional GET_ to download an updated response if it’s newer than what’s cached. This...
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  3. cmd/erasure_test.go

    				t.Errorf("Test %d: failed to write data blocks: %v", i, err)
    			}
    			if !bytes.Equal(decodedData.Bytes(), data) {
    				t.Errorf("Test %d: Decoded data does not match original data: got: %v want: %v", i, decodedData.Bytes(), data)
    			}
    		}
    	}
    }
    
    // Setup for erasureCreateFile and erasureReadFile tests.
    type erasureTestSetup struct {
    	dataBlocks   int
    	parityBlocks int
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 25 19:37:26 UTC 2022
    - 4.8K bytes
    - Viewed (0)
  4. cmd/xl-storage-format-v2.go

    		return nil, nil, err
    	}
    	if crc, nbuf, err := msgp.ReadUint32Bytes(buf); err == nil {
    		// Read metadata CRC
    		buf = nbuf
    		if got := uint32(xxhash.Sum64(meta)); got != crc {
    			return nil, nil, fmt.Errorf("xlMetaV2.Load version(%d), CRC mismatch, want 0x%x, got 0x%x", minor, crc, got)
    		}
    	} else {
    		return nil, nil, err
    	}
    	data = buf
    	if data.validate() != nil {
    		data.repair()
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 64K bytes
    - Viewed (0)
  5. guava/src/com/google/common/math/Stats.java

       */
      void writeTo(ByteBuffer buffer) {
        checkNotNull(buffer);
        checkArgument(
            buffer.remaining() >= BYTES,
            "Expected at least Stats.BYTES = %s remaining , got %s",
            BYTES,
            buffer.remaining());
        buffer
            .putLong(count)
            .putDouble(mean)
            .putDouble(sumOfSquaresOfDeltas)
            .putDouble(min)
            .putDouble(max);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 23 16:45:30 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  6. cmd/bitrot.go

    			hash.Write(msg)
    			sum = hash.Sum(sum[:0])
    			msg = append(msg, sum...)
    			hash.Reset()
    		}
    		if !bytes.Equal(sum, checksum) {
    			logger.Fatal(errSelfTestFailure, fmt.Sprintf("bitrot: %v selftest checksum mismatch: got %x - want %x", algorithm, sum, checksum))
    		}
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  7. cmd/postpolicyform_test.go

    		if err != nil {
    			t.Fatal(err)
    		}
    
    		err = checkPostPolicy(formValues, postPolicyForm)
    		if err != nil && tt.expectedErr != nil && err.Error() != tt.expectedErr.Error() {
    			t.Fatalf("Test %d:, Expected %s, got %s", i+1, tt.expectedErr.Error(), err.Error())
    		}
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 8.9K bytes
    - Viewed (0)
  8. cmd/speedtest.go

    			result.Concurrent = concurrency
    
    			select {
    			case ch <- result:
    			case <-ctx.Done():
    				return
    			}
    		}
    
    		for {
    			select {
    			case <-ctx.Done():
    				// If the client got disconnected stop the speedtest.
    				return
    			default:
    			}
    
    			sopts := speedTestOpts{
    				objectSize:      opts.objectSize,
    				concurrency:     concurrency,
    				duration:        opts.duration,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon May 06 09:45:10 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  9. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenPropertiesLoader.java

                            tokBuf.append(tok.trim());
                            break;
                    }
                }
    
                // Handle case where end of token stream and
                // still got data
                if ((!exit) && (tokStarted)) {
                    retVal = tokBuf.toString();
                }
            }
    
            return optional ? "?" + retVal : retVal;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  10. internal/grid/debug.go

    func dummyRequestValidate(r *http.Request) error {
    	return nil
    }
    
    func dummyTokenValidate(token string) error {
    	if token == "debug" {
    		return nil
    	}
    	return fmt.Errorf("invalid token. want empty, got %s", token)
    }
    
    func dummyNewToken() string {
    	return "debug"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 4.4K bytes
    - Viewed (0)
Back to top