Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 240 for obj1 (0.03 sec)

  1. android/guava/src/com/google/common/eventbus/Subscriber.java

      public final int hashCode() {
        return (31 + method.hashCode()) * 31 + System.identityHashCode(target);
      }
    
      @Override
      public final boolean equals(@Nullable Object obj) {
        if (obj instanceof Subscriber) {
          Subscriber that = (Subscriber) obj;
          // Use == so that different equal instances will still receive events.
          // We only guard against the case that the same object is registered
          // multiple times
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/net/NetServerEnum2Test.java

            assertEquals("", writtenLastName);
        }
    
        // Helper methods
    
        private Object getFieldValue(Object obj, String fieldName) {
            try {
                Field field = getField(obj.getClass(), fieldName);
                field.setAccessible(true);
                return field.get(obj);
            } catch (Exception e) {
                throw new RuntimeException("Failed to get field value: " + fieldName, e);
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbShareInfo.java

        public long lastModified() {
            return 0L;
        }
    
        @Override
        public long length() {
            return 0L;
        }
    
        @Override
        public boolean equals(final Object obj) {
            if (obj instanceof final SmbShareInfo si) {
                return netName.equals(si.netName);
            }
            return false;
        }
    
        @Override
        public int hashCode() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/netbios/NbtAddress.java

                    } catch (final InterruptedException e) {}
                }
            }
            obj = getCachedAddress(name);
            if (obj == null) {
                synchronized (LOOKUP_TABLE) {
                    LOOKUP_TABLE.put(name, name);
                }
            }
    
            return obj;
        }
    
        private static void updateLookupTable(final Name name) {
            synchronized (LOOKUP_TABLE) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbTree.java

                    && (service == null || service.startsWith("??") || this.service.equalsIgnoreCase(service));
        }
    
        @Override
        public boolean equals(final Object obj) {
            if (obj instanceof final SmbTree tree) {
                return matches(tree.share, tree.service);
            }
            return false;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/net/SmbShareInfo.java

        public long lastAccess() {
            return 0L;
        }
    
        @Override
        public long length() {
            return 0L;
        }
    
        @Override
        public boolean equals(final Object obj) {
            if (obj instanceof final SmbShareInfo si) {
                return Objects.equals(this.netName, si.netName);
            }
            return false;
        }
    
        @Override
        public int hashCode() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/base/Suppliers.java

        @ParametricNullness
        public T get() {
          return function.apply(supplier.get());
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          if (obj instanceof SupplierComposition) {
            SupplierComposition<?, ?> that = (SupplierComposition<?, ?>) obj;
            return function.equals(that.function) && supplier.equals(that.supplier);
          }
          return false;
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/netbios/Name.java

                result += scope.hashCode();
            }
            return result;
        }
    
        @Override
        public boolean equals(final Object obj) {
            Name n;
    
            if (!(obj instanceof Name)) {
                return false;
            }
            n = (Name) obj;
            if (scope == null && n.scope == null) {
                return name.equals(n.name) && hexCode == n.hexCode;
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/CaseFormat.java

        protected String doBackward(String s) {
          return targetFormat.to(sourceFormat, s);
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          if (obj instanceof StringConverter) {
            StringConverter that = (StringConverter) obj;
            return sourceFormat.equals(that.sourceFormat) && targetFormat.equals(that.targetFormat);
          }
          return false;
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Apr 15 22:14:00 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  10. src/cmd/asm/internal/asm/operand_test.go

    	"cmd/asm/internal/lex"
    	"cmd/internal/obj"
    )
    
    // A simple in-out test: Do we print what we parse?
    
    func setArch(goarch string) (*arch.Arch, *obj.Link) {
    	buildcfg.GOOS = "linux" // obj can handle this OS for all architectures.
    	buildcfg.GOARCH = goarch
    	architecture := arch.Set(goarch, false)
    	if architecture == nil {
    		panic("asm: unrecognized architecture " + goarch)
    	}
    	ctxt := obj.Linknew(architecture.LinkArch)
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Aug 29 18:31:05 UTC 2023
    - 23.9K bytes
    - Viewed (0)
Back to top