Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1521 - 1530 of 1,801 for equals (0.17 seconds)

  1. internal/hash/reader.go

    			return nil, errors.New("hash: already read from hash reader")
    		}
    		if len(r.checksum) != 0 && len(MD5) != 0 && !etag.Equal(r.checksum, MD5) {
    			return nil, BadDigest{
    				ExpectedMD5:   r.checksum.String(),
    				CalculatedMD5: md5Hex,
    			}
    		}
    		if len(r.contentSHA256) != 0 && len(SHA256) != 0 && !bytes.Equal(r.contentSHA256, SHA256) {
    			return nil, SHA256Mismatch{
    				ExpectedSHA256:   hex.EncodeToString(r.contentSHA256),
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Jun 25 15:08:54 GMT 2025
    - 11.8K bytes
    - Click Count (0)
  2. cmd/dummy-data-generator_test.go

    		n1, e1 := io.ReadFull(r1, b1)
    		n2, e2 := io.ReadFull(r2, b2)
    		if n1 != n2 {
    			return false, fmt.Sprintf("Read %d != %d bytes from the readers", n1, n2)
    		}
    		if !bytes.Equal(b1[:n1], b2[:n2]) {
    			return false, fmt.Sprintf("After reading %d equal buffers (32Kib each), we got the following two strings:\n%v\n%v\n",
    				i, b1, b2)
    		}
    		// Check if stream has ended
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  3. internal/hash/checksum.go

    		c.Type.String():       c.Encoded,
    		xhttp.AmzChecksumType: c.Type.ObjType(),
    	}
    }
    
    // Equal returns whether two checksum structs are equal in all their fields.
    func (c *Checksum) Equal(s *Checksum) bool {
    	if c == nil || s == nil {
    		return c == s
    	}
    	return c.Type == s.Type &&
    		c.Encoded == s.Encoded &&
    		bytes.Equal(c.Raw, s.Raw) &&
    		c.WantParts == s.WantParts
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 22 14:15:21 GMT 2025
    - 18.3K bytes
    - Click Count (0)
  4. internal/etag/etag.go

    	v, ok := h["ETag"]
    	if !ok || len(v) == 0 {
    		return nil, errors.New("etag: HTTP header does not contain an ETag")
    	}
    	return parse(v[0], strict)
    }
    
    // Equal returns true if and only if the two ETags are
    // identical.
    func Equal(a, b ETag) bool { return bytes.Equal(a, b) }
    
    // Decrypt decrypts the ETag with the given key.
    //
    // If the ETag is not encrypted, Decrypt returns
    // the ETag unmodified.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri May 16 14:27:42 GMT 2025
    - 13.2K bytes
    - Click Count (0)
  5. internal/etag/reader.go

    // Reader compares the etag with the computed
    // MD5 sum once the r returns io.EOF.
    func NewReader(ctx context.Context, r io.Reader, etag ETag, forceMD5 []byte) *Reader {
    	if er, ok := r.(*Reader); ok {
    		if er.readN == 0 && Equal(etag, er.checksum) {
    			return er
    		}
    	}
    	if len(forceMD5) != 0 {
    		return &Reader{
    			src:      r,
    			md5:      NewUUIDHash(forceMD5),
    			checksum: etag,
    		}
    	}
    	return &Reader{
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Mar 30 00:56:02 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/it/admin/SchedulerTests.java

            checkPutMethod(new HashMap<>(), "invalid_scheduler_id_12345/start").then().body("response.status", equalTo(1));
        }
    
        @Test
        void testStopJob_notFound() {
            // Try to stop a non-existent job
            checkPutMethod(new HashMap<>(), "invalid_scheduler_id_12345/stop").then().body("response.status", equalTo(1));
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 2.8K bytes
    - Click Count (0)
  7. docs/ko/docs/tutorial/path-params-numeric-validations.md

    ## 숫자 검증: 크거나 같음 { #number-validations-greater-than-or-equal }
    
    `Query`와 `Path`(그리고 나중에 볼 다른 것들)를 사용하여 숫자 제약을 선언할 수 있습니다.
    
    여기서 `ge=1`인 경우, `item_id`는 `1`보다 "`g`reater than or `e`qual"(크거나 같은) 정수형 숫자여야 합니다.
    
    {* ../../docs_src/path_params_numeric_validations/tutorial004_an_py310.py hl[10] *}
    
    ## 숫자 검증: 크거나 및 작거나 같음 { #number-validations-greater-than-and-less-than-or-equal }
    
    동일하게 적용됩니다:
    
    * `gt`: `g`reater `t`han
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  8. docs/zh/docs/tutorial/path-params-numeric-validations.md

    ## 数值校验:大于等于 { #number-validations-greater-than-or-equal }
    
    使用 `Query` 和 `Path`(以及你稍后会看到的其他类)你可以声明数值约束。
    
    在这里,使用 `ge=1` 后,`item_id` 必须是一个整数,值要「`g`reater than or `e`qual」1。
    
    {* ../../docs_src/path_params_numeric_validations/tutorial004_an_py310.py hl[10] *}
    
    ## 数值校验:大于和小于等于 { #number-validations-greater-than-and-less-than-or-equal }
    
    同样适用于:
    
    * `gt`:大于(`g`reater `t`han)
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 6K bytes
    - Click Count (0)
  9. internal/stmt_store/stmt_store.go

    // New creates and returns a new Store instance.
    //
    // Parameters:
    //   - size: The maximum capacity of the cache. If the provided size is less than or equal to 0,
    //     it defaults to defaultMaxSize.
    //   - ttl: The time-to-live duration for each cache entry. If the provided ttl is less than or equal to 0,
    //     it defaults to defaultTTL.
    //
    // This function defines an onEvicted callback that is invoked when a cache entry is evicted.
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:35:55 GMT 2026
    - 6.1K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/rank/fusion/SearchResult.java

        }
    
        /**
         * Gets the relation type indicating how the record count should be interpreted.
         *
         * @return The record count relation (e.g., "eq" for exact, "gte" for greater than or equal)
         */
        public String getAllRecordCountRelation() {
            return allRecordCountRelation;
        }
    
        /**
         * Gets the time taken to execute the search query.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 8.8K bytes
    - Click Count (0)
Back to Top