Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 18 of 18 for doGenerate (0.27 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/AggregateFutureStateFallbackAtomicHelperTest.java

     * To force selection of our fallback strategies we load {@link AggregateFutureState} (and all of
     * {@code com.google.common.util.concurrent}) in degenerate class loaders which make certain
     * platform classes unavailable. Then we construct a test suite so we can run the normal FuturesTest
     * test methods in these degenerate classloaders.
     */
    
    public class AggregateFutureStateFallbackAtomicHelperTest extends TestCase {
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 5.9K bytes
    - Viewed (0)
  2. src/cmd/go/internal/mvs/graph.go

    			// are a bit of a degenerate case: we will take the transitive
    			// requirements of both roots into account, but only the higher one can
    			// possibly be selected. However — especially given that we need the
    			// seenRoot map for later anyway — it is simpler to support this
    			// degenerate case than to forbid it.
    			continue
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 01 02:52:19 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  3. src/crypto/dsa/dsa_test.go

    	if Verify(&pub, []byte("testing"), fromHex("2"), fromHex("4")) {
    		t.Errorf("Verify unexpected success with non-existent mod inverse of Q")
    	}
    }
    
    func TestSigningWithDegenerateKeys(t *testing.T) {
    	// Signing with degenerate private keys should not cause an infinite
    	// loop.
    	badKeys := []struct {
    		p, q, g, y, x string
    	}{
    		{"00", "01", "00", "00", "00"},
    		{"01", "ff", "00", "00", "00"},
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 15 21:04:43 UTC 2019
    - 4.7K bytes
    - Viewed (0)
  4. src/regexp/syntax/simplify.go

    			}
    			if prefix == nil {
    				return suffix
    			}
    			prefix.Sub = append(prefix.Sub, suffix)
    		}
    		if prefix != nil {
    			return prefix
    		}
    
    		// Some degenerate case like min > max or min < max < 0.
    		// Handle as impossible match.
    		return &Regexp{Op: OpNoMatch}
    	}
    
    	return re
    }
    
    // simplify1 implements Simplify for the unary OpStar,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 02 00:13:47 UTC 2016
    - 4.2K bytes
    - Viewed (0)
  5. okhttp-testing-support/src/main/kotlin/okhttp3/TestUtilJvm.kt

       * compressed stream that is terminated in a web socket frame even though the DEFLATE stream is
       * not terminated.
       *
       * Use this method to create a degenerate Okio Buffer where each byte is in a separate segment of
       * the internal list.
       */
      @JvmStatic
      fun fragmentBuffer(buffer: Buffer): Buffer {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  6. src/internal/trace/mud.go

    // distribution). This makes it easier to work with as it's being
    // updated.
    //
    // It is represented as the sum of scaled uniform distribution
    // functions and Dirac delta functions (which are treated as
    // degenerate uniform distributions).
    type mud struct {
    	sorted, unsorted []edge
    
    	// trackMass is the inverse cumulative sum to track as the
    	// distribution is updated.
    	trackMass float64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  7. src/crypto/dsa/dsa.go

    		z := k.SetBytes(hash)
    
    		s = new(big.Int).Mul(priv.X, r)
    		s.Add(s, z)
    		s.Mod(s, priv.Q)
    		s.Mul(s, kInv)
    		s.Mod(s, priv.Q)
    
    		if s.Sign() != 0 {
    			break
    		}
    	}
    
    	// Only degenerate private keys will require more than a handful of
    	// attempts.
    	if attempts == 0 {
    		return nil, nil, ErrInvalidPublicKey
    	}
    
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 17:09:47 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  8. src/internal/types/testdata/examples/types.go

    	return P{1, 2, 3}
    }
    
    func _[P interface{ ~[]E }, E interface{ map[string]P } ]() P {
    	x := P{}
    	return P{{}}
    	return P{E{}}
    	return P{E{"foo": x}}
    	return P{{"foo": x}, {}}
    }
    
    // This is a degenerate case with a singleton type set, but we can create
    // composite literals even if the core type is a defined type.
    type MyInts []int
    
    func _[P MyInts]() P {
    	return P{}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 23:16:04 UTC 2023
    - 8.4K bytes
    - Viewed (0)
Back to top