Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 1,349 for toen (0.63 sec)

  1. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/FileBackedObjectHolderTest.groovy

        def "returns null when file does not exist"() {
            when:
            def result = cache.get()
    
            then:
            result == null
            1 * fileAccess.readFile(!null) >> { it[0].get() }
        }
    
        def "get returns last value written to file"() {
            when:
            cache.set('some value')
    
            then:
            1 * fileAccess.writeFile(!null) >> { it[0].run() }
            tmpDir.file('state.bin').assertIsFile()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:50 UTC 2024
    - 5K bytes
    - Viewed (0)
  2. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/TimeoutStepTest.groovy

            then:
            _ * work.timeout >> Optional.of(duration)
    
            then:
            1 * timeoutHandler.start(_ as Thread, duration, work, buildOperationRef) >> timeout
    
            then:
            1 * delegate.execute(work, context) >> delegateResult
    
            then:
            1 * timeout.stop() >> true
    
            then:
            def ex = thrown Exception
            ex.message == "Timeout has been exceeded"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  3. src/packaging/deb/init.d/fess

    	fi
    	if [ -n "$PID_FILE" ] && [ ! -e "$PID_FILE" ]; then
    		touch "$PID_FILE" && chown "$FESS_USER":"$FESS_GROUP" "$PID_FILE"
    	fi
    
    	if [ -n "$MAX_OPEN_FILES" ]; then
    		ulimit -n $MAX_OPEN_FILES
    	fi
    
    	if [ -n "$MAX_LOCKED_MEMORY" ]; then
    		ulimit -l $MAX_LOCKED_MEMORY
    	fi
    
    	if [ -n "$MAX_MAP_COUNT" -a -f /proc/sys/vm/max_map_count ]; then
    		sysctl -q -w vm.max_map_count=$MAX_MAP_COUNT
    	fi
    
    	# Start Daemon
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Sun Jan 15 06:32:15 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/extensibility/ExtraPropertiesDynamicObjectAdapterTest.groovy

            adapter.getProperty("foo")
    
            then:
            thrown(MissingPropertyException)
        }
    
        def "setting missing property throws MPE"() {
            when:
            adapter.setProperty("foo", 12)
    
            then:
            thrown(MissingPropertyException)
        }
    
        def "invoking method throws MME"() {
            when:
            adapter.invokeMethod("foo", "bar")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheToolingApiInvocationIntegrationTest.groovy

                }
                println("script log statement")
            """
    
            when:
            configurationCacheRun("assemble")
    
            then:
            outputContains("script log statement")
    
            when:
            configurationCacheRun("assemble")
    
            then:
            outputDoesNotContain("script log statement")
        }
    
        def "can enable configuration cache using gradle property in gradle.properties"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  6. platforms/core-runtime/functional/src/test/groovy/org/gradle/internal/lazy/LazyTest.groovy

            def supplier = Mock(Supplier)
    
            when:
            def lazy = factory(supplier)
    
            then:
            0 * supplier._
    
            when:
            lazy.use {
                assert it == 123
            }
    
            then:
            1 * supplier.get() >> 123
    
            when:
            lazy.get()
    
            then:
            0 * supplier.get()
    
            when:
            lazy.use {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:22:02 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  7. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/contracts/description/KtEffects.kt

        private val backingValueParameterReference: KaContractParameterValue,
        private val backingOccurrencesRange: EventOccurrencesRange,
    ) : KaContractEffectDeclaration {
        override val token: KaLifetimeToken get() = backingValueParameterReference.token
    
        public val valueParameterReference: KaContractParameterValue get() = withValidityAssertion { backingValueParameterReference }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  8. tests/tests_all.sh

    dialects=("sqlite" "mysql" "postgres" "sqlserver" "tidb")
    
    if [[ $(pwd) == *"gorm/tests"* ]]; then
      cd ..
    fi
    
    if [ -d tests ]
    then
      cd tests
      go get -u -t ./...
      go mod download
      go mod tidy
      cd ..
    fi
    
    # SqlServer for Mac M1
    if [[ -z $GITHUB_ACTION ]]; then
      if [ -d tests ]
      then
        cd tests
        if [[ $(uname -a) == *" arm64" ]]; then
          MSSQL_IMAGE=mcr.microsoft.com/azure-sql-edge docker-compose start || true
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Feb 08 08:29:09 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/mod/modfile/work.go

    		switch x := x.(type) {
    		case *Line:
    			f.add(&errs, x, x.Token[0], x.Token[1:], fix)
    
    		case *LineBlock:
    			if len(x.Token) > 1 {
    				errs = append(errs, Error{
    					Filename: file,
    					Pos:      x.Start,
    					Err:      fmt.Errorf("unknown block type: %s", strings.Join(x.Token, " ")),
    				})
    				continue
    			}
    			switch x.Token[0] {
    			default:
    				errs = append(errs, Error{
    					Filename: file,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 18:34:56 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheMultiProjectIntegrationTest.groovy

            inDirectory a
            configurationCacheRun ':ok'
    
            then:
            configurationCache.assertStateStored()
    
            when:
            inDirectory b
            configurationCacheRun ':ok'
    
            then:
            configurationCache.assertStateLoaded()
    
            when:
            inDirectory a
            configurationCacheRun ':ok'
    
            then:
            configurationCache.assertStateLoaded()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top