Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for FailCount (0.16 sec)

  1. test/abi/bad_internal_offsets.go

    package genChecker0
    
    var FailCount int
    
    //go:noinline
    func NoteFailure(fidx int, pkg string, pref string, parmNo int, _ uint64) {
    	FailCount += 1
    	if FailCount > 10 {
    		panic("bad")
    	}
    }
    
    //go:noinline
    func NoteFailureElem(fidx int, pkg string, pref string, parmNo int, elem int, _ uint64) {
    	FailCount += 1
    	if FailCount > 10 {
    		panic("bad")
    	}
    }
    
    type StructF0S0 struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  2. test/abi/bad_select_crash.go

    package main
    
    import (
    	"fmt"
    	"os"
    	"reflect"
    )
    
    func main() {
    	// Only print if there is a problem
    	Caller2()
    	if FailCount != 0 {
    		fmt.Fprintf(os.Stderr, "FAILURES: %d\n", FailCount)
    		os.Exit(2)
    	}
    }
    
    var ParamFailCount int
    
    var ReturnFailCount int
    
    var FailCount int
    
    var Mode string
    
    type UtilsType int
    
    //go:noinline
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 16 13:38:02 UTC 2021
    - 5.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/tests/ConcurrencyTest.java

            private final AtomicInteger failCount;
            private final SmbFile file;
            private AtomicInteger writeCount;
    
    
            /**
             * @param failCount
             * @param smbFile
             */
            public LockedWritesTest ( AtomicInteger failCount, AtomicInteger writeCount, SmbFile smbFile ) {
                this.failCount = failCount;
                this.writeCount = writeCount;
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Nov 14 17:40:50 UTC 2021
    - 17.6K bytes
    - Viewed (0)
  4. cmd/site-replication-utils.go

    	if currSt != ResyncStarted {
    		return currSt
    	}
    	totBuckets := len(m)
    	var cmpCount, failCount int
    	for _, st := range m {
    		switch st {
    		case ResyncCompleted:
    			cmpCount++
    		case ResyncFailed:
    			failCount++
    		}
    	}
    	if cmpCount == totBuckets {
    		return ResyncCompleted
    	}
    	if cmpCount+failCount == totBuckets {
    		return ResyncFailed
    	}
    	return ResyncStarted
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

                    String hostAddress = addr.getHostAddress();
                    Integer failCount = this.failCounts.get(hostAddress);
                    if ( failCount == null ) {
                        this.failCounts.put(hostAddress, 1);
                    }
                    else {
                        this.failCounts.put(hostAddress, failCount + 1);
                    }
                    ex = e;
                }
            }
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Dec 20 14:09:34 UTC 2020
    - 12.5K bytes
    - Viewed (0)
Back to top