Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 304 for obj2 (0.02 sec)

  1. cmd/utils.go

    	if HasSuffix(object, globalDirSuffix) {
    		return strings.TrimSuffix(object, globalDirSuffix) + slashSeparator
    	}
    	return object
    }
    
    func isDirObject(object string) bool {
    	if obj := encodeDirObject(object); obj != object {
    		object = obj
    	}
    	return HasSuffix(object, globalDirSuffix)
    }
    
    // Helper method to return total number of nodes in cluster
    func totalNodeCount() int {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 33K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/net/MediaType.java

          return (position >= 0) && (position < input.length());
        }
      }
    
      @Override
      public boolean equals(@Nullable Object obj) {
        if (obj == this) {
          return true;
        } else if (obj instanceof MediaType) {
          MediaType that = (MediaType) obj;
          return this.type.equals(that.type)
              && this.subtype.equals(that.subtype)
              // compare parameters regardless of order
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Oct 02 01:46:40 UTC 2025
    - 48K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

     *
     *   {@literal @Override} public boolean equals(Object obj) {...}
     *   {@literal @Override} public int hashCode() {...}
     *   ...
     * }
     * </pre>
     *
     * <p>No cascading checks are performed against the return values of methods unless the method is a
     * static factory method. Neither are semantics of mutation methods such as {@code
     * someList.add(obj)} checked. For more detailed discussion of supported and unsupported cases, see
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

        @Override
        public int hashCode() {
            return this.mid;
        }
    
        @Override
        public boolean equals(final Object obj) {
            return obj instanceof ServerMessageBlock && ((ServerMessageBlock) obj).mid == this.mid;
        }
    
        @Override
        public String toString() {
            String c = switch (this.command) {
            case SMB_COM_NEGOTIATE -> "SMB_COM_NEGOTIATE";
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

         *
         * @see java.lang.Object#equals(java.lang.Object)
         */
        @Override
        public boolean equals(Object obj) {
            if (obj instanceof NtlmPasswordAuthenticator ntlm) {
                String domA = ntlm.getUserDomain() != null ? ntlm.getUserDomain().toUpperCase() : null;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30.3K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

        }
    
        @Override
        <R> R dummyReturnValue(TypeToken<R> returnType) {
          return tester.getDummyValue(returnType);
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          return obj instanceof SerializableDummyProxy;
        }
    
        @Override
        public int hashCode() {
          return 0;
        }
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  7. cmd/metacache-entries.go

    // names will return all names in order.
    // Since this allocates it should not be used in critical functions.
    func (m metaCacheEntries) names() []string {
    	res := make([]string, 0, len(m))
    	for _, obj := range m {
    		res = append(res, obj.name)
    	}
    	return res
    }
    
    // metaCacheEntriesSorted contains metacache entries that are sorted.
    type metaCacheEntriesSorted struct {
    	o metaCacheEntries
    	// list id is not serialized
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbFile.java

         * </pre></blockquote>
         *
         * @param   obj Another <code>SmbFile</code> object to compare for equality
         * @return  <code>true</code> if the two objects refer to the same SMB resource
         *          and <code>false</code> otherwise
         */
    
        @Override
        public boolean equals(final Object obj) {
            if (obj instanceof final SmbFile f) {
                boolean ret;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/base/PredicatesTest.java

          return (i.intValue() & 1) == 1;
        }
    
        @Override
        public int hashCode() {
          return 0x150dd;
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          return obj instanceof IsOdd;
        }
    
        @Override
        public String toString() {
          return "IsOdd";
        }
      }
    
      /**
       * Generates a new Predicate per call.
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 32.3K bytes
    - Viewed (0)
  10. cmd/xl-storage-format-v2_test.go

    		want        []xlMetaV2ShallowVersion
    	}{
    		{
    			name: "obj-on-one",
    			input: [][]xlMetaV2ShallowVersion{
    				0: {vDelMarker, vObj}, // disk 0
    				1: {vDelMarker},       // disk 1
    				2: {vDelMarker},       // disk 2
    			},
    			quorum:      2,
    			reqVersions: 0,
    			want:        []xlMetaV2ShallowVersion{vDelMarker},
    		},
    		{
    			name: "obj-on-two",
    			input: [][]xlMetaV2ShallowVersion{
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 37.8K bytes
    - Viewed (0)
Back to top