Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 413 for recreate (0.14 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. pkg/controller/deployment/util/deployment_util_test.go

    			apps.RollingUpdateDeploymentStrategyType,
    			1, 5, 1, 5,
    		},
    		{
    			"scale up - to depReplicas",
    			apps.RollingUpdateDeploymentStrategyType,
    			6, 2, 10, 6,
    		},
    		{
    			"recreate - to depReplicas",
    			apps.RecreateDeploymentStrategyType,
    			3, 1, 1, 3,
    		},
    	}
    	newDeployment := generateDeployment("nginx")
    	newRC := generateRS(newDeployment)
    	rs5 := generateRS(newDeployment)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 08 09:10:50 UTC 2023
    - 37.1K bytes
    - Viewed (0)
  4. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/ExceptionPlaceholder.java

                // Don't log
            } catch (NoSuchMethodException ignored) {
                // Don't log
            } catch (Throwable ignored) {
                LOGGER.debug("Ignoring failure to recreate throwable.", ignored);
            }
    
            Throwable placeholder;
            if (causes.size() <= 1) {
                if (contextual) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  5. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/AbstractJUnitTestFailureIntegrationTest.groovy

                assertTestFailed("testWithUnserializableException", containsString("TestFailureSerializationException: An exception of type PoisonTest\$UnserializableException was thrown by the test, but Gradle was unable to recreate the exception in the build process"))
                assertTestFailed("normalFailingTest", containsString("AssertionError"))
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 18K bytes
    - Viewed (0)
  6. samples/addons/prometheus.yaml

        matchLabels:
          app.kubernetes.io/component: server
          app.kubernetes.io/name: prometheus
          app.kubernetes.io/instance: prometheus
      replicas: 1
      revisionHistoryLimit: 10
      strategy:
        type: Recreate
        rollingUpdate: null
      template:
        metadata:
          labels:
            app.kubernetes.io/component: server
            app.kubernetes.io/name: prometheus
            app.kubernetes.io/instance: prometheus
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 18:57:35 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  7. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/provider/KotlinScriptEvaluator.kt

                        }
                    }
                    return loadedClass!!
                }
    
            @Synchronized
            override fun onReuse() {
                scope?.let {
                    // Recreate the script scope and ClassLoader, so that things that use scopes are notified that the scope exists
                    it.onReuse()
                    require(loadedClass!!.classLoader == it.localClassLoader)
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 10:23:24 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  8. 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)
  9. platforms/software/testing-base-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/worker/TestEventSerializer.java

                } catch(Exception e) {
                    rawFailure = new TestFailureSerializationException("An exception of type " + rawFailureName + " was thrown by the test, but Gradle was unable to recreate the exception in the build process", e);
                }
                return rawFailure;
            }
    
            @Override
            public void write(Encoder encoder, DefaultTestFailure value) throws Exception {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 20:33:30 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  10. src/net/unixsock_test.go

    		l := listen(t)
    		checkExists(t, "after Listen")
    		l.Close()
    		checkNotExists(t, "after Listener close")
    		if err := os.WriteFile(name, []byte("hello world"), 0666); err != nil {
    			t.Fatalf("cannot recreate socket file: %v", err)
    		}
    		checkExists(t, "after writing temp file")
    		l.Close()
    		checkExists(t, "after second Listener close")
    		os.Remove(name)
    	})
    
    	// SetUnlinkOnClose should do what it says.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 10.6K bytes
    - Viewed (0)
Back to top