Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 5,123 for be (0.31 sec)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelProblemUtils.java

        }
    
        /**
         * Creates a user-friendly artifact id from the specified coordinates.
         *
         * @param groupId The group id, may be {@code null}.
         * @param artifactId The artifact id, may be {@code null}.
         * @param version The version, may be {@code null}.
         * @return The user-friendly artifact id, never {@code null}.
         */
        static String toId(String groupId, String artifactId, String version) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  2. internal/lock/lock_test.go

    	if isClosed {
    		t.Fatal("File ref count shouldn't be zero")
    	}
    
    	// Decrease reference count by 1.
    	if err = rlk.Close(); err != nil {
    		t.Fatal(err)
    	}
    
    	// Now file should be closed.
    	isClosed = rlk.IsClosed()
    	if !isClosed {
    		t.Fatal("File ref count should be zero")
    	}
    
    	// Closing a file again should result in invalid argument.
    	if err = rlk.Close(); err != os.ErrInvalid {
    		t.Fatal(err)
    	}
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/netbios/NbtAddress.java

        }
    
        /**
         * Determines the address of a host given it's host name. The name can be a NetBIOS name like
         * "freto" or an IP address like "192.168.1.15". It cannot be a DNS name;
         * the analygous {@link jcifs.smb1.UniAddress} or {@link java.net.InetAddress}
         * <code>getByName</code> methods can be used for that.
         *
         * @param host hostname to resolve
         * @return the resolved NetBIOS address
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/AbstractService.java

      /**
       * The current state of the service. This should be written with the lock held but can be read
       * without it because it is an immutable object in a volatile field. This is desirable so that
       * methods like {@link #state}, {@link #failureCause} and notably {@link #toString} can be run
       * without grabbing the lock.
       *
       * <p>To update this field correctly the lock must be held to guarantee that the state is
       * consistent.
       */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/WinErrorTest.java

     * demonstrates that the interface can be mocked if another class
     * depends on it.
     */
    public class WinErrorTest {
    
        @Nested
        @DisplayName("Constant value checks")
        class ConstantValues {
            @Test
            void successIsZero() {
                assertEquals(0, WinError.ERROR_SUCCESS, "ERROR_SUCCESS should be 0");
            }
    
            @Test
            void accessDeniedIsFive() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/SMBProtocolDecodingExceptionTest.java

            assertTrue(ex instanceof CIFSException, "Should be a CIFSException subtype");
    
            // Assert throwing/catching behavior with assertThrows
            SMBProtocolDecodingException thrown = assertThrows(SMBProtocolDecodingException.class, () -> {
                throw new SMBProtocolDecodingException();
            }, "Should be throwable via assertThrows");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectBuilderRequest.java

         * This is an alternative to specifying a path, allowing the project to be built from
         * a model source such as a string or input stream.
         *
         * @return an optional containing the source of the project, or empty if not specified
         */
        @Nonnull
        Optional<Source> getSource();
    
        /**
         * Determines whether a stub model should be allowed when the POM is missing or unreadable.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 10 07:30:49 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/dcerpc/msrpc/MsrpcGetMembersInAliasTest.java

            // Create an instance of the class to be tested
            MsrpcGetMembersInAlias request = new MsrpcGetMembersInAlias(aliasHandle, sids);
    
            // Assert that the public 'sids' field is initialized as expected
            assertEquals(sids, request.sids, "The 'sids' field should be initialized by the constructor.");
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

     * mechanism.
     *
     * <p>While it is recommended that service lifecycles be managed via this class, state transitions
     * initiated via other mechanisms do not impact the correctness of its methods. For example, if the
     * services are started by some mechanism besides {@link #startAsync}, the listeners will be invoked
     * when appropriate and {@link #awaitHealthy} will still work as expected.
     *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 17:49:12 UTC 2025
    - 33.2K bytes
    - Viewed (1)
  10. guava/src/com/google/common/util/concurrent/ServiceManager.java

     * mechanism.
     *
     * <p>While it is recommended that service lifecycles be managed via this class, state transitions
     * initiated via other mechanisms do not impact the correctness of its methods. For example, if the
     * services are started by some mechanism besides {@link #startAsync}, the listeners will be invoked
     * when appropriate and {@link #awaitHealthy} will still work as expected.
     *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 17:49:12 UTC 2025
    - 32.9K bytes
    - Viewed (0)
Back to top