Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,163 for c000 (0.27 sec)

  1. src/crypto/internal/boring/bcache/cache_test.go

    		k := next[int]()
    		v := next[int32]()
    		m[k] = v
    		c.Put(k, v)
    	}
    
    	// Overwrite a random 20% of those.
    	n := 0
    	for k := range m {
    		v := next[int32]()
    		m[k] = v
    		c.Put(k, v)
    		if n++; n >= 2000 {
    			break
    		}
    	}
    
    	// Check results.
    	for k, v := range m {
    		if cv := c.Get(k); cv != v {
    			t.Fatalf("c.Get(%v) = %v, want %v", str(k), str(cv), str(v))
    		}
    	}
    
    	c.Clear()
    	for k := range m {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 18 00:30:19 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/AtomicLongMapBasherTest.java

    @GwtIncompatible // threads
    public class AtomicLongMapBasherTest extends TestCase {
      private final Random random = new Random(301);
    
      public void testModify_basher() throws Exception {
        int nTasks = 3000;
        int nThreads = 100;
        final int getsPerTask = 1000;
        final int deltaRange = 10000;
        final String key = "key";
    
        final AtomicLongMap<String> map = AtomicLongMap.create();
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 13 14:28:25 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/AtomicLongMapBasherTest.java

    @GwtIncompatible // threads
    public class AtomicLongMapBasherTest extends TestCase {
      private final Random random = new Random(301);
    
      public void testModify_basher() throws Exception {
        int nTasks = 3000;
        int nThreads = 100;
        final int getsPerTask = 1000;
        final int deltaRange = 10000;
        final String key = "key";
    
        final AtomicLongMap<String> map = AtomicLongMap.create();
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 13 14:28:25 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/net/NetServerEnum2.java

    /* jcifs smb client library in Java
     * Copyright (C) 2000  "Michael B. Allen" <jcifs at samba dot org>
     *                             Gary Rambo <grambo aventail.com>
     * 
     * This library is free software; you can redistribute it and/or
     * modify it under the terms of the GNU Lesser General Public
     * License as published by the Free Software Foundation; either
     * version 2.1 of the License, or (at your option) any later version.
     * 
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/quantization/numerical_utils_test.cc

      ASSERT_FLOAT_EQ(ComposeScale(QuantizeMultiplier(5.)), 5.);
      ASSERT_FLOAT_EQ(ComposeScale(QuantizeMultiplier(2.)), 2.);
    
      // Decompose multiplier between 1.0 and 1e-6.
      ASSERT_FLOAT_EQ(ComposeScale(QuantizeMultiplier(0.0)), 0.0);
      ASSERT_FLOAT_EQ(ComposeScale(QuantizeMultiplier(1.0)), 1.0);
      ASSERT_FLOAT_EQ(ComposeScale(QuantizeMultiplier(1.0e-1)), 1.0e-1);
      ASSERT_FLOAT_EQ(ComposeScale(QuantizeMultiplier(1.0e-2)), 1.0e-2);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 08 01:38:03 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/netbios/NbtSocket.java

    /* jcifs smb client library in Java
     * Copyright (C) 2000  "Michael B. Allen" <jcifs at samba dot org>
     * 
     * This library is free software; you can redistribute it and/or
     * modify it under the terms of the GNU Lesser General Public
     * License as published by the Free Software Foundation; either
     * version 2.1 of the License, or (at your option) any later version.
     * 
     * This library is distributed in the hope that it will be useful,
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 4.8K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/testFixtures/groovy/org/gradle/integtests/tooling/fixture/ContinuousBuildToolingApiSpecification.groovy

                        |gradle.buildFinished {
                        |    long sinceStart = (System.nanoTime() - startAt) / 1000000L
                        |    if (sinceStart > 0 && sinceStart < 2000) {
                        |      sleep(2000 - sinceStart)
                        |    }
                        |}
                    """.stripMargin()
    
                    BuildLauncher launcher = projectConnection.newBuild()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  8. pkg/kubelet/kuberuntime/kuberuntime_container_windows_test.go

    					},
    				},
    			},
    		},
    	}
    
    	err = fakeRuntimeSvc.applyPlatformSpecificContainerConfig(containerConfig, &pod.Spec.Containers[0], pod, new(int64), "foo", nil)
    	require.NoError(t, err)
    
    	limit := int64(3000)
    	expectedCpuMax := 10 * limit / int64(winstats.ProcessorCount())
    	// Above, we're setting the limit to 3 CPUs. But we can't expect more than 100% of the CPUs
    	// we have. (e.g.: if we only have 2 CPUs, we can't have 150% CPU max).
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  9. pkg/kubelet/cm/container_manager_linux_test.go

    func TestGetCapacity(t *testing.T) {
    	ephemeralStorageFromCapacity := int64(2000)
    	ephemeralStorageFromCadvisor := int64(8000)
    	mockCtrl := gomock.NewController(t)
    	defer mockCtrl.Finish()
    	mockCtrlError := gomock.NewController(t)
    	defer mockCtrlError.Finish()
    
    	mockCadvisor := cadvisortest.NewMockInterface(mockCtrl)
    	rootfs := cadvisorapiv2.FsInfo{
    		Capacity: 8000,
    	}
    	mockCadvisor.EXPECT().RootFsInfo().Return(rootfs, nil)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  10. platforms/software/version-control/src/testFixtures/groovy/org/gradle/vcs/fixtures/GitHttpRepository.java

                    httpExchange.getResponseHeaders().add("content-type", "application/x-git-upload-pack-result");
                    httpExchange.sendResponseHeaders(200, 0);
                    ProcessBuilder builder = new ProcessBuilder();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 5.5K bytes
    - Viewed (0)
Back to top