Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 631 - 640 of 2,639 for erros (0.04 seconds)

  1. internal/ioutil/wait_pipe.go

    }
    
    // CloseWithError close with supplied error the writer end.
    func (w *PipeWriter) CloseWithError(err error) error {
    	err = w.PipeWriter.CloseWithError(err)
    	w.once.Do(func() {
    		w.done()
    	})
    	return err
    }
    
    // PipeReader is similar to io.PipeReader with wait group
    type PipeReader struct {
    	*io.PipeReader
    	wait func()
    }
    
    // CloseWithError close with supplied error the reader end
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Apr 27 14:55:36 GMT 2023
    - 1.7K bytes
    - Click Count (0)
  2. interfaces.go

    type GetDBConnector interface {
    	GetDBConn() (*sql.DB, error)
    }
    
    // Rows rows interface
    type Rows interface {
    	Columns() ([]string, error)
    	ColumnTypes() ([]*sql.ColumnType, error)
    	Next() bool
    	Scan(dest ...interface{}) error
    	Err() error
    	Close() error
    }
    
    type ErrorTranslator interface {
    	Translate(err error) error
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Sat Aug 19 13:33:31 GMT 2023
    - 2.2K bytes
    - Click Count (0)
  3. internal/kms/stub.go

    	return "stub", nil
    }
    
    // APIs returns supported APIs
    func (s StubKMS) APIs(ctx context.Context) ([]madmin.KMSAPI, error) {
    	return []madmin.KMSAPI{
    		{Method: http.MethodGet, Path: "stub/path"},
    	}, nil
    }
    
    // Status returns a set of endpoints and their KMS status.
    func (s StubKMS) Status(context.Context) (map[string]madmin.ItemState, error) {
    	return map[string]madmin.ItemState{
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Aug 18 06:43:03 GMT 2024
    - 3.6K bytes
    - Click Count (0)
  4. docs/bucket/versioning/README.md

    ## Examples of enabling bucket versioning using MinIO Java SDK
    
    ### EnableVersioning() API
    
    ```
    import io.minio.EnableVersioningArgs;
    import io.minio.MinioClient;
    import io.minio.errors.MinioException;
    import java.io.IOException;
    import java.security.InvalidKeyException;
    import java.security.NoSuchAlgorithmException;
    
    public class EnableVersioning {
      /** MinioClient.enableVersioning() example. */
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 12K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb1/dcerpc/msrpc/LsaPolicyHandleTest.java

                rpc.retval = errorCode; // Simulate RPC error
                return null;
            }).when(mockDcerpcHandle).sendrecv(any(MsrpcLsarOpenPolicy2.class));
    
            // Act & Assert
            SmbException thrown = assertThrows(SmbException.class, () -> {
                new LsaPolicyHandle(mockDcerpcHandle, server, access);
            });
    
            // In smb1, non-NTSTATUS error codes get mapped to NT_STATUS_UNSUCCESSFUL (0xC0000001)
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/resolution/InvalidRepositoryException.java

         * @param repository The repository that caused the error, may be {@code null}.
         */
        public InvalidRepositoryException(String message, Repository repository) {
            super(message);
            this.repository = repository;
        }
    
        /**
         * Gets the repository that causes this error (if any).
         *
         * @return The repository that causes this error or {@code null} if not known.
         */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/core/log/Logger.java

        }
    
        /**
         * Outputs ERROR information.
         *
         * @param message
         *            Message
         * @param throwable
         *            Exception
         */
        public void error(final Object message, final Throwable throwable) {
            log.error(message.toString(), throwable);
        }
    
        /**
         * Outputs ERROR information.
         *
         * @param message
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Thu Jun 19 09:12:22 GMT 2025
    - 12.4K bytes
    - Click Count (0)
  8. cmd/update_test.go

    			}
    		case err == nil:
    			t.Fatalf("error: expected: %v, got: %v", testCase.expectedErr, err)
    		case testCase.expectedErr.Error() != err.Error():
    			t.Fatalf("error: expected: %v, got: %v", testCase.expectedErr, err)
    		}
    
    		if testCase.expectedResult != result {
    			t.Fatalf("result: expected: %v, got: %v", testCase.expectedResult, result)
    		}
    	}
    }
    
    func TestParseReleaseData(t *testing.T) {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/web/cache/CacheForm.java

     * Contains parameters for document caching and error page display.
     */
    public class CacheForm {
    
        /** Document ID for cache operations. */
        @Required
        @Size(max = 100)
        public String docId;
    
        /** Highlight query parameters. */
        public String[] hq;
    
        /** Search query parameter for error page. */
        public String q;
    
        /** Number of results parameter for error page. */
        public String num;
    
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  10. src/test/java/jcifs/dcerpc/DcerpcExceptionTest.java

        }
    
        /**
         * Test constructor DcerpcException(int error) with an unknown error code.
         */
        @Test
        void testConstructorWithError_unknownCode() {
            int errorCode = 0x12345678; // An arbitrary unknown error code
            DcerpcException exception = new DcerpcException(errorCode);
    
            assertEquals(errorCode, exception.getErrorCode(), "Error code should match the input.");
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.8K bytes
    - Click Count (0)
Back to Top