Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2291 - 2300 of 7,250 for return (0.05 sec)

  1. guava-tests/test/com/google/common/collect/SimpleAbstractMultisetTest.java

        }
    
        @Override
        Iterator<E> elementIterator() {
          return Multisets.elementIterator(entryIterator());
        }
    
        @Override
        Iterator<Entry<E>> entryIterator() {
          final Iterator<Map.Entry<E, Integer>> backingEntries = backingMap.entrySet().iterator();
          return new UnmodifiableIterator<Multiset.Entry<E>>() {
            @Override
            public boolean hasNext() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. cmd/hasher.go

    )
    
    // getSHA256Hash returns SHA-256 hash in hex encoding of given data.
    func getSHA256Hash(data []byte) string {
    	return hex.EncodeToString(getSHA256Sum(data))
    }
    
    // getSHA256Hash returns SHA-256 sum of given data.
    func getSHA256Sum(data []byte) []byte {
    	hash := sha256.New()
    	hash.Write(data)
    	return hash.Sum(nil)
    }
    
    // getMD5Sum returns MD5 sum of given data.
    func getMD5Sum(data []byte) []byte {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 27 13:00:19 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SID.java

         * be resolved in which case the numeric RID is returned. If this
         * SID is a domain SID, this method will return an empty String.
         */
        public String getAccountName() {
            if (origin_server != null)
                resolveWeak();
            if (type == SID_TYPE_UNKNOWN)
                return "" + sub_authority[sub_authority_count - 1];
            if (type == SID_TYPE_DOMAIN)
                return "";
            return acctName;
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 26.6K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

        this.subjectGenerator = subjectGenerator;
        return self();
      }
    
      public G getSubjectGenerator() {
        return subjectGenerator;
      }
    
      @CanIgnoreReturnValue
      public B withSetUp(Runnable setUp) {
        this.setUp = setUp;
        return self();
      }
    
      public Runnable getSetUp() {
        return setUp;
      }
    
      @CanIgnoreReturnValue
      public B withTearDown(Runnable tearDown) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/path/DefaultModelPathTranslator.java

            if (newPath != null) {
                return newPath;
            }
            return path;
        }
    
        /**
         * Returns aligned path or {@code null} if no need for change.
         */
        private String mayAlignToBaseDirectoryOrNull(String path, Path basedir) {
            String newPath = pathTranslator.alignToBaseDirectory(path, basedir);
            return Objects.equals(path, newPath) ? null : newPath;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuildingResult.java

            }
        }
    
        @Override
        public Model getFileModel() {
            return fileModel;
        }
    
        public DefaultModelBuildingResult setFileModel(Model fileModel) {
            this.fileModel = fileModel;
    
            return this;
        }
    
        @Override
        public Model getEffectiveModel() {
            return effectiveModel;
        }
    
        public DefaultModelBuildingResult setEffectiveModel(Model model) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5K bytes
    - Viewed (0)
  7. istioctl/pkg/util/configdump/util.go

    	}
    
    	return dumpAny, nil
    }
    
    func (w *Wrapper) getSections(sectionTypeURL configTypeURL) ([]*anypb.Any, error) {
    	var dumpAny []*anypb.Any
    	for _, conf := range w.Configs {
    		if conf.TypeUrl == string(sectionTypeURL) {
    			dumpAny = append(dumpAny, conf)
    		}
    	}
    	if dumpAny == nil {
    		return nil, fmt.Errorf("config dump has no configuration type %s", sectionTypeURL)
    	}
    
    	return dumpAny, nil
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sun Dec 24 08:16:26 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  8. cmd/tier-handlers.go

    		return
    	}
    
    	// Refresh from the disk in case we had missed notifications about edits from peers.
    	if err := globalTierConfigMgr.Reload(ctx, objAPI); err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	err = globalTierConfigMgr.Add(ctx, cfg, ignoreInUse)
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:44:05 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SpnegoContext.java

            // prevent nesting
            return false;
        }
    
    
        /**
         * Determines what mechanism is being used for this context.
         * 
         * @return the Oid of the mechanism being used
         */
        ASN1ObjectIdentifier[] getMechs () {
            return this.mechs;
        }
    
    
        /**
         * @return the mechanisms announced by the remote end
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Jan 04 04:18:31 UTC 2021
    - 14.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/dcerpc/msrpc/samr.java

    package jcifs.smb1.dcerpc.msrpc;
    
    import jcifs.smb1.dcerpc.*;
    import jcifs.smb1.dcerpc.ndr.*;
    
    public class samr {
    
        public static String getSyntax() {
            return "12345778-1234-abcd-ef00-0123456789ac:1.0";
        }
    
        public static final int ACB_DISABLED = 1;
        public static final int ACB_HOMDIRREQ = 2;
        public static final int ACB_PWNOTREQ = 4;
        public static final int ACB_TEMPDUP = 8;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 14K bytes
    - Viewed (0)
Back to top