Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 54 for posInc (0.29 sec)

  1. src/test/java/org/codelibs/opensearch/extension/analysis/NGramSynonymTokenizer.java

                this.endOffset = endOffset;
                this.posInc = posInc;
                this.output = output;
                this.seq = 0; // zero for seq means that this token is the original of synonyms
            }
    
            public MyToken(final String word, final int startOffset, final int endOffset, final int posInc) {
                this(word, startOffset, endOffset, posInc, Integer.MAX_VALUE); // Integer.MAX_VALUE for seq means unused
            }
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 17K bytes
    - Viewed (0)
  2. src/math/pow_s390x.s

    	MOVD	x+0(FP), R1
    	MOVD	y+8(FP), R2
    
    	// special case Pow(1, y) = 1 for any y
    	MOVD	$PosOne, R3
    	CMPUBEQ	R1, R3, xIsOne
    
    	// special case Pow(x, 1) = x for any x
    	MOVD	$PosOne, R4
    	CMPUBEQ	R2, R4, yIsOne
    
    	// special case Pow(x, NaN) = NaN for any x
    	MOVD	$~(1<<63), R5
    	AND	R2, R5    // y = |y|
    	MOVD	$PosInf, R4
    	CMPUBLT R4, R5, yIsNan
    
    	MOVD	$NegInf, R3
    	CMPUBEQ	R1, R3, xIsNegInf
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 16.3K bytes
    - Viewed (0)
  3. src/math/floor_riscv64.s

    #include "textflag.h"
    
    #define PosInf 0x7FF0000000000000
    
    // The rounding mode of RISC-V is different from Go spec.
    
    #define ROUNDFN(NAME, MODE) 	\
    TEXT NAME(SB),NOSPLIT,$0; 	\
    	MOVD	x+0(FP), F0; 	\
    	/* whether x is NaN */; \
    	FEQD	F0, F0, X6;	\
    	BNEZ	X6, 3(PC);	\
    	/* return NaN if x is NaN */; \
    	MOVD	F0, ret+8(FP); 	\
    	RET;			\
    	MOV	$PosInf, X6;	\
    	FMVDX	X6, F1;		\
    	FABSD	F0, F2;		\
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 23 08:34:12 UTC 2024
    - 1K bytes
    - Viewed (0)
  4. pkg/kubelet/pleg/pleg.go

    	// ContainerRemoved - event type when the old state of container is exited.
    	ContainerRemoved PodLifeCycleEventType = "ContainerRemoved"
    	// PodSync is used to trigger syncing of a pod when the observed change of
    	// the state of the pod cannot be captured by any single event above.
    	PodSync PodLifeCycleEventType = "PodSync"
    	// ContainerChanged - event type when the new state of container is unknown.
    	ContainerChanged PodLifeCycleEventType = "ContainerChanged"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 26 16:14:26 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  5. src/fmt/fmt_test.go

    	// complex infinites and NaNs
    	{"%f", complex(posInf, posInf), "(+Inf+Infi)"},
    	{"%f", complex(negInf, negInf), "(-Inf-Infi)"},
    	{"%f", complex(NaN, NaN), "(NaN+NaNi)"},
    	{"%.1f", complex(posInf, posInf), "(+Inf+Infi)"},
    	{"% f", complex(posInf, posInf), "( Inf+Infi)"},
    	{"% f", complex(negInf, negInf), "(-Inf-Infi)"},
    	{"% f", complex(NaN, NaN), "( NaN+NaNi)"},
    	{"%8e", complex(posInf, posInf), "(    +Inf    +Infi)"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:31:55 UTC 2024
    - 58.6K bytes
    - Viewed (0)
  6. internal/ioutil/append-file_nix.go

    package ioutil
    
    import (
    	"io"
    	"os"
    )
    
    // AppendFile - appends the file "src" to the file "dst"
    func AppendFile(dst string, src string, osync bool) error {
    	flags := os.O_WRONLY | os.O_APPEND | os.O_CREATE
    	if osync {
    		flags |= os.O_SYNC
    	}
    	appendFile, err := os.OpenFile(dst, flags, 0o666)
    	if err != nil {
    		return err
    	}
    	defer appendFile.Close()
    
    	srcFile, err := os.Open(src)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  7. src/go/types/errors.go

    			p := &err.desc[i]
    			check.handleError(i, p.posn, err.code, p.msg, err.soft)
    		}
    	} else {
    		check.handleError(0, err.posn(), err.code, err.msg(), err.soft)
    	}
    
    	// make sure the error is not reported twice
    	err.desc = nil
    }
    
    // handleError should only be called by error_.report.
    func (check *Checker) handleError(index int, posn positioner, code Code, msg string, soft bool) {
    	assert(code != 0)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 22:06:18 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  8. src/syscall/syscall_unix.go

    		}
    		if err == nil {
    			race.Acquire(unsafe.Pointer(&ioSync))
    		}
    	}
    	if msan.Enabled && n > 0 {
    		msan.Write(unsafe.Pointer(&p[0]), uintptr(n))
    	}
    	if asan.Enabled && n > 0 {
    		asan.Write(unsafe.Pointer(&p[0]), uintptr(n))
    	}
    	return
    }
    
    func Write(fd int, p []byte) (n int, err error) {
    	if race.Enabled {
    		race.ReleaseMerge(unsafe.Pointer(&ioSync))
    	}
    	if faketime && (fd == 1 || fd == 2) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 16:19:26 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  9. src/math/log_amd64.s

    #define NaN    0x7FF8000000000001
    #define NegInf 0xFFF0000000000000
    #define PosInf 0x7FF0000000000000
    
    // func Log(x float64) float64
    TEXT ·archLog(SB),NOSPLIT,$0
    	// test bits for special cases
    	MOVQ    x+0(FP), BX
    	MOVQ    $~(1<<63), AX // sign bit mask
    	ANDQ    BX, AX
    	JEQ     isZero
    	MOVQ    $0, AX
    	CMPQ    AX, BX
    	JGT     isNegative
    	MOVQ    $PosInf, AX
    	CMPQ    AX, BX
    	JLE     isInfOrNaN
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 23 20:52:57 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/tools/go/analysis/internal/analysisflags/flags.go

    func PrintPlain(fset *token.FileSet, diag analysis.Diagnostic) {
    	posn := fset.Position(diag.Pos)
    	fmt.Fprintf(os.Stderr, "%s: %s\n", posn, diag.Message)
    
    	// -c=N: show offending line plus N lines of context.
    	if Context >= 0 {
    		posn := fset.Position(diag.Pos)
    		end := fset.Position(diag.End)
    		if !end.IsValid() {
    			end = posn
    		}
    		data, _ := os.ReadFile(posn.Filename)
    		lines := strings.Split(string(data), "\n")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 12.1K bytes
    - Viewed (0)
Back to top