Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 100 for setWire (0.18 sec)

  1. guava/src/com/google/common/base/SmallCharMatcher.java

       * can hold setSize elements with the desired load factor.
       */
      @VisibleForTesting
      static int chooseTableSize(int setSize) {
        if (setSize == 1) {
          return 2;
        }
        // Correct the size for open addressing to match desired load factor.
        // Round up to the next highest power of 2.
        int tableSize = Integer.highestOneBit(setSize - 1) << 1;
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  2. guava-tests/benchmark/com/google/common/collect/MultipleSetContainsBenchmark.java

          throw new SkipThisScenarioException();
        }
    
        Random rng = new Random();
        for (int i = 0; i < 0x1000; i++) {
          double setSize = rng.nextDouble();
          if (setSize < emptySetProportion) {
            sets[i] = ImmutableSet.of();
          } else if (setSize < emptySetProportion + singletonSetProportion) {
            sets[i] = ImmutableSet.of(PRESENT);
          } else {
            sets[i] = ImmutableSet.of(PRESENT, new Object());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java

            }
            readSize = Math.min( file.tree.session.transport.rcv_buf_size - 70,
                                file.tree.session.transport.server.maxBufferSize - 70 );
        }
    
        protected IOException seToIoe(SmbException se) {
            IOException ioe = se;
            Throwable root = se.getRootCause();
            if (root instanceof TransportException) {
                ioe = (TransportException)root;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 7.9K bytes
    - Viewed (0)
  4. cmd/endpoint-ellipses.go

    			return nil, config.ErrInvalidNumberOfErasureEndpoints(nil).Msg(msg)
    		}
    
    		// Final set size with all the symmetry accounted for.
    		setSize = commonSetDriveCount(commonSize, setCounts)
    	}
    
    	// Check whether setSize is with the supported range.
    	if !isValidSetSize(setSize) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 11 21:22:47 GMT 2024
    - 14.8K bytes
    - Viewed (0)
  5. maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManagerTest.java

            Artifact a = createArtifact("a", "0.0.1-SNAPSHOT");
            File file = new File(localRepository.getBasedir(), localRepository.pathOf(a));
            file.delete();
            a.setFile(file);
    
            File touchFile = updateCheckManager.getTouchfile(a);
            touchFile.delete();
    
            assertTrue(updateCheckManager.isUpdateRequired(a, remoteRepository));
    
            file.getParentFile().mkdirs();
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/SmallCharMatcher.java

       * can hold setSize elements with the desired load factor.
       */
      @VisibleForTesting
      static int chooseTableSize(int setSize) {
        if (setSize == 1) {
          return 2;
        }
        // Correct the size for open addressing to match desired load factor.
        // Round up to the next highest power of 2.
        int tableSize = Integer.highestOneBit(setSize - 1) << 1;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  7. maven-core/src/test/java/org/apache/maven/project/MavenProjectTest.java

            MavenProject module = new MavenProject(moduleModel);
            module.setFile(new File("module-dir/pom.xml"));
    
            Model parentModel = new Model();
            parentModel.addModule("../module-dir");
    
            MavenProject parent = new MavenProject(parentModel);
            parent.setFile(new File("parent-dir/pom.xml"));
    
            String pathAdjustment = parent.getModulePathAdjustment(module);
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sat Apr 15 17:24:20 GMT 2023
    - 8K bytes
    - Viewed (0)
  8. android/guava-tests/benchmark/com/google/common/collect/MultipleSetContainsBenchmark.java

          throw new SkipThisScenarioException();
        }
    
        Random rng = new Random();
        for (int i = 0; i < 0x1000; i++) {
          double setSize = rng.nextDouble();
          if (setSize < emptySetProportion) {
            sets[i] = ImmutableSet.of();
          } else if (setSize < emptySetProportion + singletonSetProportion) {
            sets[i] = ImmutableSet.of(PRESENT);
          } else {
            sets[i] = ImmutableSet.of(PRESENT, new Object());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/project/DefaultMavenProjectHelper.java

                handler = artifactHandlerManager.getArtifactHandler("jar");
            }
    
            Artifact artifact = new AttachedArtifact(project.getArtifact(), artifactType, artifactClassifier, handler);
    
            artifact.setFile(artifactFile);
            artifact.setResolved(true);
    
            attachArtifact(project, artifact);
        }
    
        public void attachArtifact(MavenProject project, String artifactType, File artifactFile) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 4.3K bytes
    - Viewed (0)
  10. maven-core/src/test/java/org/apache/maven/project/LegacyLocalRepositoryManager.java

            File file = new File(getRepository().getBasedir(), path);
    
            LocalArtifactResult result = new LocalArtifactResult(request);
            if (file.isFile()) {
                result.setFile(file);
                result.setAvailable(true);
            }
    
            return result;
        }
    
        public void add(RepositorySystemSession session, LocalArtifactRegistration request) {
            // noop
        }
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Feb 28 07:40:37 GMT 2024
    - 5.4K bytes
    - Viewed (0)
Back to top