Search Options

Results per page
Sort
Preferred Languages
Advance

Results 981 - 990 of 1,771 for Equalf (0.05 sec)

  1. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedMap.java

          ImmutableSortedMap<K, V> kvMap = (ImmutableSortedMap<K, V>) map;
          Comparator<?> comparator2 = kvMap.comparator();
          boolean sameComparator =
              (comparator2 == null) ? comparator == NATURAL_ORDER : comparator.equals(comparator2);
          if (sameComparator) {
            return kvMap;
          }
        }
    
        SortedMap<K, V> delegate = newModifiableDelegate(comparator);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 27 19:19:19 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/math/LongMath.java

      @SuppressWarnings("fallthrough")
      public static long divide(long p, long q, RoundingMode mode) {
        checkNotNull(mode);
        long div = p / q; // throws if q == 0
        long rem = p - q * div; // equals p % q
    
        if (rem == 0) {
          return div;
        }
    
        /*
         * Normal Java division rounds towards 0, consistently with RoundingMode.DOWN. We just have to
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 09 16:39:37 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  3. internal/crypto/key_test.go

    		expectedPartKey, err := hex.DecodeString(test.PartKey)
    		if err != nil {
    			t.Fatalf("Test %d failed to decode expected part-key: %v", i, err)
    		}
    		partKey := key.DerivePartKey(test.PartID)
    		if !bytes.Equal(partKey[:], expectedPartKey) {
    			t.Errorf("Test %d derives wrong part-key: got '%s' want: '%s'", i, hex.EncodeToString(partKey[:]), test.PartKey)
    		}
    	}
    }
    
    var sealUnsealETagTests = []string{
    	"",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 20:51:54 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  4. internal/s3select/sql/timestampfuncs_test.go

    	}
    	for i, tc := range cases {
    		tval, err := parseSQLTimestamp(tc.s)
    		if err != nil {
    			t.Errorf("Case %d: Unexpected error: %v", i+1, err)
    			continue
    		}
    		if !tval.Equal(tc.t) {
    			t.Errorf("Case %d: Expected %v got %v", i+1, tc.t, tval)
    			continue
    		}
    
    		tstr := FormatSQLTimestamp(tc.t)
    		if tstr != tc.s {
    			t.Errorf("Case %d: Expected %s got %s", i+1, tc.s, tstr)
    			continue
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 2.2K bytes
    - Viewed (0)
  5. internal/amztime/parse_test.go

    		t.Run(testCase.timeStr, func(t *testing.T) {
    			gott, goterr := Parse(testCase.timeStr)
    			if !errors.Is(goterr, testCase.expectedErr) {
    				t.Errorf("expected %v, got %v", testCase.expectedErr, goterr)
    			}
    			if !gott.Equal(testCase.expectedTime) {
    				t.Errorf("expected %v, got %v", testCase.expectedTime, gott)
    			}
    		})
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 07 14:24:54 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/es/log/allcommon/EsAbstractEntity.java

        //                                                                      Basic Override
        //                                                                      ==============
        // #pending hashCode(), equals()
        @Override
        public int instanceHash() {
            return super.hashCode();
        }
    
        @Override
        public String toString() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/netbios/NodeStatusResponse.java

                 */
                if ( !addrFound && this.queryAddress.hostName.hexCode == hexCode
                        && ( this.queryAddress.hostName.isUnknown() || this.queryAddress.hostName.name.equals(n) ) ) {
    
                    if ( this.queryAddress.hostName.isUnknown() ) {
                        this.queryAddress.hostName = new Name(this.config, n, hexCode, scope);
                    }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.9K bytes
    - Viewed (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/links/ClassLinkMetaData.java

            }
    
            List<MethodLinkMetaData> candidates = new ArrayList<MethodLinkMetaData>();
            for (MethodLinkMetaData methodLinkMetaData : methods.values()) {
                if (methodLinkMetaData.name.equals(method)) {
                    candidates.add(methodLinkMetaData);
                }
            }
            if (candidates.isEmpty()) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 7.4K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/FileTransformer.java

        /**
         * Returns data as a file path of String.
         *
         */
        @Override
        public Object getData(final AccessResultData<?> accessResultData) {
            // check transformer name
            if (!getName().equals(accessResultData.getTransformerName())) {
                throw new CrawlerSystemException(
                        "Transformer is invalid. Use " + accessResultData.getTransformerName() + ". This transformer is " + getName() + ".");
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  10. src/bytes/bytes.go

    package bytes
    
    import (
    	"internal/bytealg"
    	"math/bits"
    	"unicode"
    	"unicode/utf8"
    	_ "unsafe" // for linkname
    )
    
    // Equal reports whether a and b
    // are the same length and contain the same bytes.
    // A nil argument is equivalent to an empty slice.
    func Equal(a, b []byte) bool {
    	// Neither cmd/compile nor gccgo allocates for these string conversions.
    	return string(a) == string(b)
    }
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Sep 03 20:55:15 UTC 2024
    - 35.6K bytes
    - Viewed (0)
Back to top