Search Options

Results per page
Sort
Preferred Languages
Advance

Results 4761 - 4770 of 5,485 for news (0.13 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/google/BiMapInverseTester.java

      public void testInverseSame() {
        assertSame(getMap(), getMap().inverse().inverse());
      }
    
      @CollectionFeature.Require(SERIALIZABLE)
      public void testInverseSerialization() {
        BiMapPair<K, V> pair = new BiMapPair<>(getMap());
        BiMapPair<K, V> copy = SerializableTester.reserialize(pair);
        assertEquals(pair.forward, copy.forward);
        assertEquals(pair.backward, copy.backward);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/PropertyProfileActivator.java

            if (name != null && name.startsWith("!")) {
                reverseName = true;
                name = name.substring(1);
            }
    
            if (name == null || name.length() <= 0) {
                problems.add(new ModelProblemCollectorRequest(Severity.ERROR, Version.BASE)
                        .setMessage("The property name is required to activate the profile " + profile.getId())
                        .setLocation(property.getLocation("")));
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  3. impl/maven-core/src/test/java/org/apache/maven/artifact/handler/ArtifactHandlerTest.java

            for (String line : lines) {
                if (line.startsWith("||")) {
                    String[] cols = line.split("\\|\\|");
                    String[] expected = new String[] {
                        "",
                        "type",
                        "classifier",
                        "extension",
                        "packaging",
                        "language",
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 4K bytes
    - Viewed (0)
  4. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/HelpTest.java

    import static org.junit.jupiter.api.Assertions.assertEquals;
    
    /**
     * Unit tests for the Help goal.
     */
    class HelpTest {
    
        private Help help;
    
        @BeforeEach
        void setUp() {
            help = new Help();
        }
    
        private UpgradeContext createMockContext() {
            return TestUtils.createMockContext();
        }
    
        @Test
        void testHelpExecuteReturnsZero() throws Exception {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Aug 29 12:46:51 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/graph/IncidentEdgeSet.java

        this.graph = graph;
        this.node = node;
        this.edgeType = edgeType;
      }
    
      @Override
      public boolean remove(@Nullable Object o) {
        throw new UnsupportedOperationException();
      }
    
      @Override
      public int size() {
        if (graph.isDirected()) {
          return predecessorsOrEmpty(node).size()
              + successorsOrEmpty(node).size()
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 07 15:57:03 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  6. cmd/api-errors_test.go

    	{err: crypto.ErrCustomerKeyMD5Mismatch, errCode: ErrSSECustomerKeyMD5Mismatch},
    	{err: errObjectTampered, errCode: ErrObjectTampered},
    
    	{err: nil, errCode: ErrNone},
    	{err: errors.New("Custom error"), errCode: ErrInternalError}, // Case where err type is unknown.
    }
    
    func TestAPIErrCode(t *testing.T) {
    	ctx := t.Context()
    	for i, testCase := range toAPIErrorTests {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  7. cmd/bitrot-whole.go

    }
    
    // Returns whole-file bitrot writer.
    func newWholeBitrotWriter(disk StorageAPI, volume, filePath string, algo BitrotAlgorithm, shardSize int64) io.WriteCloser {
    	return &wholeBitrotWriter{disk, volume, filePath, shardSize, algo.New()}
    }
    
    // Implementation to verify bitrot for the whole file.
    type wholeBitrotReader struct {
    	disk       StorageAPI
    	volume     string
    	filePath   string
    	verifier   *BitrotVerifier // Holds the bit-rot info
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Jan 31 02:11:45 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  8. cmd/etcd.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"context"
    	"errors"
    	"fmt"
    
    	etcd "go.etcd.io/etcd/client/v3"
    )
    
    var errEtcdUnreachable = errors.New("etcd is unreachable, please check your endpoints")
    
    func etcdErrToErr(err error, etcdEndpoints []string) error {
    	if err == nil {
    		return nil
    	}
    	switch err {
    	case context.DeadlineExceeded:
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  9. KEYS.md

    ## Verification instructions
    
    ### Importing the key
    
    You can import the key into your GPG keyring in one of two ways.
    
    First, copy the public key block below into a new file called `gradle_pubkey.asc`, then import it with this command:
    
    ```bash
    gpg --import gradle_pubkey.asc
    ```
    
    Alternatively, you can fetch the key directly from a key server:
    
    ```bash
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Dec 04 14:29:13 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  10. build-logic/integration-testing/src/main/kotlin/gradlebuild.test-fixtures.gradle.kts

     */
    
    import org.gradle.plugins.ide.idea.model.IdeaModel
    
    /**
     * Test Fixtures Plugin.
     *
     * Configures the Project as a test fixtures producer if `src/testFixtures` is a directory:
     * - adds a new `testFixtures` source set which should contain utilities/fixtures to assist in unit testing
     *   classes from the main source set,
     * - the test fixtures are automatically made available to the test classpath.
     *
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue Jun 24 14:00:52 UTC 2025
    - 3.5K bytes
    - Viewed (0)
Back to top