Search Options

Results per page
Sort
Preferred Languages
Advance

Results 451 - 460 of 1,231 for onerror (0.04 sec)

  1. src/test/java/org/codelibs/fess/script/ScriptEngineTest.java

                return null;
            }
        }
    
        // ScriptEngine implementation with error handling
        private static class ErrorHandlingScriptEngine implements ScriptEngine {
            @Override
            public Object evaluate(String template, Map<String, Object> paramMap) {
                if ("error".equals(template)) {
                    // Simulate error by returning null
                    return null;
                }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  2. callbacks/query.go

    import (
    	"fmt"
    	"reflect"
    	"strings"
    
    	"gorm.io/gorm"
    	"gorm.io/gorm/clause"
    	"gorm.io/gorm/schema"
    	"gorm.io/gorm/utils"
    )
    
    func Query(db *gorm.DB) {
    	if db.Error == nil {
    		BuildQuerySQL(db)
    
    		if !db.DryRun && db.Error == nil {
    			rows, err := db.Statement.ConnPool.QueryContext(db.Statement.Context, db.Statement.SQL.String(), db.Statement.Vars...)
    			if err != nil {
    				db.AddError(err)
    				return
    			}
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 10.4K bytes
    - Viewed (1)
  3. cmd/xl-storage-format-v1.go

    	Index      []byte            `json:"index,omitempty" msg:"i,omitempty"`
    	Checksums  map[string]string `json:"crc,omitempty" msg:"crc,omitempty"`   // Content Checksums
    	Error      string            `json:"error,omitempty" msg:"err,omitempty"` // only set while reading part meta from drive.
    }
    
    // ChecksumInfo - carries checksums of individual scattered parts per disk.
    type ChecksumInfo struct {
    	PartNumber int
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  4. okhttp/src/jvmMain/kotlin/okhttp3/internal/platform/BouncyCastlePlatform.kt

          }
        } else {
          super.getSelectedProtocol(sslSocket)
        }
    
      companion object {
        val isSupported: Boolean =
          try {
            // Trigger an early exception over a fatal error, prefer a RuntimeException over Error.
            Class.forName("org.bouncycastle.jsse.provider.BouncyCastleJsseProvider", false, javaClass.classLoader)
    
            true
          } catch (_: ClassNotFoundException) {
            false
          }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/SmbTreeHandle.java

         * @return server timezone offset
         * @throws CIFSException if an error occurs retrieving the timezone offset
         */
        long getServerTimeZoneOffset() throws CIFSException;
    
        /**
         * Gets the OEM domain name reported by the server
         * @return server reported domain name
         * @throws CIFSException if an error occurs retrieving the domain name
         */
        String getOEMDomainName() throws CIFSException;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  6. cmd/bootstrap-peer-server_gen_test.go

    	}
    
    	vn := ServerSystemConfig{}
    	err := msgp.Decode(&buf, &vn)
    	if err != nil {
    		t.Error(err)
    	}
    
    	buf.Reset()
    	msgp.Encode(&buf, &v)
    	err = msgp.NewReader(&buf).Skip()
    	if err != nil {
    		t.Error(err)
    	}
    }
    
    func BenchmarkEncodeServerSystemConfig(b *testing.B) {
    	v := ServerSystemConfig{}
    	var buf bytes.Buffer
    	msgp.Encode(&buf, &v)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Jan 24 21:36:44 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  7. cmd/bucket-metadata_gen_test.go

    		t.Log("WARNING: TestEncodeDecodeBucketMetadata Msgsize() is inaccurate")
    	}
    
    	vn := BucketMetadata{}
    	err := msgp.Decode(&buf, &vn)
    	if err != nil {
    		t.Error(err)
    	}
    
    	buf.Reset()
    	msgp.Encode(&buf, &v)
    	err = msgp.NewReader(&buf).Skip()
    	if err != nil {
    		t.Error(err)
    	}
    }
    
    func BenchmarkEncodeBucketMetadata(b *testing.B) {
    	v := BucketMetadata{}
    	var buf bytes.Buffer
    	msgp.Encode(&buf, &v)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/dcerpc/msrpc/SamrDomainHandle.java

         * @param policyHandle the policy handle for this domain
         * @param access the desired access rights
         * @param sid the security identifier of the domain
         * @throws IOException if an I/O error occurs during handle creation
         */
        public SamrDomainHandle(final DcerpcHandle handle, final SamrPolicyHandle policyHandle, final int access, final rpc.sid_t sid)
                throws IOException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/dcerpc/msrpc/SamrPolicyHandle.java

         *
         * @param handle the DCE/RPC handle for communication
         * @param server the server name (null defaults to local server)
         * @param access the desired access rights
         * @throws IOException if an I/O error occurs during handle creation
         */
        public SamrPolicyHandle(final DcerpcHandle handle, String server, final int access) throws IOException {
            this.handle = handle;
            if (server == null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  10. docs/debugging/inspect/decrypt-v2.go

    import (
    	"errors"
    	"fmt"
    	"io"
    	"os"
    	"path/filepath"
    	"strings"
    	"unicode/utf8"
    
    	"github.com/minio/madmin-go/v3/estream"
    )
    
    type keepFileErr struct {
    	error
    }
    
    func extractInspectV2(pks [][]byte, r io.Reader, extractDir string) error {
    	sr, err := estream.NewReader(r)
    	if err != nil {
    		return err
    	}
    	for _, pk := range pks {
    		privKey, err := bytesToPrivateKey(pk)
    		if err != nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Feb 17 17:09:42 UTC 2025
    - 2.3K bytes
    - Viewed (0)
Back to top