Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 830 for reuse (0.07 sec)

  1. pkg/apis/rbac/validation/validation.go

    	"k8s.io/apimachinery/pkg/util/validation/field"
    	"k8s.io/kubernetes/pkg/apis/core/validation"
    	"k8s.io/kubernetes/pkg/apis/rbac"
    )
    
    // ValidateRBACName is exported to allow types outside of the RBAC API group to reuse this validation logic
    // Minimal validation of names for roles and bindings. Identical to the validation for Openshift. See:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 08 01:48:21 UTC 2022
    - 10.4K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/adapter/ProtocolToModelAdapterTest.groovy

            parent.child >> child
            child.parent >> parent
    
            expect:
            def model = adapter.adapt(TestProjectTree.class, parent)
            model.child.parent.is(model)
        }
    
        def "does not reuse views for different objects that are equal"() {
            TestProtocolModel protocolModel = Mock()
            TestProtocolProject project1 = new TestProtocolProjectWithEquality()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 21.9K bytes
    - Viewed (0)
  3. platforms/core-runtime/client-services/src/main/java/org/gradle/internal/daemon/client/serialization/ClientSidePayloadClassLoaderRegistry.java

                    if (classLoaderMapping.details.spec.equals(details.spec)) {
                        // Found an entry with the same spec, so reuse it
                        classLoaders.put(details.uuid, classLoaderMapping);
                        return classLoaderMapping.getClassLoaders();
                    }
                }
                return null;
            } finally {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:53:31 UTC 2024
    - 10K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/external/model/DefaultModuleComponentGraphResolveState.java

    import org.gradle.internal.component.model.ComponentIdGenerator;
    import org.gradle.internal.component.model.DefaultExternalComponentGraphResolveState;
    
    /**
     * <p>The aim is to create only a single instance of this type per component and reuse that for all resolution that happens in a build tree. This isn't quite the case yet.
     */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 17:38:42 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. internal/grid/handlers.go

    		s.callReuseReq = true
    	}
    	return &s
    }
    
    // PutResponse will accept a response for reuse.
    // This can be used by a caller to recycle a response after receiving it from a Call.
    func (h *SingleHandler[Req, Resp]) PutResponse(r Resp) {
    	h.recycleResp(r)
    }
    
    // AllowCallRequestPool indicates it is safe to reuse the request
    // on the client side, meaning the request is recycled/pooled when a request is sent.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  6. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/btree/ByteInputTest.groovy

        def setup() {
            file = new RandomAccessFile(tmpDir.file("test.bin"), "rw")
            input = new ByteInput(file)
        }
    
        def cleanup() {
            file.close()
        }
    
        def "can reuse to read from multiple locations in file"() {
            given:
            file.seek(0)
            file.writeInt(123)
            file.writeInt(321)
            file.writeInt(456)
    
            expect:
            def stream = input.start(0)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt

                connectionUser.releaseConnectionNoEvents()
              }
              else -> null
            }
          }
    
        // If the call's connection wasn't released, reuse it. We don't call connectionAcquired() here
        // because we already acquired it.
        if (connectionUser.candidateConnection() != null) {
          check(toClose == null)
          return ReusePlan(candidate)
        }
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 12K bytes
    - Viewed (0)
  8. src/net/sockopt_windows.go

    		return os.NewSyscallError("setsockopt", syscall.SetsockoptInt(s, syscall.SOL_SOCKET, syscall.SO_BROADCAST, 1))
    	}
    	return nil
    }
    
    func setDefaultListenerSockopts(s syscall.Handle) error {
    	// Windows will reuse recently-used addresses by default.
    	// SO_REUSEADDR should not be used here, as it allows
    	// a socket to forcibly bind to a port in use by another socket.
    	// This could lead to a non-deterministic behavior, where
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 09 00:33:27 UTC 2020
    - 1.5K bytes
    - Viewed (0)
  9. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/JavaHomeBasedJavaCompilerFactory.java

    public class JavaHomeBasedJavaCompilerFactory implements Factory<ContextAwareJavaCompiler>, Serializable {
        private final List<File> compilerPluginsClasspath;
        // We use a static cache here because we want to reuse classloaders in compiler workers as
        // it has a huge impact on performance. Previously there was a single, JdkTools.current()
        // instance, but we can have different "compiler plugins" classpath. For this reason we use
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 13:00:39 UTC 2024
    - 2K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/docs/userguide/optimizing-performance/build-cache/build_cache_concepts.adoc

    Having two tasks in the same build that do the same might sound like a problem to fix, but it is not necessarily something bad.
    For example, the Android plugin creates several tasks for each variant of the project; some of those tasks will potentially do the same thing.
    These tasks can safely reuse each other's outputs.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 29 17:38:38 UTC 2023
    - 13.4K bytes
    - Viewed (0)
Back to top