Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1011 - 1020 of 1,078 for clause (0.07 sec)

  1. src/bufio/bufio_test.go

    	r := NewReader(z)
    
    	c := make(chan error)
    	go func() {
    		_, err := r.ReadByte()
    		c <- err
    	}()
    
    	select {
    	case err := <-c:
    		if err == nil {
    			t.Error("error expected")
    		} else if err != io.ErrNoProgress {
    			t.Error("unexpected error:", err)
    		}
    	case <-time.After(time.Second):
    		t.Error("test timed out (endless loop in ReadByte?)")
    	}
    }
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Nov 01 21:52:12 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  2. cmd/object-api-putobject_test.go

    			if testCase.inputMeta["etag"] != objInfo.ETag {
    				t.Errorf("Test %d: %s: Calculated Md5 different from the actual one %s.", i+1, instanceType, objInfo.ETag)
    			}
    		}
    	}
    
    	// This causes quorum failure verify.
    	os.RemoveAll(disks[len(disks)-1])
    
    	// Validate the last test.
    	testCase := struct {
    		bucketName    string
    		objName       string
    		inputData     []byte
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

    import junit.framework.AssertionFailedError;
    import junit.framework.TestCase;
    
    /**
     * Base class for JSR166 Junit TCK tests. Defines some constants, utility methods and classes, as
     * well as a simple framework for helping to make sure that assertions failing in generated threads
     * cause the associated test that generated them to itself fail (which JUnit does not otherwise
     * arrange). The rules for creating such tests are:
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 37.9K bytes
    - Viewed (0)
  4. src/archive/tar/writer.go

    		}
    	}
    
    	n = len(b0) - len(b)
    	switch {
    	case err == ErrWriteTooLong:
    		return n, errMissData // Not possible; implies bug in validation logic
    	case err != nil:
    		return n, err
    	case sw.logicalRemaining() == 0 && sw.physicalRemaining() > 0:
    		return n, errUnrefData // Not possible; implies bug in validation logic
    	case overwrite:
    		return n, ErrWriteTooLong
    	default:
    		return n, nil
    	}
    }
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 02 14:22:59 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

        setDefault(Integer.class, 1);
        setDefault(long.class, 1L);
        setDefault(Long.class, 1L);
        setDefault(float.class, 1F);
        setDefault(Float.class, 1F);
        setDefault(double.class, 1D);
        setDefault(Double.class, 1D);
        setDefault(Class.class, Class.class);
      }
    
      /**
       * Sets the default value for {@code type}. The default value isn't used in testing {@link
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:18:12 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  6. README.md

    ## Installation
    
    Create and activate a <a href="https://fastapi.tiangolo.com/virtual-environments/" class="external-link" target="_blank">virtual environment</a> and then install FastAPI:
    
    <div class="termy">
    
    ```console
    $ pip install "fastapi[standard]"
    
    ---> 100%
    ```
    
    </div>
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Oct 31 09:13:26 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/io/BaseEncoding.java

          @Override
          public void flush() throws IOException {
            delegate.flush();
          }
    
          @Override
          public void close() throws IOException {
            delegate.close();
          }
        };
      }
    
      static final class SeparatedBaseEncoding extends BaseEncoding {
        private final BaseEncoding delegate;
        private final String separator;
        private final int afterEveryChars;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 41.8K bytes
    - Viewed (0)
  8. docs/en/docs/alternatives.md

    * <a href="https://github.com/tiangolo/full-stack" class="external-link" target="_blank">https://github.com/tiangolo/full-stack</a>
    * <a href="https://github.com/tiangolo/full-stack-flask-couchbase" class="external-link" target="_blank">https://github.com/tiangolo/full-stack-flask-couchbase</a>
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/MinMaxPriorityQueue.java

     * as the traditional heap data structure used in {@link PriorityQueue}.
     *
     * <p>This class is not thread-safe, and does not accept null elements.
     *
     * <p><i>Performance notes:</i>
     *
     * <ul>
     *   <li>If you only access one end of the queue, and do use a maximum size, this class will perform
     *       significantly worse than a {@code PriorityQueue} with manual eviction above the maximum
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  10. cmd/utils.go

    	}
    
    	switch minioErr.Code {
    	case "SlowDownWrite":
    		err = InsufficientWriteQuorum{Bucket: bucket, Object: object}
    	case "SlowDownRead":
    		err = InsufficientReadQuorum{Bucket: bucket, Object: object}
    	case "PreconditionFailed":
    		err = PreConditionFailed{}
    	case "InvalidRange":
    		err = InvalidRange{}
    	case "BucketAlreadyOwnedByYou":
    		err = BucketAlreadyOwnedByYou{}
    	case "BucketNotEmpty":
    		err = BucketNotEmpty{}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:22:04 UTC 2024
    - 31.9K bytes
    - Viewed (0)
Back to top