Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 100 for 1024x1024 (0.18 sec)

  1. test/fixedbugs/issue11256.go

    				runtime.Gosched()
    			}
    			atomic.StoreInt32(&done, 0)
    			// Exit without unwinding stack barriers.
    			runtime.Goexit()
    		}()
    
    		// Generate some garbage.
    		x[i] = make([]byte, 1024*1024)
    
    		// Give GC some time to install stack barriers in the G.
    		time.Sleep(50 * time.Microsecond)
    		atomic.StoreInt32(&done, 1)
    		for atomic.LoadInt32(&done) == 1 {
    			runtime.Gosched()
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 29 15:02:30 UTC 2015
    - 1.1K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/resource/transfer/ResourceOperationTest.groovy

            then:
            0 * context.progress(_)
    
            when:
            operation.logProcessedBytes(512 * 1)
            operation.logProcessedBytes(512 * 2)
            then:
            1 * context.progress(1024, 10240, "bytes", "1 KiB/10 KiB downloaded")
            1 * context.progress(2048, 10240, "bytes", "2 KiB/10 KiB downloaded")
            0 * context.progress(_)
        }
    
        def "last chunk of bytes <1KiB is not logged"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/resource/transfer/ProgressLoggingExternalResourceUploaderTest.groovy

            1 * resource.contentLength >> 1072
            1 * delegate.upload(_, location) >> { resource, destination ->
                def stream = resource.open();
                assert stream.read(new byte[1024]) == 1024
                assert stream.read(new byte[1024]) == 48
            }
            1 * inputStream.read(_, 0, 1024) >> 1024
            1 * inputStream.read(_, 0, 1024) >> 48
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 12:31:19 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  4. samples/guide/src/main/java/okhttp3/recipes/RewriteResponseCacheControl.java

            .build();
      };
    
      private final OkHttpClient client;
    
      public RewriteResponseCacheControl(File cacheDirectory) throws Exception {
        Cache cache = new Cache(cacheDirectory, 1024 * 1024);
        cache.evictAll();
    
        client = new OkHttpClient.Builder()
            .cache(cache)
            .build();
      }
    
      public void run() throws Exception {
        for (int i = 0; i < 5; i++) {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Jan 12 03:31:36 UTC 2019
    - 2.6K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/process/internal/CurrentProcess.java

            return effectiveJvmOptions;
        }
    
        public JavaInfo getJvm() {
            return jvm;
        }
    
        public boolean isLowMemoryProcess() {
            return Runtime.getRuntime().maxMemory() <= 64L * 1024 * 1024; // 64MB is our default for a launcher process
        }
    
        static JvmOptions inferJvmOptions(FileCollectionFactory fileCollectionFactory, List<String> arguments) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  6. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/HeapProportionalCacheSizer.java

        }
    
        public HeapProportionalCacheSizer() {
            this(calculateMaxHeapMB());
        }
    
        private static int calculateMaxHeapMB() {
            return (int) (Runtime.getRuntime().maxMemory() / (1024 * 1024));
        }
    
        private double calculateRatioToDefaultAvailableHeap() {
            double defaultAvailableHeapSpace = DEFAULT_SIZES_MAX_HEAP_MB - ASSUMED_USED_HEAP;
            double availableHeapSpace = maxHeapMB - reservedHeap;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  7. platforms/core-runtime/io/src/main/java/org/gradle/internal/io/LineBufferingOutputStream.java

     */
    public class LineBufferingOutputStream extends OutputStream {
        private final static int LINE_MAX_LENGTH = 1024 * 1024; // Split line if a single line goes over 1 MB
        private boolean hasBeenClosed;
        private final TextStream handler;
        private StreamByteBuffer buffer;
        private final OutputStream output;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 12 08:51:14 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/preflight/checks_linux.go

    	}
    
    	// Totalram holds the total usable memory. Unit holds the size of a memory unit in bytes. Multiply them and convert to MB
    	actual := uint64(info.Totalram) * uint64(info.Unit) / 1024 / 1024
    	if actual < mc.Mem {
    		errorList = append(errorList, errors.Errorf("the system RAM (%d MB) is less than the minimum %d MB", actual, mc.Mem))
    	}
    	return warnings, errorList
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 06:58:01 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  9. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/TestDohMain.kt

            getOnly = false,
          )
        runBatch(dnsProviders, names)
        val dnsCache =
          Cache(
            directory = File("./target/TestDohMain.cache.${System.currentTimeMillis()}"),
            maxSize = 10L * 1024 * 1024,
          )
        println("Bad targets\n***********\n")
        val url = "https://dns.cloudflare.com/.not-so-well-known/run-dmc-query".toHttpUrl()
        val badProviders =
          listOf(
            DnsOverHttps.Builder()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  10. ci/official/containers/linux_arm64/devel.usertools/wheel_verification.bats

    }
    
    @test "Wheel conforms to upstream size limitations" {
        WHEEL_MEGABYTES=$(stat --format %s "$TF_WHEEL" | awk '{print int($1/(1024*1024))}')
        # Googlers: search for "test_tf_whl_size"
        case "$TF_WHEEL" in
            # CPU:
            *cpu*manylinux*) LARGEST_OK_SIZE=220 ;;
            # GPU:
            *manylinux*)     LARGEST_OK_SIZE=580 ;;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 23 02:14:00 UTC 2024
    - 2.7K bytes
    - Viewed (0)
Back to top