Search Options

Results per page
Sort
Preferred Languages
Advance

Results 341 - 350 of 1,770 for equal (0.03 sec)

  1. src/bufio/bufio_test.go

    	l := NewReaderSize(buf, minReadBufferSize)
    	line, isPrefix, err := l.ReadLine()
    	if !isPrefix || !bytes.Equal(line, data[:minReadBufferSize]) || err != nil {
    		t.Errorf("bad result for first line: got %q want %q %v", line, data[:minReadBufferSize], err)
    	}
    	data = data[len(line):]
    	line, isPrefix, err = l.ReadLine()
    	if !isPrefix || !bytes.Equal(line, data[:minReadBufferSize]) || err != nil {
    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/erasure-coding.go

    				ok = false
    				continue
    			}
    			// Delete first shard and reconstruct...
    			first := encoded[0]
    			encoded[0] = nil
    			failOnErr(e.DecodeDataBlocks(encoded))
    			if a, b := first, encoded[0]; !bytes.Equal(a, b) {
    				fmt.Fprintf(os.Stderr, "%v: error on self-test [d:%d,p:%d]: want %#v, got %#v\n", algo, conf[0], conf[1], hex.EncodeToString(a), hex.EncodeToString(b))
    				ok = false
    				continue
    			}
    
    		}
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jan 31 02:11:45 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/GeneralRangeTest.java

        for (Integer i : IN_ORDER_VALUES) {
          GeneralRange<@Nullable Integer> range = GeneralRange.range(ORDERING, i, CLOSED, i, CLOSED);
          for (Integer j : IN_ORDER_VALUES) {
            assertEquals(Objects.equal(i, j), range.contains(j));
          }
        }
      }
    
      public void testSingletonRange() {
        GeneralRange<@Nullable Integer> range = GeneralRange.range(ORDERING, 3, CLOSED, 3, CLOSED);
        for (Integer i : IN_ORDER_VALUES) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/ConnectionSpec.kt

        }
    
        return true
      }
    
      override fun equals(other: Any?): Boolean {
        if (other !is ConnectionSpec) return false
        if (other === this) return true
    
        if (this.isTls != other.isTls) return false
    
        if (isTls) {
          if (!Arrays.equals(this.cipherSuitesAsString, other.cipherSuitesAsString)) return false
          if (!Arrays.equals(this.tlsVersionsAsString, other.tlsVersionsAsString)) return false
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  5. cmd/erasure-heal_test.go

    		}
    		if err == nil {
    			// Verify that checksums of staleDisks
    			// match expected values
    			for i := range staleWriters {
    				if staleWriters[i] == nil {
    					continue
    				}
    				if !bytes.Equal(bitrotWriterSum(staleWriters[i]), bitrotWriterSum(writers[i])) {
    					t.Errorf("Test %d: heal returned different bitrot checksums", i)
    				}
    			}
    		}
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  6. docs/ko/docs/tutorial/path-params-numeric-validations.md

    여기서 `ge=1`인 경우, `item_id`는 `1`보다 "크거나(`g`reater) 같은(`e`qual)" 정수형 숫자여야 합니다.
    
    ```Python hl_lines="8"
    {!../../docs_src/path_params_numeric_validations/tutorial004.py!}
    ```
    
    ## 숫자 검증: 크거나 같음 및 작거나 같음
    
    동일하게 적용됩니다:
    
    * `gt`: 크거나(`g`reater `t`han)
    * `le`: 작거나 같은(`l`ess than or `e`qual)
    
    ```Python hl_lines="9"
    {!../../docs_src/path_params_numeric_validations/tutorial005.py!}
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Iterators.java

          }
        }
        return result;
      }
    
      /**
       * Determines whether two iterators contain equal elements in the same order. More specifically,
       * this method returns {@code true} if {@code iterator1} and {@code iterator2} contain the same
       * number of elements and every element of {@code iterator1} is equal to the corresponding element
       * of {@code iterator2}.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 50.3K bytes
    - Viewed (0)
  8. cmd/metacache-entries.go

    	// check both fileInfo's have same number of versions, if not skip
    	// the `other` entry.
    	if len(eVers.versions) != len(oVers.versions) {
    		eTime := eVers.latestModtime()
    		oTime := oVers.latestModtime()
    		if !eTime.Equal(oTime) {
    			if eTime.After(oTime) {
    				return e, false
    			}
    			return other, false
    		}
    		// Tiebreak on version count.
    		if len(eVers.versions) > len(oVers.versions) {
    			return e, false
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java

       * whose elements are the result of applying {@code elementFunction} to the inputs, with counts
       * equal to the result of applying {@code countFunction} to the inputs.
       *
       * <p>If the mapped elements contain duplicates (according to {@code comparator}), the first
       * occurrence in encounter order appears in the resulting multiset, with count equal to the sum of
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 35.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbFile.java

    /**
     * Tests to see if two <code>SmbFile</code> objects are equal. Two
     * SmbFile objects are equal when they reference the same SMB
     * resource. More specifically, two <code>SmbFile</code> objects are
     * equals if their server IP addresses are equal and the canonicalized
     * representation of their URLs, minus authentication parameters, are
     * case insensitivly and lexographically equal.
     * <p/>
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 107.9K bytes
    - Viewed (0)
Back to top