Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 90 for UNKNOWN (0.16 sec)

  1. internal/config/crypto.go

    		Version         = 1
    	)
    
    	var header [5]byte
    	if _, err := io.ReadFull(ciphertext, header[:]); err != nil {
    		return nil, err
    	}
    	if header[0] != Version {
    		return nil, fmt.Errorf("config: unknown ciphertext version %d", header[0])
    	}
    	size := binary.LittleEndian.Uint32(header[1:])
    	if size > MaxMetadataSize {
    		return nil, errors.New("config: encryption metadata is too large")
    	}
    
    	var (
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 06 16:56:10 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  2. internal/grid/connection.go

    	// We can expect to receive unblocks for closed muxes
    	if debugPrint {
    		fmt.Println(c.Local, "Unblock: Unknown Mux:", m.MuxID)
    	}
    }
    
    func (c *Connection) handleMuxClientMsg(ctx context.Context, m message) {
    	v, ok := c.inStream.Load(m.MuxID)
    	if !ok {
    		if debugPrint {
    			fmt.Println(c.Local, "OpMuxClientMsg: Unknown Mux:", m.MuxID)
    		}
    		gridLogIf(ctx, c.queueMsg(message{Op: OpDisconnectClientMux, MuxID: m.MuxID}, nil))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 42.6K bytes
    - Viewed (0)
  3. cmd/config-current.go

    		if !ok {
    			return Help{}, config.Errorf("unknown sub-system %s", subSys)
    		}
    	}
    
    	h, ok := config.HelpSubSysMap[subSys]
    	if !ok {
    		return Help{}, config.Errorf("unknown sub-system %s", subSys)
    	}
    	if key != "" {
    		value, ok := h.Lookup(key)
    		if !ok {
    			return Help{}, config.Errorf("unknown key %s for sub-system %s",
    				key, subSys)
    		}
    		h = config.HelpKVS{value}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 30.8K bytes
    - Viewed (0)
  4. cmd/bucket-replication.go

    				atomic.AddInt32(&p.activeMRFWorkers, -1)
    				globalReplicationStats.decQ(v.Bucket, v.Size, v.DeleteMarker, v.OpType)
    
    			default:
    				bugLogIf(p.ctx, fmt.Errorf("unknown mrf replication type: %T", oi), "unknown-mrf-replicate-type")
    			}
    		case <-p.mrfWorkerKillCh:
    			return
    		}
    	}
    }
    
    // AddWorker adds a replication worker to the pool.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  5. internal/config/heal/heal.go

    		switch enabled {
    		case true:
    			return 0, nil
    		case false:
    			return -1, nil
    		}
    	}
    
    	// Try to parse as a number of months
    	if !strings.HasSuffix(s, "m") {
    		return -1, errors.New("unknown format")
    	}
    
    	months, err := strconv.Atoi(strings.TrimSuffix(s, "m"))
    	if err != nil {
    		return -1, err
    	}
    
    	if months < minimumBitrotCycleInMonths {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 01:10:30 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  6. internal/bucket/encryption/bucket-sse-config_test.go

    			expectedErr: errors.New("Unknown SSE algorithm"),
    			shouldPass:  false,
    		},
    		// 7. Valid XML without the namespace set
    		{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Aug 16 18:28:30 GMT 2022
    - 6.1K bytes
    - Viewed (0)
  7. cmd/http-tracer.go

    		// Calculate reqPath
    		reqPath := r.URL.RawPath
    		if reqPath == "" {
    			reqPath = r.URL.Path
    		}
    
    		// Calculate function name
    		funcName := tc.FuncName
    		if funcName == "" {
    			funcName = "<unknown>"
    		}
    
    		t := madmin.TraceInfo{
    			TraceType: tt,
    			FuncName:  funcName,
    			NodeName:  nodeName,
    			Time:      reqStartTime,
    			Duration:  reqEndTime.Sub(respRecorder.StartTime),
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Nov 21 01:09:35 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  8. internal/event/target/mqtt.go

    		return nil
    	}
    	u, err := xnet.ParseURL(m.Broker.String())
    	if err != nil {
    		return err
    	}
    	switch u.Scheme {
    	case "ws", "wss", "tcp", "ssl", "tls", "tcps":
    	default:
    		return errors.New("unknown protocol in broker address")
    	}
    	if m.QueueDir != "" {
    		if !filepath.IsAbs(m.QueueDir) {
    			return errors.New("queueDir path should be absolute")
    		}
    		if m.QoS == 0 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Oct 07 15:07:38 GMT 2023
    - 8.2K bytes
    - Viewed (0)
  9. cmd/object-api-datatypes.go

    //go:generate msgp -file $GOFILE -io=false -tests=false -unexported=false
    
    // BackendType - represents different backend types.
    type BackendType int
    
    // Enum for different backend types.
    const (
    	Unknown = BackendType(madmin.Unknown)
    	// Filesystem backend.
    	BackendFS = BackendType(madmin.FS)
    	// Multi disk BackendErasure (single, distributed) backend.
    	BackendErasure = BackendType(madmin.Erasure)
    	// Add your own backend.
    )
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 20.8K bytes
    - Viewed (0)
  10. internal/grid/manager.go

    		if err != nil {
    			writeErr(fmt.Errorf("error parsing connectReq: %w", err))
    			return
    		}
    		remote := m.targets[cReq.Host]
    		if remote == nil {
    			writeErr(fmt.Errorf("unknown incoming host: %v", cReq.Host))
    			return
    		}
    		if debugPrint {
    			fmt.Printf("handler: Got Connect Req %+v\n", cReq)
    		}
    		writeErr(remote.handleIncoming(ctx, conn, cReq))
    	}
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 9.5K bytes
    - Viewed (0)
Back to top