Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 171 for setchr (0.3 sec)

  1. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.cc

        return 0;
      }
      if (!IsCacheEnabled() || (n > max_bytes_)) {
        // The cache is effectively disabled, so we pass the read through to the
        // fetcher without breaking it up into blocks.
        return block_fetcher_(filename, offset, n, buffer, status);
      }
      // Calculate the block-aligned start and end of the read.
      size_t start = block_size_ * (offset / block_size_);
      size_t finish = block_size_ * ((offset + n) / block_size_);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 16 01:39:09 UTC 2020
    - 11.1K bytes
    - Viewed (0)
  2. src/cmd/dist/util.go

    	if vflag > 1 {
    		errprintf("run: %s\n", strings.Join(cmd, " "))
    	}
    
    	xcmd := exec.Command(cmd[0], cmd[1:]...)
    	if env != nil {
    		xcmd.Env = append(os.Environ(), env...)
    	}
    	setDir(xcmd, dir)
    	var data []byte
    	var err error
    
    	// If we want to show command output and this is not
    	// a background command, assume it's the only thing
    	// running, so we can just let it write directly stdout/stderr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 23 17:50:29 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  3. src/reflect/all_test.go

    	shouldPanic("SetCap", func() { vs.SetCap(10) })
    	shouldPanic("SetLen", func() { vs.SetLen(-1) })
    	shouldPanic("SetCap", func() { vs.SetCap(-1) })
    	shouldPanic("SetCap", func() { vs.SetCap(6) }) // smaller than len
    	vs.SetLen(5)
    	if len(xs) != 5 || cap(xs) != 8 {
    		t.Errorf("after SetLen(5), len, cap = %d, %d, want 5, 8", len(xs), cap(xs))
    	}
    	vs.SetCap(6)
    	if len(xs) != 5 || cap(xs) != 6 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        if (isWindows()) {
          return; // TODO: b/136041958 - Running very slowly on Windows CI.
        }
        final CyclicBarrier barrier =
            new CyclicBarrier(
                6 // for the setter threads
                    + 50 // for the listeners
                    + 50 // for the blocking get threads,
                    + 1); // for the main thread
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 46.7K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/_gen/PPC64Ops.go

    		// SETBC auxInt values 0=LT 1=GT 2=EQ     (CRbit=1)? 1 : 0
    		{name: "SETBC", argLength: 1, reg: crgp, asm: "SETBC", aux: "Int32", typ: "Int32"},
    		// SETBCR auxInt values 0=LT 1=GT 2=EQ     (CRbit=1)? 0 : 1
    		{name: "SETBCR", argLength: 1, reg: crgp, asm: "SETBCR", aux: "Int32", typ: "Int32"},
    
    		// pseudo-ops
    		{name: "Equal", argLength: 1, reg: crgp},         // bool, true flags encode x==y false otherwise.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:59:38 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  6. src/runtime/signal_windows.go

    		sp := unsafe.Pointer(r.sp())
    		delta := uintptr(sys.StackAlign)
    		sp = add(sp, -delta)
    		r.set_sp(uintptr(sp))
    		if usesLR {
    			*((*uintptr)(sp)) = r.lr()
    			r.set_lr(r.ip())
    		} else {
    			*((*uintptr)(sp)) = r.ip()
    		}
    	}
    	r.set_ip(abi.FuncPCABI0(sigpanic0))
    	return _EXCEPTION_CONTINUE_EXECUTION
    }
    
    // sehhandler is reached as part of the SEH chain.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 17 20:32:29 UTC 2023
    - 14.5K bytes
    - Viewed (0)
  7. platforms/core-execution/execution-e2e-tests/src/integTest/groovy/org/gradle/integtests/StaleOutputIntegrationTest.groovy

                    @Inject
                    abstract ObjectFactory getObjectFactory()
    
                    @OutputFiles
                    FileCollection getOutputFileTree() {
                        objectFactory.fileTree().setDir(outputDir).include('**/myOutput.txt')
                    }
    
                    @TaskAction
                    void generateOutputs() {
                        outputDir.mkdirs()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 04 10:15:40 UTC 2024
    - 23K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/inspect/ManagedModelInitializerTest.groovy

    import org.gradle.model.Managed
    
    @Managed
    interface Managed${typeName} {
        ${typeName} get${typeName}()`
        void set${typeName}($typeName arg)
    }
    """)
        }
    
        def "must have a setter - #managedType.simpleName"() {
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 12.9K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/AsmBackedClassGeneratorInjectDecoratedTest.groovy

            then:
            obj.thing == 12
            obj.getThing() == 12
            obj.getProperty("thing") == 12
        }
    
        def "can optionally set injected service using a service setter method"() {
            given:
            def services = defaultServices()
    
            when:
            def obj = create(BeanWithMutableServices, services)
            obj.thing = 12
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  10. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/codegen/groovy/InterceptGroovyCallsGenerator.java

                return newValueParameter.orElseThrow(() -> new IllegalArgumentException("a setter interceptor must accept a parameter")).getParameterType();
            } else {
                throw new IllegalArgumentException("expected a property interception request, got " + request);
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:40 UTC 2024
    - 16.4K bytes
    - Viewed (0)
Back to top