Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 136 for recreate (0.13 sec)

  1. okhttp/src/main/kotlin/okhttp3/RequestBody.kt

         */
        @JvmStatic
        @JvmName("create")
        fun String.toRequestBody(contentType: MediaType? = null): RequestBody {
          val (charset, finalContentType) = contentType.chooseCharset()
          val bytes = toByteArray(charset)
          return bytes.toRequestBody(finalContentType, 0, bytes.size)
        }
    
        @JvmStatic
        @JvmName("create")
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Thu Jan 25 14:41:37 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  2. src/cmd/go/internal/workcmd/use.go

    				nKept++
    			} else {
    				wf.DropUse(dir)
    			}
    		}
    		if keepDir != "" && nKept != 1 {
    			// If we kept more than one copy, delete them all.
    			// We'll recreate a unique copy with AddUse.
    			if nKept > 1 {
    				wf.DropUse(keepDir)
    			}
    			wf.AddUse(keepDir, "")
    		}
    	}
    
    	// Read the Go versions from all the use entries, old and new (but not dropped).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Jun 03 21:13:11 UTC 2023
    - 7K bytes
    - Viewed (0)
  3. src/cmd/gofmt/rewrite.go

    			val = subst(m, repl, reflect.ValueOf(val.Interface().(ast.Node).Pos()))
    		}
    		return val
    	}
    
    	r := apply(rewriteVal, reflect.ValueOf(p)).Interface().(*ast.File)
    	r.Comments = cmap.Filter(r).Comments() // recreate comments list
    	return r
    }
    
    // set is a wrapper for x.Set(y); it protects the caller from panics if x cannot be changed to y.
    func set(x, y reflect.Value) {
    	// don't bother if x cannot be set or y is invalid
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 27 22:07:13 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  4. src/internal/trace/testdata/generators/go122-go-create-without-running-g.go

    // Copyright 2023 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Regression test for an issue found in development.
    //
    // GoCreate events can happen on bare Ps in a variety of situations and
    // and earlier version of the parser assumed this wasn't possible. At
    // the time of writing, one such example is goroutines created by expiring
    // timers.
    
    package main
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 996 bytes
    - Viewed (0)
  5. src/internal/trace/testdata/tests/go122-go-create-without-running-g.test

    -- expect --
    SUCCESS
    -- trace --
    Trace Go1.22
    EventBatch gen=1 m=0 time=0 size=17
    ProcStatus dt=1 p=0 pstatus=1
    GoCreate dt=1 new_g=5 new_stack=0 stack=0
    GoStart dt=1 g=5 g_seq=1
    GoStop dt=1 reason_string=1 stack=0
    EventBatch gen=1 m=18446744073709551615 time=0 size=5
    Frequency freq=15625000
    EventBatch gen=1 m=18446744073709551615 time=0 size=1
    Stacks
    EventBatch gen=1 m=18446744073709551615 time=0 size=12
    Strings
    String id=1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 446 bytes
    - Viewed (0)
  6. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/DaemonLifecycleSpec.groovy

                deleteFile(registry)
            }
    
            then:
            stopped()
        }
    
        def "daemon stops after current build if registry is deleted and recreated"() {
            when:
            startBuild()
            waitForBuildToWait()
    
            then:
            busy()
            daemonContext {
                File registry = new DaemonDir(executer.daemonBaseDir).registry
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  7. internal/lock/lock_test.go

    	isClosed = rlk.IsClosed()
    	if isClosed {
    		t.Fatal("File ref count shouldn't be zero")
    	}
    
    	// Decrease reference count by 1.
    	if err = rlk.Close(); err != nil {
    		t.Fatal(err)
    	}
    
    	isClosed = rlk.IsClosed()
    	if isClosed {
    		t.Fatal("File ref count shouldn't be zero")
    	}
    
    	// Decrease reference count by 1.
    	if err = rlk.Close(); err != nil {
    		t.Fatal(err)
    	}
    
    	// Now file should be closed.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  8. prow/buildx-create

      docker run --rm --privileged gcr.io/istio-testing/qemu-user-static --reset -p yes
    fi
    
    export DOCKER_CLI_EXPERIMENTAL=enabled
    if ! docker buildx ls | grep -q container-builder; then
      docker buildx create --driver-opt network=host,image=gcr.io/istio-testing/buildkit:v0.11.0 --name container-builder --buildkitd-flags="--debug"
      # Pre-warm the builder. If it fails, fetch logs, but continue
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 25 21:24:42 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/registry/rest/create.go

    	"k8s.io/apiserver/pkg/storage/names"
    	"k8s.io/apiserver/pkg/warning"
    )
    
    // RESTCreateStrategy defines the minimum validation, accepted input, and
    // name generation behavior to create an object that follows Kubernetes
    // API conventions.
    type RESTCreateStrategy interface {
    	runtime.ObjectTyper
    	// The name generator is used when the standard GenerateName field is set.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 27 11:48:28 UTC 2022
    - 9.1K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/CheckedFingerprint.kt

        // Everything is up-to-date
        object Valid : CheckedFingerprint()
    
        // The entry cannot be reused at all and should be recreated from scratch
        class EntryInvalid(val reason: String) : CheckedFingerprint()
    
        // The entry can be reused, however the values for certain projects cannot be reused and should be recreated
        class ProjectsInvalid(val reason: String, val invalidProjects: Set<Path>) : CheckedFingerprint()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.2K bytes
    - Viewed (0)
Back to top