Search Options

Results per page
Sort
Preferred Languages
Advance

Results 301 - 310 of 649 for bzero (0.02 sec)

  1. android/guava-tests/test/com/google/common/collect/ConcurrentHashMultisetTest.java

       * happens when an {@link AtomicInteger#compareAndSet} fails, but we can simulate the case where
       * the putIfAbsent returns a non-null value, and the case where the replace() of an observed zero
       * fails.
       */
      public void testAdd_withFailures() {
        AtomicInteger existing = new AtomicInteger(12);
        AtomicInteger existingZero = new AtomicInteger(0);
    
        // initial map.get()
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  2. internal/crypto/header_test.go

    		}
    
    		if err != nil && key != zeroKey {
    			t.Errorf("Test %d: parsing failed and client key is not zero key", i)
    		}
    		if err == nil && key == zeroKey {
    			t.Errorf("Test %d: parsed client key is zero key", i)
    		}
    	}
    }
    
    var ssecCopyParseTests = []struct {
    	Header      http.Header
    	ExpectedErr error
    }{
    	{
    		Header: http.Header{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 13 14:52:15 UTC 2022
    - 21.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/cache/Striped64.java

    /*
     * Written by Doug Lea with assistance from members of JCP JSR-166
     * Expert Group and released to the public domain, as explained at
     * http://creativecommons.org/publicdomain/zero/1.0/
     */
    
    /*
     * Source:
     * http://gee.cs.oswego.edu/cgi-bin/viewcvs.cgi/jsr166/src/jsr166e/Striped64.java?revision=1.9
     */
    
    package com.google.common.cache;
    
    import com.google.common.annotations.GwtIncompatible;
    import java.lang.reflect.Field;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 14 17:55:55 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  4. internal/crypto/key_test.go

    		i, test := i, test
    		func() {
    			defer recoverTest(i, test.ShouldPass, t)
    			key := GenerateKey(test.ExtKey[:], test.Random)
    			if [32]byte(key) == [32]byte{} {
    				t.Errorf("Test %d: generated key is zero key", i) // check that we generate random and unique key
    			}
    		}()
    	}
    }
    
    var generateIVTests = []struct {
    	Random     io.Reader
    	ShouldPass bool
    }{
    	{Random: nil, ShouldPass: true},              // 0
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 20:51:54 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  5. common-protos/k8s.io/api/batch/v1beta1/generated.proto

      // The number of successful finished jobs to retain.
      // This is a pointer to distinguish between explicit zero and not specified.
      // Defaults to 3.
      // +optional
      optional int32 successfulJobsHistoryLimit = 6;
    
      // The number of failed finished jobs to retain.
      // This is a pointer to distinguish between explicit zero and not specified.
      // Defaults to 1.
      // +optional
      optional int32 failedJobsHistoryLimit = 7;
    }
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  6. istioctl/cmd/sysexits.go

    const (
    	ExitUnknownError   = 1 // for compatibility with existing exit code
    	ExitIncorrectUsage = 64
    	ExitDataError      = 65 // some format error with input data
    
    	// below here are non-zero exit codes that don't indicate an error with istioctl itself
    	ExitAnalyzerFoundIssues = 79 // istioctl analyze found issues, for CI/CD
    )
    
    func GetExitCode(e error) int {
    	if strings.Contains(e.Error(), "unknown command") {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jun 15 15:02:17 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/graph/InvalidatableSet.java

        // unless it's actually going to be used; validate() is called for all set method calls, so it
        // needs to be fast.
        // (We could instead generate the message once, when the set is created, but zero is better.)
        if (!validator.get()) {
          throw new IllegalStateException(errorMessage.get());
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/MultimapsFilterEntriesAsMapTest.java

      public MultimapsFilterEntriesAsMapTest() {
        super(true, true, false);
      }
    
      private Multimap<String, Integer> createMultimap() {
        Multimap<String, Integer> unfiltered = HashMultimap.create();
        unfiltered.put("zero", 55556);
        unfiltered.put("one", 55556);
        unfiltered.put("badkey", 1);
        return Multimaps.filterEntries(unfiltered, PREDICATE);
      }
    
      @Override
      protected Map<String, Collection<Integer>> makeEmptyMap() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/Trans2QueryPathInformationResponse.java

        }
        int readSetupWireFormat( byte[] buffer, int bufferIndex, int len ) {
            return 0;
        }
        int readParametersWireFormat( byte[] buffer, int bufferIndex, int len ) {
            // observed two zero bytes here with at least win98
            return 2;
        }
        int readDataWireFormat( byte[] buffer, int bufferIndex, int len ) {
            switch( informationLevel ) {
                case SMB_QUERY_FILE_BASIC_INFO:
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 5.4K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java

                    return emptyMap();
                  }
                })
            .named("emptyMap")
            .withFeatures(CollectionFeature.SERIALIZABLE, CollectionSize.ZERO)
            .suppressing(suppressForEmptyMap())
            .createTestSuite();
      }
    
      public Test testsForEmptyNavigableMap() {
        return MapTestSuiteBuilder.using(
                new TestStringSortedMapGenerator() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 21.6K bytes
    - Viewed (0)
Back to top