Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for Night (0.16 sec)

  1. internal/s3select/sql/value_contrib.go

    import "time"
    
    func timestampCompare(op string, left, right time.Time) bool {
    	switch op {
    	case opLt:
    		return left.Before(right)
    	case opLte:
    		return left.Before(right) || left.Equal(right)
    	case opGt:
    		return left.After(right)
    	case opGte:
    		return left.After(right) || left.Equal(right)
    	case opEq:
    		return left.Equal(right)
    	case opIneq:
    		return !left.Equal(right)
    	}
    	// This case does not happen
    	return false
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 1K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/asm/expr_test.go

    	{"(1<<63)%0", "modulo of value with high bit set"},
    	{"3<<-4", "negative left shift count"},
    	{"3<<(1<<63)", "negative left shift count"},
    	{"3>>-4", "negative right shift count"},
    	{"3>>(1<<63)", "negative right shift count"},
    	{"(1<<63)>>2", "right shift of value with high bit set"},
    	{"(1<<62)>>2", ""},
    	{`'\x80'`, "illegal UTF-8 encoding for character constant"},
    	{"(23*4", "missing closing paren"},
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  3. cni/pkg/repair/netns.go

    // in a pod, we cannot just access any arbitrary file they happen to bind mount in, as we don't know ahead of time where
    // it might be.
    //
    // Instead, we rely directly on the procfs.
    // This rules out two possible methods:
    // * use crictl to inspect the pod; this returns the bind-mounted network namespace file.
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Dec 20 22:14:13 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  4. logger/sql.go

    	case reflect.Float32, reflect.Float64:
    		return true
    	default:
    		return false
    	}
    }
    
    // ExplainSQL generate SQL string with given parameters, the generated SQL is expected to be used in logger, execute it might introduce a SQL injection vulnerability
    func ExplainSQL(sql string, numericPlaceholder *regexp.Regexp, escaper string, avars ...interface{}) string {
    	var (
    		convertParams func(interface{}, int)
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Mar 21 08:00:02 GMT 2024
    - 5K bytes
    - Viewed (0)
  5. cmd/consolelogger.go

    			case <-doneCh:
    				return nil
    			}
    		}
    	}
    	return sys.pubsub.Subscribe(madmin.LogMaskAll, subCh, doneCh, filter)
    }
    
    // Init if HTTPConsoleLoggerSys is valid, always returns nil right now
    func (sys *HTTPConsoleLoggerSys) Init(_ context.Context) error {
    	return nil
    }
    
    // Endpoint - dummy function for interface compatibility
    func (sys *HTTPConsoleLoggerSys) Endpoint() string {
    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)
  6. cmd/speedtest.go

    		concurrency := opts.concurrencyStart
    
    		if opts.autotune {
    			// if we have less drives than concurrency then choose
    			// only the concurrency to be number of drives to start
    			// with - since default '32' might be big and may not
    			// complete in total time of 10s.
    			if globalEndpoints.NEndpoints() < concurrency {
    				concurrency = globalEndpoints.NEndpoints()
    			}
    
    			// Check if we have local disks per pool less than
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Jan 28 18:04:17 GMT 2024
    - 9K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/lex/lex.go

    	LSH          ScanToken = -1000 - iota // << Left shift.
    	RSH                                   // >> Logical right shift.
    	ARR                                   // -> Used on ARM for shift type 3, arithmetic right shift.
    	ROT                                   // @> Used on ARM for shift type 4, rotate right.
    	Include                               // included file started here
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 18:31:05 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  8. internal/s3select/sql/utils.go

    		e.And[0].Condition[0].Not != nil ||
    		e.And[0].Condition[0].Operand.ConditionRHS != nil {
    		return "", false
    	}
    
    	operand := e.And[0].Condition[0].Operand.Operand
    	if operand.Right != nil ||
    		operand.Left.Right != nil ||
    		operand.Left.Left.Negated != nil ||
    		operand.Left.Left.Primary.JPathExpr == nil {
    		return "", false
    	}
    
    	// Check if path expression ends in a key
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Nov 10 16:12:50 GMT 2021
    - 3.6K bytes
    - Viewed (0)
  9. cmd/bitrot.go

    		if err != nil {
    			// Read's failed for object with right size, file is corrupt.
    			return err
    		}
    		// Subtract hash length..
    		left -= int64(n)
    		if left < shardSize {
    			shardSize = left
    		}
    
    		read, err := io.CopyBuffer(h, io.LimitReader(r, shardSize), *bufp)
    		if err != nil {
    			// Read's failed for object with right size, at different offsets.
    			return errFileCorrupt
    		}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 7.6K bytes
    - Viewed (0)
  10. istioctl/cmd/sysexits.go

    )
    
    // Values should try to use sendmail-style values as in <sysexits.h>
    // See e.g. https://man.openbsd.org/sysexits.3
    // or `less /usr/includes/sysexits.h` if you're on Linux
    //
    // Picking the right range is tricky--there are a lot of reserved ones (see
    // https://www.tldp.org/LDP/abs/html/exitcodes.html#EXITCODESREF) and then some
    // used by convention (see sysexits).
    //
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 1.9K bytes
    - Viewed (0)
Back to top