Search Options

Results per page
Sort
Preferred Languages
Advance

Results 661 - 670 of 5,397 for returns (0.05 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/VersionConstraint.java

     */
    @Experimental
    public interface VersionConstraint {
        /**
         * Returns the range of this constraint, or {@code null} if none.
         * <p>
         * Note: only one, this method or {@link #getRecommendedVersion()} method must return non-{@code null} value.
         */
        @Nullable
        VersionRange getVersionRange();
    
        /**
         * Returns the recommended version of this constraint, or {@code null} if none.
         * <p>
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/SmbFileHandleTest.java

        }
    
        /**
         * Test that getTree() returns the correct SmbTreeHandle.
         */
        @Test
        void testGetTree() {
            when(smbFileHandle.getTree()).thenReturn(smbTreeHandle);
            SmbTreeHandle result = smbFileHandle.getTree();
            assertEquals(smbTreeHandle, result, "getTree should return the mocked SmbTreeHandle.");
            verify(smbFileHandle, times(1)).getTree();
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Test.java

        void testReadParametersWireFormat() {
            trans2FindFirst2 = new Trans2FindFirst2(mockConfig, "\\test", "*.*", 0x16, 10, 1024);
    
            byte[] buffer = new byte[100];
            int read = trans2FindFirst2.readParametersWireFormat(buffer, 0, 100);
    
            assertEquals(0, read);
        }
    
        @Test
        @DisplayName("Test readDataWireFormat returns 0")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  4. cmd/batch-replicate.go

    	Snowball BatchJobSnowball              `yaml:"snowball" json:"snowball"`
    }
    
    // ValidPath returns true if path is valid
    func (s BatchJobReplicateSource) ValidPath() bool {
    	switch s.Path {
    	case "on", "off", "auto", "":
    		return true
    	default:
    		return false
    	}
    }
    
    // BatchJobReplicateV1 v1 of batch job replication
    type BatchJobReplicateV1 struct {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  5. compat/maven-artifact/src/main/java/org/apache/maven/artifact/handler/ArtifactHandler.java

        /**
         * Returns the file name extension of the artifact;
         * e.g. "jar", "pom", "xml", etc.
         *
         * @return the file extension
         */
        String getExtension();
    
        String getDirectory();
    
        /**
         * Returns the default classifier used if a different one is not set in pom.xml.
         *
         * @return the classifier
         */
        String getClassifier();
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/config/PropertyConfigurationTest.java

            // Then
            // getWinsServers() returns InetAddress[], not String
            InetAddress[] winsServers = testConfig.getWinsServers();
            assertNotNull(winsServers);
            assertEquals(1, winsServers.length);
            assertEquals("192.168.1.1", winsServers[0].getHostAddress());
    
            // getBroadcastAddress() returns InetAddress, not String
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/netbios/NameQueryRequestTest.java

            assertEquals(15, result);
        }
    
        @Test
        void testWriteRDataWireFormat() {
            // Test that writeRDataWireFormat always returns 0
            NameQueryRequest request = new NameQueryRequest(mockConfig, mockName);
            byte[] dst = new byte[100];
            int dstIndex = 0;
    
            int result = request.writeRDataWireFormat(dst, dstIndex);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Stream.kt

        get() {
          withLock {
            if (errorCode != null) {
              return false
            }
            if ((source.finished || source.closed) &&
              (sink.finished || sink.closed) &&
              hasResponseHeaders
            ) {
              return false
            }
            return true
          }
        }
    
      /** Returns true if this stream was created by this peer. */
      val isLocallyInitiated: Boolean
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 18:57:05 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/middleware.md

    * It then takes the **response** generated by the application (by some *path operation*).
    * It can do something to that **response** or run any needed code.
    * Then it returns the **response**.
    
    /// note | Technical Details
    
    If you have dependencies with `yield`, the exit code will run *after* the middleware.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/RequestData.java

            return weight;
        }
    
        /**
         * Sets the weight/priority of this request.
         * @param weight the weight
         */
        public void setWeight(float weight) {
            this.weight = weight;
        }
    
        /**
         * Returns the hash code for this RequestData.
         * @return the hash code
         */
        @Override
        public int hashCode() {
            return Objects.hash(method, url, weight);
        }
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 4K bytes
    - Viewed (0)
Back to top