Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 85 for nonZero (0.17 sec)

  1. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/gtest-death-test.h

        GTEST_DEATH_TEST_(statement, predicate, regex, GTEST_NONFATAL_FAILURE_)
    
    // Asserts that a given statement causes the program to exit, either by
    // explicitly exiting with a nonzero exit code or being killed by a
    // signal, and emitting error output that matches regex.
    # define ASSERT_DEATH(statement, regex) \
        ASSERT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, regex)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/internal/gtest-death-test-internal.h

                          const char* file, int line, DeathTest** test);
    };
    
    // Returns true if exit_status describes a process that was terminated
    // by a signal, or exited normally with a nonzero exit code.
    GTEST_API_ bool ExitedUnsuccessfully(int exit_status);
    
    // Traps C++ exceptions escaping statement and reports them as test
    // failures. Note that trapping SEH exceptions is not implemented here.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  3. src/cmd/internal/obj/x86/aenum.go

    	AJCXZQ
    	AJCXZW
    	AJEQ // == (zero)
    	AJGE // >= signed
    	AJGT // > signed
    	AJHI // > unsigned
    	AJLE // <= signed
    	AJLS // <= unsigned
    	AJLT // < signed
    	AJMI // sign bit set (negative)
    	AJNE // != (nonzero)
    	AJOC // overflow clear
    	AJOS // overflow set
    	AJPC // parity clear
    	AJPL // sign bit clear (positive)
    	AJPS // parity set
    	AKADDB
    	AKADDD
    	AKADDQ
    	AKADDW
    	AKANDB
    	AKANDD
    	AKANDNB
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 11 18:32:50 UTC 2023
    - 16.3K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/loopbce.go

    			// I don't think this is causing missed optimizations in real world code often.
    			// See https://go.dev/issue/63955
    			continue
    		}
    
    		// Expect the increment to be a nonzero constant.
    		if !inc.isGenericIntConst() {
    			continue
    		}
    		step := inc.AuxInt
    		if step == 0 {
    			continue
    		}
    
    		// Increment sign must match comparison direction.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 07 17:37:47 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  5. pkg/scheduler/framework/plugins/noderesources/most_allocated_test.go

    			// Node2 scores on 0-MaxNodeScore scale
    			// CPU Fraction: 100 / 250 = 40%
    			// Memory Fraction: 200 / 1000 = 20%
    			// Node2 Score: (20 + 40) / 2 = 30
    			name:         "no resources requested, pods scheduled, nonzero request for resource",
    			requestedPod: st.MakePod().Container("container").Obj(),
    			nodes: []*v1.Node{
    				st.MakeNode().Name("node1").Capacity(map[v1.ResourceName]string{"cpu": "250m", "memory": "1000Mi"}).Obj(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 03:30:06 UTC 2023
    - 16K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/util/managedfields/fieldmanager_test.go

    		panic(fmt.Errorf("couldn't get accessor: %v", err))
    	}
    
    	// Managed fields should not be stripped
    	if len(accessor.GetManagedFields()) == 0 {
    		t.Fatalf("empty managed fields of object which expected nonzero fields")
    	}
    
    	// Agent A applies the exact same configuration
    	if err := f.Apply(appliedObj.DeepCopyObject(), "fieldmanager_z", false); err != nil {
    		t.Fatalf("failed to apply object: %v", err)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 16 20:03:48 UTC 2023
    - 32.5K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/_gen/dec64.rules

    (Rsh64x64 [c] x (Int64Make (Const32 [0]) lo)) => (Rsh64x32 [c] x lo)
    (Rsh64Ux64 [c] x (Int64Make (Const32 [0]) lo)) => (Rsh64Ux32 [c] x lo)
    
    // turn x64 non-constant shifts to x32 shifts
    // if high 32-bit of the shift is nonzero, make a huge shift
    (Lsh64x64 x (Int64Make hi lo)) && hi.Op != OpConst32 =>
           (Lsh64x32 x (Or32 <typ.UInt32> (Zeromask hi) lo))
    (Rsh64x64 x (Int64Make hi lo)) && hi.Op != OpConst32 =>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 04 19:35:46 UTC 2022
    - 14.2K bytes
    - Viewed (0)
  8. src/hash/maphash/smhasher_test.go

    	N := 256 * 1024
    	if testing.Short() {
    		N = 1024
    	}
    	h := newHashSet()
    	b := make([]byte, N)
    	for i := 0; i <= N; i++ {
    		h.addB(b[:i])
    	}
    	h.check(t)
    }
    
    // Strings with up to two nonzero bytes all have distinct hashes.
    func TestSmhasherTwoNonzero(t *testing.T) {
    	if runtime.GOARCH == "wasm" {
    		t.Skip("Too slow on wasm")
    	}
    	if testing.Short() {
    		t.Skip("Skipping in short mode")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 16:41:38 UTC 2024
    - 11K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java

          if (expectedOldCount != 0) {
            return false;
          } else if (newCount == 0) {
            return true;
          } else {
            // if our write lost the race, it must have lost to a nonzero value, so we can stop
            return countMap.putIfAbsent(element, new AtomicInteger(newCount)) == null;
          }
        }
        int oldValue = existingCounter.get();
        if (oldValue == expectedOldCount) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  10. src/runtime/mpallocbits.go

    	if most >= 64-2 {
    		// There is no way an internal run of zeros could beat max.
    		return packPallocSum(start, most, cur)
    	}
    	// Now look inside each uint64 for runs of zeros.
    	// All uint64s must be nonzero, or we would have aborted above.
    outer:
    	for i := 0; i < len(b); i++ {
    		x := b[i]
    
    		// Look inside this uint64. We have a pattern like
    		// 000000 1xxxxx1 000000
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 18 15:13:43 UTC 2024
    - 12.5K bytes
    - Viewed (0)
Back to top