Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 51 for trigger (0.23 sec)

  1. cmd/erasure-decode.go

    				p.orgReaders[bufIdx] = nil
    				p.readers[i] = nil
    
    				// Since ReadAt returned error, trigger another read.
    				readTriggerCh <- true
    				return
    			}
    			newBufLK.Lock()
    			newBuf[bufIdx] = p.buf[bufIdx][:n]
    			newBufLK.Unlock()
    			// Since ReadAt returned success, there is no need to trigger another read.
    			readTriggerCh <- false
    		}(readerIndex)
    		readerIndex++
    	}
    	wg.Wait()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:44:59 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  2. tests/migrate_test.go

    	AssertEqual(t, false, ok)
    
    	// null -> null
    	err = DB.Table("unique_tests").AutoMigrate(&UniqueTest2{})
    	if err != nil {
    		t.Fatalf("AutoMigrate err:%v", err)
    	}
    
    	// not trigger alert column
    	AssertEqual(t, true, DB.Migrator().HasConstraint(&UniqueTest{}, "uni_unique_tests_name"))
    	AssertEqual(t, false, DB.Migrator().HasIndex(&UniqueTest{}, "name"))
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Mar 18 11:24:16 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  3. internal/logger/audit.go

    			return
    		}
    		reqInfo.RLock()
    		defer reqInfo.RUnlock()
    
    		entry = internalAudit.ToEntry(w, r, reqClaims, xhttp.GlobalDeploymentID)
    		// indicates all requests for this API call are inbound
    		entry.Trigger = "incoming"
    
    		for _, filterKey := range filterKeys {
    			delete(entry.ReqClaims, filterKey)
    			delete(entry.ReqQuery, filterKey)
    			delete(entry.ReqHeader, filterKey)
    			delete(entry.RespHeader, filterKey)
    		}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  4. cmd/bucket-replication.go

    	}
    	if !ok { // existing object replication is enabled and object version is unreplicated so far.
    		if resetID != "" && oi.ModTime.Before(resetBeforeDate) { // trigger replication if `mc replicate reset` requested
    			rd.Replicate = true
    			return
    		}
    		// For existing object reset - this condition is needed
    		rd.Replicate = tgtStatus == ""
    		return
    	}
    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/bucket/lifecycle/action_string.go

    // Code generated by "stringer -type Action lifecycle.go"; DO NOT EDIT.
    
    package lifecycle
    
    import "strconv"
    
    func _() {
    	// An "invalid array index" compiler error signifies that the constant values have changed.
    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[NoneAction-0]
    	_ = x[DeleteAction-1]
    	_ = x[DeleteVersionAction-2]
    	_ = x[TransitionAction-3]
    	_ = x[TransitionVersionAction-4]
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  6. logger/sql.go

    				r, _ := v.Value()
    				convertParams(r, idx)
    			} else {
    				vars[idx] = nullStr
    			}
    		case fmt.Stringer:
    			reflectValue := reflect.ValueOf(v)
    			switch reflectValue.Kind() {
    			case reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64, reflect.Uint, reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64:
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Mar 21 08:00:02 GMT 2024
    - 5K bytes
    - Viewed (0)
  7. cmd/consolelogger.go

    	return nil
    }
    
    // Endpoint - dummy function for interface compatibility
    func (sys *HTTPConsoleLoggerSys) Endpoint() string {
    	return sys.console.Endpoint()
    }
    
    // String - stringer function for interface compatibility
    func (sys *HTTPConsoleLoggerSys) String() string {
    	return logger.ConsoleLoggerTgt
    }
    
    // Stats returns the target statistics.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:57:52 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  8. cmd/batch-expire.go

    	wk.Wait()      // waits for all expire workers to retire
    
    	ri.Complete = ri.ObjectsFailed == 0
    	ri.Failed = ri.ObjectsFailed > 0
    	globalBatchJobsMetrics.save(job.ID, ri)
    
    	// Close the saverQuitCh - this also triggers saving in-memory state
    	// immediately one last time before we exit this method.
    	xioutil.SafeClose(saverQuitCh)
    
    	// Notify expire jobs final status to the configured endpoint
    	buf, _ := json.Marshal(ri)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 21K bytes
    - Viewed (1)
  9. internal/config/storageclass/storage-class.go

    		inlineBlock, err := humanize.ParseBytes(inlineBlockStr)
    		if err != nil {
    			return cfg, err
    		}
    		if inlineBlock > 128*humanize.KiByte {
    			configLogOnceIf(context.Background(), fmt.Errorf("inline block value bigger than recommended max of 128KiB -> %s, performance may degrade for PUT please benchmark the changes", inlineBlockStr), inlineBlockStr)
    		}
    		cfg.inlineBlock = int64(inlineBlock)
    	} else {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  10. cmd/peer-rest-client.go

    		values = make(url.Values)
    	}
    
    	respBody, err = client.restClient.Call(ctx, method, values, body, length)
    	if err == nil {
    		return respBody, nil
    	}
    
    	return nil, err
    }
    
    // Stringer provides a canonicalized representation of node.
    func (client *peerRESTClient) String() string {
    	return client.host.String()
    }
    
    // IsOnline returns true if the peer client is online.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.8K bytes
    - Viewed (0)
Back to top