Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 434 for recreate (0.12 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/remove_unused_arguments.cc

          op.eraseOperands(erase);
        }
      }
    }
    
    // Erases the given results from an operation, similar to what
    // Operation::eraseArguments does (but for results).
    // This is a lengthy bit of code, since it has to recreate the operation.
    // TODO(kramm): Move this under utils/ somewhere.
    void EraseResults(Operation* op, llvm::BitVector erase) {
      assert(!op->getNumRegions());
      std::vector<Type> result_types;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  2. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/ImmutableActionSet.java

            @Override
            ImmutableActionSet<T> addAll(SetWithFewActions<T> source) {
                if (singleAction.equals(source.actions[0])) {
                    // Already at the front. If not at the front, need to recreate
                    return source;
                }
                if (source.actions.length < FEW_VALUES && !source.contains(singleAction)) {
                    // Adding a small set with no duplicates
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 11K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top