Search Options

Results per page
Sort
Preferred Languages
Advance

Results 541 - 550 of 649 for bzero (0.05 sec)

  1. guava/src/com/google/common/primitives/Bytes.java

      /**
       * Returns the values from each provided array combined into a single array. For example, {@code
       * concat(new byte[] {a, b}, new byte[] {}, new byte[] {c}} returns the array {@code {a, b, c}}.
       *
       * @param arrays zero or more {@code byte} arrays
       * @return a single array containing all the values from the source arrays, in order
       * @throws IllegalArgumentException if the total number of elements in {@code arrays} does not fit
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 27 16:47:48 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/hash/BloomFilterTest.java

        tester.testAllPublicInstanceMethods(BloomFilter.create(Funnels.unencodedCharsFunnel(), 100));
        tester.testAllPublicStaticMethods(BloomFilter.class);
      }
    
      /** Tests that we never get an optimal hashes number of zero. */
      public void testOptimalHashes() {
        for (int n = 1; n < 1000; n++) {
          for (int m = 0; m < 1000; m++) {
            assertTrue(BloomFilter.optimalNumOfHashFunctions(n, m) > 0);
          }
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/math/IntMathTest.java

      }
    
      @GwtIncompatible // BigIntegerMath // TODO(cpovirk): GWT-enable BigIntegerMath
      public void testConstantMaxPowerOfSqrt2Unsigned() {
        assertEquals(
            /*expected=*/ BigIntegerMath.sqrt(BigInteger.ZERO.setBit(2 * Integer.SIZE - 1), FLOOR)
                .intValue(),
            /*actual=*/ IntMath.MAX_POWER_OF_SQRT2_UNSIGNED);
      }
    
      @GwtIncompatible // pow()
      public void testConstantsPowersOf10() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  4. internal/ringbuffer/ring_buffer.go

    			return ErrIsNotEmpty
    		}
    		r.readCond.Wait()
    	}
    
    	err := r.readErr(true)
    	if err == io.EOF {
    		return nil
    	}
    	return err
    }
    
    // Reset the read pointer and writer pointer to zero.
    func (r *RingBuffer) Reset() {
    	r.mu.Lock()
    	defer r.mu.Unlock()
    
    	// Set error so any readers/writers will return immediately.
    	r.setErr(errors.New("reset called"), true)
    	if r.block {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 15 00:11:04 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  5. cmd/api-router.go

    	traceHdrsS3HFlag
    
    	// when provided, disables throttling via the `maxClients` middleware.
    	noThrottleS3HFlag
    )
    
    func (h s3HFlag) has(flag s3HFlag) bool {
    	// Use bitwise-AND and check if the result is non-zero.
    	return h&flag != 0
    }
    
    // s3APIMiddleware - performs some common handler functionality for S3 API
    // handlers.
    //
    // It is set per-"handler function registration" in the router to allow for
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 15:25:16 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/math/IntMathTest.java

      }
    
      @GwtIncompatible // BigIntegerMath // TODO(cpovirk): GWT-enable BigIntegerMath
      public void testConstantMaxPowerOfSqrt2Unsigned() {
        assertEquals(
            /*expected=*/ BigIntegerMath.sqrt(BigInteger.ZERO.setBit(2 * Integer.SIZE - 1), FLOOR)
                .intValue(),
            /*actual=*/ IntMath.MAX_POWER_OF_SQRT2_UNSIGNED);
      }
    
      @GwtIncompatible // pow()
      public void testConstantsPowersOf10() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/cache/CacheBuilderTest.java

      public void testRefresh_zero_duration() {
        CacheBuilder<Object, Object> builder = CacheBuilder.newBuilder();
        assertThrows(IllegalArgumentException.class, () -> builder.refreshAfterWrite(Duration.ZERO));
      }
    
      @GwtIncompatible // refreshAfterWrite
      public void testRefresh_setTwice() {
        CacheBuilder<Object, Object> builder =
            CacheBuilder.newBuilder().refreshAfterWrite(3600, SECONDS);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  8. src/cmd/asm/internal/asm/testdata/s390x.s

    	VESRAG	$0, V15, V16            // e70f0000383a
    	VLM	(R15), V8, V23          // e787f0000436
    	VSTM	V8, V23, (R15)          // e787f000043e
    	VONE	V1                      // e710ffff0044
    	VZERO	V16                     // e70000000844
    	VGBM	$52428, V31             // e7f0cccc0844
    	VREPIB	$255, V4                // e74000ff0045
    	VREPIH	$-1, V16                // e700ffff1845
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 18 15:49:24 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  9. src/cmd/cgo/gcc.go

    			fmt.Fprintf(&b, "\t%s,\n", n.C)
    		} else {
    			fmt.Fprintf(&b, "\t0,\n")
    		}
    	}
    	// for the last entry, we cannot use 0, otherwise
    	// in case all __cgodebug_data is zero initialized,
    	// LLVM-based gcc will place the it in the __DATA.__common
    	// zero-filled section (our debug/macho doesn't support
    	// this)
    	fmt.Fprintf(&b, "\t1\n")
    	fmt.Fprintf(&b, "};\n")
    
    	// do the same work for floats.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 18 15:07:34 UTC 2024
    - 97.1K bytes
    - Viewed (0)
  10. common-protos/k8s.io/api/batch/v1/generated.proto

      // automatically deleted. When the Job is being deleted, its lifecycle
      // guarantees (e.g. finalizers) will be honored. If this field is unset,
      // the Job won't be automatically deleted. If this field is set to zero,
      // the Job becomes eligible to be deleted immediately after it finishes.
      // +optional
      optional int32 ttlSecondsAfterFinished = 8;
    
      // completionMode specifies how Pod completions are tracked. It can be
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 21.1K bytes
    - Viewed (0)
Back to top