Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 830 for reuse (0.05 sec)

  1. src/crypto/cipher/gcm.go

    	// additional data and appends the result to dst, returning the updated
    	// slice. The nonce must be NonceSize() bytes long and unique for all
    	// time, for a given key.
    	//
    	// To reuse plaintext's storage for the encrypted output, use plaintext[:0]
    	// as dst. Otherwise, the remaining capacity of dst must not overlap plaintext.
    	Seal(dst, nonce, plaintext, additionalData []byte) []byte
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  2. src/compress/lzw/writer_test.go

    			b.SetBytes(int64(n))
    			for i := 0; i < b.N; i++ {
    				w := NewWriter(io.Discard, LSB, 8)
    				w.Write(buf1)
    				w.Close()
    			}
    		})
    		b.Run(fmt.Sprint("1e-Reuse", e), func(b *testing.B) {
    			b.SetBytes(int64(n))
    			w := NewWriter(io.Discard, LSB, 8)
    			for i := 0; i < b.N; i++ {
    				w.Write(buf1)
    				w.Close()
    				w.(*Writer).Reset(io.Discard, LSB, 8)
    			}
    		})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 12 11:00:47 UTC 2021
    - 5.7K bytes
    - Viewed (0)
  3. 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)
  4. subprojects/core-api/src/main/java/org/gradle/plugin/use/PluginDependenciesSpec.java

         *
         * <pre>
         * plugins {
         *     id "org.company.myplugin" version "1.3" apply false
         * }
         * </pre>
         *
         * This is useful to reuse task classes from a plugin or to apply it to some other target than the current script.
         *
         * @param id the id of the plugin to depend on
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 16 17:46:02 UTC 2022
    - 6.9K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/docs/userguide/authoring-builds/basics/writing_plugins.adoc

    == Convention Plugins
    
    Convention plugins are a way to encapsulate and reuse common build logic in Gradle.
    They allow you to define a set of conventions for a project, and then apply those conventions to other projects or modules.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 18 00:36:58 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

        // Check that a fresh connection was created, either immediately or after attempting reuse.
        // We know that a fresh connection was created if the server recorded a request with sequence
        // number 0. Since the client may have attempted to reuse the broken connection just before
        // creating a fresh connection, the server may have recorded 2 requests at this point. The order
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 131.7K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/admission/configuration/mutating_webhook_manager_test.go

    // the function webhook.NewMutatingWebhookAccessor is being called when refreshing
    // webhookAccessors.
    //
    // NOTE: Maybe there some testing help that we can import and reuse instead.
    type mockCreateMutatingWebhookAccessor struct {
    	numberOfCalls int
    }
    
    func (mock *mockCreateMutatingWebhookAccessor) calledNTimes() int { return mock.numberOfCalls }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 12 15:20:14 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/cache/internal/GradleUserHomeCleanupServiceIntegrationTest.groovy

        }
    
        def "always cleans up unused version-specific cache directories and corresponding #type distributions when configured"() {
            given:
            executer.requireIsolatedDaemons() // because we want to reuse Gradle user home services
            executer.beforeExecute {
                if (!GradleContextualExecuter.embedded) {
                    executer.withArgument("-D$REUSE_USER_HOME_SERVICES=true")
                }
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 10 15:48:56 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/docs/userguide/optimizing-performance/configuration_cache.adoc

    include::sample[dir="snippets/configurationCache/problemsFixedReuse/groovy",files="build.gradle[tags=fixed-reuse]"]
    ====
    <1> We wired the system property provider directly, without reading it at configuration time.
    
    With this simple change in place we can run the task any number of times, change the system property value, and reuse the configuration cache:
    
    ----
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 29 16:24:12 UTC 2024
    - 71.1K bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/initialization/StartParameterBuildOptions.java

            public BuildCacheOption() {
                super(GRADLE_PROPERTY, BooleanCommandLineOptionConfiguration.create("build-cache", "Enables the Gradle build cache. Gradle will try to reuse outputs from previous builds.", "Disables the Gradle build cache."));
            }
    
            @Override
            public void applyTo(boolean value, StartParameterInternal settings, Origin origin) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 23 22:47:53 UTC 2023
    - 25.6K bytes
    - Viewed (0)
Back to top