Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1291 - 1300 of 2,061 for mirror (0.06 seconds)

  1. internal/net/net.go

    package net
    
    import (
    	"fmt"
    
    	"github.com/prometheus/procfs"
    )
    
    // GetInterfaceNetStats - get procfs.NetDevLine by interfaceName
    func GetInterfaceNetStats(interf string) (procfs.NetDevLine, error) {
    	proc, err := procfs.Self()
    	if err != nil {
    		return procfs.NetDevLine{}, err
    	}
    	netDev, err := proc.NetDev()
    	if err != nil {
    		return procfs.NetDevLine{}, err
    	}
    	ndl, ok := netDev[interf]
    	if !ok {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon Jul 17 08:14:01 GMT 2023
    - 1.2K bytes
    - Click Count (0)
  2. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/JApiCmpExtensions.kt

    internal
    val JApiCompatibility.jApiClass: JApiClass
        get() = when (this) {
            is JApiClass -> this
            is JApiField -> this.getjApiClass()
            is JApiBehavior -> this.getjApiClass()
            else -> error("Unsupported japicmp member type '${this::class}'")
        }
    
    
    internal
    val JApiClass.isKotlin: Boolean
        get() = newClass.orElse(null)?.isKotlin ?: false
    
    
    internal
    val JApiClass.simpleName: String
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 24 14:15:15 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  3. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/androidhomewarmup/AndroidHomeWarmupExtension.kt

    import java.io.Serializable
    
    /**
     * Configuration for the Android home warmup tasks.
     */
    abstract class AndroidHomeWarmupExtension {
        // using project.rootProject.layout will trigger IP error "cannot access 'Project.layout' functionality on another project ':'"
        abstract val rootProjectDir: DirectoryProperty
        abstract val warmupProjectsDirectory: DirectoryProperty
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Nov 27 08:49:21 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  4. docs/zh/docs/tutorial/dependencies/dependencies-with-yield.md

    在示例代码的情况下,客户端将会收到 *HTTP 500 Internal Server Error* 的响应,因为我们没有抛出 `HTTPException` 或者类似的异常,并且服务器也 **不会有任何日志** 或者其他提示来告诉我们错误是什么。😱
    
    ### 在包含 `yield` 和 `except` 的依赖项中一定要 `raise`
    
    如果你在使用 `yield` 的依赖项中捕获到了一个异常,你应该再次抛出捕获到的异常,除非你抛出 `HTTPException` 或类似的其他异常,
    
    你可以使用 `raise` 再次抛出捕获到的异常。
    
    {* ../../docs_src/dependencies/tutorial008d_an_py39.py hl[17] *}
    
    现在客户端同样会得到 *HTTP 500 Internal Server Error* 响应,但是服务器日志会记录下我们自定义的 `InternalError`。
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 11.3K bytes
    - Click Count (0)
  5. docs/en/docs/tutorial/query-params-str-validations.md

    ///
    
    FastAPI will now:
    
    * **Validate** the data making sure that the max length is 50 characters
    * Show a **clear error** for the client when the data is not valid
    * **Document** the parameter in the OpenAPI schema *path operation* (so it will show up in the **automatic docs UI**)
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 16.7K bytes
    - Click Count (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/s3/S3Client.java

        /**
         * Checks if a bucket exists in the object storage.
         * @param name the name of the bucket to check
         * @return true if the bucket exists, false otherwise
         * @throws CrawlingAccessException if an error occurs while checking bucket existence
         */
        protected boolean bucketExists(final String name) {
            try {
                final HeadBucketRequest request = HeadBucketRequest.builder().bucket(name).build();
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Thu Dec 11 08:38:29 GMT 2025
    - 21.4K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/ReactorReader.java

                    } catch (DirectoryNotEmptyException e) {
                        // ignore
                    }
                }
            } catch (IOException e) {
                LOGGER.error("Error while cleaning project local repository", e);
            }
        }
    
        /**
         * Retrieve a stream of the project's artifacts
         */
        private Stream<Artifact> getProjectArtifacts(MavenProject project) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Dec 15 11:20:38 GMT 2025
    - 24.4K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb1/smb1/SmbAuthException.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.smb1.smb1;
    
    /**
     * The <code>SmbAuthException</code> encapsulates the variety of
     * authentication related error codes returned by an SMB server.
     * <p>
     * See <a href="../../../authhandler.html">jCIFS Exceptions and NtlmAuthenticator</a> for more information about <code>SmbAuthException</code>.
     */
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/cache/MavenExecutionException.java

     * under the License.
     */
    package org.apache.maven.api.cache;
    
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.services.MavenException;
    
    /**
     * Exception thrown when an error occurs during Maven execution.
     * This exception wraps the original cause of the execution failure.
     *
     * @since 4.0.0
     */
    @Experimental
    public class MavenExecutionException extends MavenException {
    
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Feb 07 00:45:02 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  10. internal/s3select/parquet/args.go

    func (args *ReaderArgs) IsEmpty() bool {
    	return !args.unmarshaled
    }
    
    // UnmarshalXML - decodes XML data.
    func (args *ReaderArgs) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error {
    	// Make subtype to avoid recursive UnmarshalXML().
    	type subReaderArgs ReaderArgs
    	parsedArgs := subReaderArgs{}
    	if err := d.DecodeElement(&parsedArgs, &start); err != nil {
    		return err
    	}
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 1.4K bytes
    - Click Count (0)
Back to Top