Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 645 for needle (0.28 sec)

  1. src/bytes/example_test.go

    	}
    	if !bytes.Equal(a, b) {
    		// a not equal b
    	}
    }
    
    func ExampleCompare_search() {
    	// Binary search to find a matching byte slice.
    	var needle []byte
    	var haystack [][]byte // Assume sorted
    	_, found := slices.BinarySearchFunc(haystack, needle, bytes.Compare)
    	if found {
    		// Found it!
    	}
    }
    
    func ExampleContains() {
    	fmt.Println(bytes.Contains([]byte("seafood"), []byte("foo")))
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Mon May 12 16:07:54 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

          handleAllCompleted();
          return;
        }
    
        // NOTE: If we ever want to use a custom executor here, have a look at CombinedFuture as we'll
        // need to handle RejectedExecutionException
    
        if (allMustSucceed) {
          // We need fail fast, so we have to keep track of which future failed so we can propagate
          // the exception immediately
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 16K bytes
    - Viewed (0)
  3. docs/bucket/replication/README.md

    replica modification sync are all enabled. If you are using older mc versions, the ARN needs to be generated as a separate step before adding a replication rule.
    
    > NOTE: If you are using a mc version below `RELEASE.2022-12-24T15-21-38Z`, the --remote-bucket flag needs an ARN generated by `mc admin bucket remote add` command. For  mc versions RELEASE.2021-09-02T09-21-27Z and older, the remote target ARN needs to be passed in the --arn flag and actual remote bucket name in --remote-bucket flag...
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 18.3K bytes
    - Viewed (0)
  4. src/bytes/buffer.go

    func (b *Buffer) Grow(n int) {
    	if n < 0 {
    		panic("bytes.Buffer.Grow: negative count")
    	}
    	m := b.grow(n)
    	b.buf = b.buf[:m]
    }
    
    // Write appends the contents of p to the buffer, growing the buffer as
    // needed. The return value n is the length of p; err is always nil. If the
    // buffer becomes too large, Write will panic with [ErrTooLarge].
    func (b *Buffer) Write(p []byte) (n int, err error) {
    	b.lastRead = opInvalid
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Fri Nov 14 19:01:17 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/Lists.java

       * remove elements later. Otherwise, for non-null elements use {@link ImmutableList#of()} (for
       * varargs) or {@link ImmutableList#copyOf(Object[])} (for an array) instead. If any elements
       * might be null, or you need support for {@link List#set(int, Object)}, use {@link
       * Arrays#asList}.
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 42.6K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/mdo/profiles.mdo

        <class>
          <name>RepositoryBase</name>
          <version>1.0.0</version>
          <description><![CDATA[
             Repository contains the information needed
             for establishing connections with remote repository
          ]]></description>
          <fields>
            <field>
              <name>id</name>
              <version>1.0.0</version>
              <description><![CDATA[
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jan 22 11:03:29 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategy.java

                            modifiedPoms.add(pomPath);
                            context.success("Plugin upgrades applied");
                        } else {
                            context.success("No plugin upgrades needed");
                        }
                    } catch (Exception e) {
                        context.failure("Failed to upgrade plugins: " + e.getMessage());
                        errorPoms.add(pomPath);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 37K bytes
    - Viewed (0)
  8. docs/en/docs/virtual-environments.md

    ///
    
    ## Install Packages { #install-packages }
    
    After activating the environment, you can install packages in it.
    
    /// tip
    
    Do this **once** when installing or upgrading the packages your project needs.
    
    If you need to upgrade a version or add a new package you would **do this again**.
    
    ///
    
    ### Install Packages Directly { #install-packages-directly }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 02 05:09:25 UTC 2025
    - 22.8K bytes
    - Viewed (0)
  9. impl/maven-core/plugin-manager.txt

    h3. Other issues
    
    We need to look at Maven, and Nexus as use cases and figure out what each of them needs to be able to do
    
    * now what is really the difference between this and loading a component in plexus
    * do we want a model for sharing information among plugins, is this more like an extension point
    * do we need a sort of bus for application data
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jan 22 11:03:29 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/resources/META-INF/maven/extension.xml

        <!--
          | We may potentially want to export these, but right now I'm not sure that anything Guice specific needs
          | to be made available to plugin authors. If we find people are getting fancy and want to take advantage of
          | Guice specifics we can expose that later. Really some testing needs to be done to see full hiding
          | of Guice has any impact on what we may categorize as a standard JSR-330 based Tesla/Maven plugin.
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Mar 24 14:07:06 UTC 2025
    - 12.6K bytes
    - Viewed (0)
Back to top