Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 304 for obj1 (0.06 sec)

  1. cmd/lock-rest-server-common_test.go

    )
    
    // Helper function to create a lock server for testing
    func createLockTestServer(ctx context.Context, t *testing.T) (string, *lockRESTServer, string) {
    	obj, fsDir, err := prepareFS(ctx)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if err = newTestConfig(globalMinioDefaultRegion, obj); err != nil {
    		t.Fatalf("unable initialize config file, %s", err)
    	}
    
    	locker := &lockRESTServer{
    		ll: &localLocker{
    			mutex:   sync.Mutex{},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 10:24:01 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/netbios/NbtAddress.java

     * is based on the integer IP address and not the string representation.
     */ 
    
        public boolean equals( Object obj ) {
            return ( obj != null ) && ( obj instanceof NbtAddress ) &&
                                            ( ((NbtAddress)obj).address == address );
        }
    
    /** 
     * Returns the {@link java.lang.String} representaion of this address.
     */ 
    
        public String toString() {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 30.1K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/MavenArtifactRepository.java

            return result;
        }
    
        public boolean equals(Object obj) {
            if (this == obj) {
                return true;
            }
            if (obj == null) {
                return false;
            }
            if (getClass() != obj.getClass()) {
                return false;
            }
    
            ArtifactRepository other = (ArtifactRepository) obj;
    
            return eq(getId(), other.getId());
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 11K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/SampleElements.java

      private static class Collider {
        final int value;
    
        Collider(int value) {
          this.value = value;
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          return obj instanceof Collider && ((Collider) obj).value == value;
        }
    
        @Override
        public int hashCode() {
          return 1; // evil!
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  5. guava/src/com/google/common/reflect/Parameter.java

      public AnnotatedType getAnnotatedType() {
        return requireNonNull((AnnotatedType) annotatedType);
      }
    
      @Override
      public boolean equals(@CheckForNull Object obj) {
        if (obj instanceof Parameter) {
          Parameter that = (Parameter) obj;
          return position == that.position && declaration.equals(that.declaration);
        }
        return false;
      }
    
      @Override
      public int hashCode() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 16 15:12:31 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Collections2.java

          return new OrderedPermutationIterator<E>(inputList, comparator);
        }
    
        @Override
        public boolean contains(@CheckForNull Object obj) {
          if (obj instanceof List) {
            List<?> list = (List<?>) obj;
            return isPermutation(inputList, list);
          }
          return false;
        }
    
        @Override
        public String toString() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/SynchronizedMapTest.java

          assertTrue(Thread.holdsLock(mutex));
          return super.entrySet();
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          assertTrue(Thread.holdsLock(mutex));
          return super.equals(obj);
        }
    
        @Override
        public int hashCode() {
          assertTrue(Thread.holdsLock(mutex));
          return super.hashCode();
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 06 17:23:04 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  8. guava/src/com/google/common/graph/AbstractDirectedNetworkConnections.java

            return IntMath.saturatedAdd(inEdgeMap.size(), outEdgeMap.size() - selfLoopCount);
          }
    
          @Override
          public boolean contains(@CheckForNull Object obj) {
            return inEdgeMap.containsKey(obj) || outEdgeMap.containsKey(obj);
          }
        };
      }
    
      @Override
      public Set<E> inEdges() {
        return Collections.unmodifiableSet(inEdgeMap.keySet());
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 4.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/UniAddress.java

         * if they are both <tt>UniAddress</tt>' and refer to the same IP address.
         */
        public boolean equals( Object obj ) {
            return obj instanceof UniAddress && addr.equals(((UniAddress)obj).addr);
        }
    /*
        public boolean equals( Object obj ) {
            return obj instanceof UniAddress && addr.hashCode() == obj.hashCode();
        }
    */
    
        /**
         * Guess first called name to try for session establishment. This
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 16.2K bytes
    - Viewed (0)
  10. common-protos/k8s.io/apimachinery/pkg/runtime/generated.proto

    // like this:
    //
    // 	type MyAwesomeAPIObject struct {
    // 	     runtime.TypeMeta    `json:",inline"`
    // 	     ... // other fields
    // 	}
    //
    // func (obj *MyAwesomeAPIObject) SetGroupVersionKind(gvk *metav1.GroupVersionKind) { metav1.UpdateTypeMeta(obj,gvk) }; GroupVersionKind() *GroupVersionKind
    //
    // TypeMeta is provided here for convenience. You may use it directly from this package or define
    // your own with the same fields.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 4.2K bytes
    - Viewed (0)
Back to top