Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 645 for 20something (0.17 sec)

  1. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/bootstrap/EntryPoint.java

     * <p>
     * The createCompleter() and createErrorHandler() are not really intended to be overridden
     * by subclasses as they define our entry point behaviour, but they are protected to enable
     * testing as it's difficult to test something that will call System.exit().
     */
    public abstract class EntryPoint {
        private final PrintStream originalStdErr = System.err;
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:54:56 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. docs/bn/docs/python-types.md

    `Optional[Something]` মূলত `Union[Something, None]`-এর একটি শর্টকাট, এবং তারা সমতুল্য।
    
    এর মানে হল, Python 3.10-এ, আপনি টাইপগুলির ইউনিয়ন ঘোষণা করতে `Something | None` ব্যবহার করতে পারেন:
    
    === "Python 3.10+"
    
        ```Python hl_lines="1"
        {!> ../../../docs_src/python_types/tutorial009_py310.py!}
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Apr 03 15:34:37 UTC 2024
    - 36K bytes
    - Viewed (0)
  3. src/internal/trace/testdata/testprog/stress.go

    	n := 512
    	for i := 0; i < n; i++ {
    		_ = make([]byte, 1<<20)
    	}
    
    	// Create a bunch of busy goroutines to load all Ps.
    	for p := 0; p < 10; p++ {
    		wg.Add(1)
    		go func() {
    			// Do something useful.
    			tmp := make([]byte, 1<<16)
    			for i := range tmp {
    				tmp[i]++
    			}
    			_ = tmp
    			<-done
    			wg.Done()
    		}()
    	}
    
    	// Block in syscall.
    	wg.Add(1)
    	go func() {
    		var tmp [1]byte
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/junit/result/Binary2JUnitXmlReportGeneratorSpec.groovy

            1 * generator.xmlWriter.write(barTest, _)
            0 * generator.xmlWriter._
    
            where:
            numThreads << [1, 4]
        }
    
        def "adds context information to the failure if something goes wrong"() {
            generator = generatorWithMaxThreads(1)
    
            def fooTest = new TestClassResult(1, 'FooTest', 100)
                .add(new TestMethodResult(1, "foo"))
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 19:07:01 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  5. src/internal/trace/testdata/testprog/stress-start-stop.go

    		n := 512
    		for i := 0; i < n; i++ {
    			_ = make([]byte, 1<<20)
    		}
    
    		// Create a bunch of busy goroutines to load all Ps.
    		for p := 0; p < 10; p++ {
    			wg.Add(1)
    			go func() {
    				// Do something useful.
    				tmp := make([]byte, 1<<16)
    				for i := range tmp {
    					tmp[i]++
    				}
    				_ = tmp
    				<-done
    				wg.Done()
    			}()
    		}
    
    		// Block in syscall.
    		wg.Add(1)
    		go func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/utils/string_utils.cc

    namespace mlir::TFL {
    
    absl::Status MiniDynamicBuffer::AddString(const char* str, size_t len) {
      // If `data_.size() + len` is greater than `SIZE_MAX` then the left hand side
      // will overflow to something less than max_length_. After checking `len <=
      // max_length_` we can use this subtraction to check for overflow.
      if (len > max_length_ || data_.size() >= max_length_ - len)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/MinimalIterable.java

      private MinimalIterable(Iterator<E> iterator) {
        this.iterator = iterator;
      }
    
      @Override
      public Iterator<E> iterator() {
        if (iterator == null) {
          // TODO: throw something else? Do we worry that people's code and tests
          // might be relying on this particular type of exception?
          throw new IllegalStateException();
        }
        try {
          return iterator;
        } finally {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  8. platforms/core-configuration/declarative-dsl-core/src/integTest/groovy/org/gradle/internal/declarativedsl/ErrorHandlingOnReflectiveCallsSpec.groovy

                    id("com.example.restricted.ecosystem")
                }
            """
    
            file("build.gradle.dcl") << """
                restricted {
                    access {
                        name = "something"
                    }
                }
            """
    
            when:
            fails(":help")
    
            then:
            failureCauseContains("Boom")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 24 10:11:12 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  9. platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/K2IntegrationTest.kt

                import org.gradle.api.DefaultTask
                import org.gradle.api.tasks.TaskAction
    
                abstract class MyTask : DefaultTask() {
                    @TaskAction fun action() { println("Doing something") }
                }
            """)
            withFile("build-logic/src/main/kotlin/MyPlugin.kt", """
                import org.gradle.api.Project
                import org.gradle.api.Plugin
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 10 06:52:58 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  10. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/AbstractResolveCachingStateStepTest.groovy

        }
    
        def "build cache disabled reason is determined without execution state"() {
            def disabledReason = new CachingDisabledReason(CachingDisabledReasonCategory.DISABLE_CONDITION_SATISFIED, "Something disabled")
    
            when:
            step.execute(work, context)
            then:
            _ * buildCache.enabled >> true
            _ * context.beforeExecutionState >> Optional.empty()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 13:26:04 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top