Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 689 for needle (0.05 seconds)

  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")))
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Mon May 12 16:07:54 GMT 2025
    - 16.5K bytes
    - Click Count (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
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 16K bytes
    - Click Count (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...
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 18.3K bytes
    - Click Count (0)
  4. 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[
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jan 22 11:03:29 GMT 2025
    - 13.8K bytes
    - Click Count (0)
  5. 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 }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 22.1K bytes
    - Click Count (0)
  6. 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);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 37K bytes
    - Click Count (0)
  7. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

          }
        }
      }
    
      /**
       * Sets the default value for {@code type}, when dummy value for a parameter of the same type
       * needs to be created in order to invoke a method or constructor. The default value isn't used in
       * testing {@link Object#equals} because more than one sample instances are needed for testing
       * inequality.
       */
      protected final <T> void setDefault(Class<T> type, T value) {
        tester.setDefault(type, value);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 17.9K bytes
    - Click Count (0)
  8. android/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}.
       *
       * <p>Note that even when you do need the ability to add or remove, this method provides only a
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 16:38:09 GMT 2026
    - 42.1K bytes
    - Click Count (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
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jan 22 11:03:29 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  10. TESTING.asciidoc

    As such the IDE needs to be instructed to listen for connections on this port.
    Since we might run multiple JVMs as part of configuring and starting the cluster it's
    recommended to configure the IDE to initiate multiple listening attempts. In case of IntelliJ, this option
    is called "Auto restart" and needs to be checked. In case of Eclipse, "Connection limit" setting
    needs to be configured with a greater value (ie 10 or more).
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Jun 07 13:55:20 GMT 2021
    - 32.5K bytes
    - Click Count (0)
Back to Top