Search Options

Results per page
Sort
Preferred Languages
Advance

Results 871 - 880 of 1,182 for dong (0.08 sec)

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

        assertEquals(
            Integer.MAX_VALUE,
            Collections2.orderedPermutations(newArrayList(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13))
                .size());
        // 21 elements overflow a long
        assertEquals(
            Integer.MAX_VALUE,
            Collections2.orderedPermutations(
                    newArrayList(
                        1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21))
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 10:16:44 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  2. cmd/local-locker.go

    func (l *localLocker) IsLocal() bool {
    	return true
    }
    
    func (l *localLocker) ForceUnlock(ctx context.Context, args dsync.LockArgs) (reply bool, err error) {
    	select {
    	case <-ctx.Done():
    		return false, ctx.Err()
    	default:
    		l.mutex.Lock()
    		defer l.mutex.Unlock()
    		if len(args.UID) == 0 {
    			for _, resource := range args.Resources {
    				lris, ok := l.lockMap[resource]
    				if !ok {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 10:24:01 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/hash/HashingInputStreamTest.java

      public void testHash_hashesCorrectlyForSkipping() throws Exception {
        HashCode expectedHash = Hashing.md5().hashBytes(new byte[] {'m', 's'});
        HashingInputStream in = new HashingInputStream(Hashing.md5(), buffer);
    
        long numOfByteSkipped = in.skip(2);
        assertEquals(2, numOfByteSkipped);
    
        byte[] buf = new byte[4];
        int numOfByteRead = in.read(buf, 0, buf.length);
        assertEquals(2, numOfByteRead);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 02 16:24:50 UTC 2020
    - 5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/hash/HashingInputStreamTest.java

      public void testHash_hashesCorrectlyForSkipping() throws Exception {
        HashCode expectedHash = Hashing.md5().hashBytes(new byte[] {'m', 's'});
        HashingInputStream in = new HashingInputStream(Hashing.md5(), buffer);
    
        long numOfByteSkipped = in.skip(2);
        assertEquals(2, numOfByteSkipped);
    
        byte[] buf = new byte[4];
        int numOfByteRead = in.read(buf, 0, buf.length);
        assertEquals(2, numOfByteRead);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 02 16:24:50 UTC 2020
    - 5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/StandardRowSortedTable.java

          checkNotNull(fromKey);
          return new StandardRowSortedTable<R, C, V>(sortedBackingMap().tailMap(fromKey), factory)
              .rowMap();
        }
      }
    
      private static final long serialVersionUID = 0;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jul 15 15:41:16 UTC 2021
    - 4.3K bytes
    - Viewed (0)
  6. cmd/background-heal-ops.go

    			// update the relevant metrics for them
    			if bgSeq != nil {
    				if err == nil {
    					bgSeq.countHealed(res.Type)
    				} else {
    					bgSeq.countFailed(res.Type)
    				}
    			}
    		case <-ctx.Done():
    			return
    		}
    	}
    }
    
    func newHealRoutine() *healRoutine {
    	workers := runtime.GOMAXPROCS(0) / 2
    
    	if envHealWorkers := env.Get("_MINIO_HEAL_WORKERS", ""); envHealWorkers != "" {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DebugResolutionListener.java

        }
    
        /**
         * The logic used here used to be a copy of the logic used in the DefaultArtifactCollector, and this method was
         * called right before the actual version/artifactScope changes were done. However, a different set of conditionals
         * (and more information) is needed to be able to determine when and if the version and/or artifactScope changes.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  8. internal/logger/logonce.go

    		// continue to look for leaf errors underneath
    		uerr = errors.Unwrap(leafErr)
    		depth++
    		if depth == unwrapErrsDepth {
    			// If we have reached enough depth we
    			// do not further recurse down, this
    			// is done to avoid any unnecessary
    			// latencies this might bring.
    			break
    		}
    	}
    	if uerr == nil {
    		leafErr = err
    	}
    	return leafErr
    }
    
    // One log message per error.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  9. .teamcity/src/main/kotlin/configurations/Gradleception.kt

        val extraSysProp = mutableListOf<String>()
        if (bundleGroovy4) {
            extraSysProp += "-DbundleGroovy4=true"
        }
        if (buildJvm.version != BuildToolBuildJvm.version) {
            extraSysProp += "-Dorg.gradle.ignoreBuildJavaVersionCheck=true"
        }
        val defaultParameters =
            (buildToolGradleParameters() + buildScanTags + extraSysProp + functionalTestParameters(Os.LINUX)).joinToString(
                separator = " "
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Oct 08 12:58:46 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  10. internal/grid/benchmark_test.go

    				for i := 0; i < responses; i++ {
    					toSend := GetByteBuffer()[:0]
    					toSend = append(toSend, byte(i))
    					toSend = append(toSend, payload...)
    					select {
    					case <-ctx.Done():
    						return nil
    					case out <- toSend:
    					}
    				}
    				return nil
    			},
    
    			Subroute:    "some-subroute",
    			OutCapacity: 1, // Only one message buffered.
    			InCapacity:  0,
    		}))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 15.7K bytes
    - Viewed (0)
Back to top