Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 830 for reuse (0.04 sec)

  1. src/cmd/vendor/golang.org/x/tools/go/ast/astutil/rewrite.go

    	// convert typed nil into untyped nil
    	if v := reflect.ValueOf(n); v.Kind() == reflect.Ptr && v.IsNil() {
    		n = nil
    	}
    
    	// avoid heap-allocating a new cursor for each apply call; reuse a.cursor instead
    	saved := a.cursor
    	a.cursor.parent = parent
    	a.cursor.name = name
    	a.cursor.iter = iter
    	a.cursor.node = n
    
    	if a.pre != nil && !a.pre(&a.cursor) {
    		a.cursor = saved
    		return
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 18 21:28:13 UTC 2023
    - 12.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/FileBackedOutputStream.java

          return new ByteArrayInputStream(memory.getBuffer(), 0, memory.getCount());
        }
      }
    
      /**
       * Calls {@link #close} if not already closed, and then resets this object back to its initial
       * state, for reuse. If data was buffered to a file, it will be deleted.
       *
       * @throws IOException if an I/O error occurred while deleting the file buffer
       */
      public synchronized void reset() throws IOException {
        try {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:40:56 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  3. cni/pkg/nodeagent/server.go

    	if err != nil {
    		return nil, fmt.Errorf("error configuring iptables: %w", err)
    	}
    
    	// Create hostprobe rules now, in the host netns
    	// Later we will reuse this same configurator inside the pod netns for adding other rules
    	iptablesConfigurator.DeleteHostRules()
    
    	if err := iptablesConfigurator.CreateHostRulesForHealthChecks(&HostProbeSNATIP, &HostProbeSNATIPV6); err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 21:45:18 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  4. docs/en/docs/advanced/additional-responses.md

    ```Python
    {
        "old key": "old value",
        "second old key": "second old value",
        "new key": "new value",
    }
    ```
    
    You can use that technique to reuse some predefined responses in your *path operations* and combine them with additional custom ones.
    
    For example:
    
    ```Python hl_lines="13-17  26"
    {!../../../docs_src/additional_responses/tutorial004.py!}
    ```
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 18 23:43:13 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/reconcilers/peer_endpoint_lease_test.go

    	expectEndpoint string
    }
    
    func NewFakePeerEndpointReconciler(t *testing.T, s storage.Interface) peerEndpointLeaseReconciler {
    	// use the same base key used by the controlplane, but add a random
    	// prefix so we can reuse the etcd instance for subtests independently.
    	base := "/" + uuid.New().String() + "/peerserverleases/"
    	return peerEndpointLeaseReconciler{serverLeases: &peerEndpointLeases{
    		storage:   s,
    		destroyFn: func() {},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  6. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/impl/DirectorySnapshotterTest.groovy

            unfilteredSubsnapshots*.absolutePath == [
                nestedTextFile,
                nestedSiblingTextFile.parentFile,
                rootTextFile
            ]*.absolutePath
        }
    
        def "should reuse existing file and directory snapshots"() {
            given:
            def rootDir = tmpDir.createDir("root")
            def rootTextFile = rootDir.file("root.txt").createFile()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:32 UTC 2023
    - 23.6K bytes
    - Viewed (0)
  7. subprojects/build-events/src/main/java/org/gradle/internal/build/event/DefaultBuildEventsListenerRegistry.java

                    queue((DefaultTaskFinishedProgressEvent) message);
                }
            }
    
            @Override
            protected void handle(DefaultTaskFinishedProgressEvent providerEvent) {
                // TODO - reuse adapters from tooling api client
                InternalTaskDescriptor providerDescriptor = providerEvent.getDescriptor();
                InternalTaskResult providerResult = providerEvent.getResult();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 05 19:34:01 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  8. docs/en/docs/advanced/path-operation-advanced-configuration.md

        ```
    
    !!! info
        In Pydantic version 1 the method to parse and validate an object was `Item.parse_obj()`, in Pydantic version 2, the method is called `Item.model_validate()`.
    
    !!! tip
        Here we reuse the same Pydantic model.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 18 23:43:13 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  9. platforms/documentation/docs/build.gradle

                displayName = "Sharing build logic in a multi-repo setup with Test Suites (Incubating)"
                description = "Organize and publish build logic for reuse in other projects using the new Test Suites API."
                category = "Java"
                common {
                    from(templates.precompiledScriptPluginUtils)
                }
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 15:37:11 UTC 2024
    - 42K bytes
    - Viewed (0)
  10. platforms/software/resources-sftp/src/test/groovy/org/gradle/internal/resource/transport/sftp/SftpClientFactoryTest.groovy

            sftpClientFactory.idleClients.size() == 0
            sftpClientFactory.allClients.size() == 2
            initialClient != newClient
        }
    
        def "Can acquire, release and reuse single client"() {
            def mockSftpClient = Mock(LockableSftpClient)
    
            given:
            URI uri = new URI('http://localhost:22/repo')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 14.3K bytes
    - Viewed (0)
Back to top