Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for vminus1 (0.13 sec)

  1. src/crypto/rsa/rsa.go

    					continue NextSetOfPrimes
    				}
    			}
    		}
    
    		n := new(big.Int).Set(bigOne)
    		totient := new(big.Int).Set(bigOne)
    		pminus1 := new(big.Int)
    		for _, prime := range primes {
    			n.Mul(n, prime)
    			pminus1.Sub(prime, bigOne)
    			totient.Mul(totient, pminus1)
    		}
    		if n.BitLen() != bits {
    			// This should never happen for nprimes == 2 because
    			// crypto/rand should set the top two bits in each prime.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:18 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java

        }
      }
    
      private abstract static class DelayedActionRunnable implements Runnable {
        private final long tMinus;
    
        protected DelayedActionRunnable(long tMinus) {
          this.tMinus = tMinus;
        }
    
        @Override
        public final void run() {
          try {
            Thread.sleep(tMinus);
          } catch (InterruptedException e) {
            throw new AssertionError(e);
          }
          doAction();
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 16:06:39 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/gradients/nn_grad.cc

            "BroadcastMul is not supported in tracing mode yet.");
      }
      auto imm_ctx = dyn_cast<ImmediateExecutionContext>(ctx);
      AbstractTensorPtr minus_1(imm_ctx->CreateInt32Scalar(-1));
      ImmediateTensorHandlePtr dim(imm_ctx->CreateLocalHandle(minus_1.get()));
      AbstractTensorHandle* expand_dims_outputs;
      TF_RETURN_IF_ERROR(
          ops::ExpandDims(ctx, vec, dim.get(), &expand_dims_outputs, "ExpandDims"));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 09 06:38:45 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  4. src/syscall/syscall_linux.go

    	if cgo_libc_setegid != nil {
    		return minus1, minus1, ENOTSUP
    	}
    	r1, r2, errno := runtime_doAllThreadsSyscall(trap, a1, a2, a3, a4, a5, a6)
    	return r1, r2, Errno(errno)
    }
    
    // linked by runtime.cgocall.go
    //
    //go:uintptrescapes
    func cgocaller(unsafe.Pointer, ...uintptr) uintptr
    
    var cgo_libc_setegid unsafe.Pointer // non-nil if cgo linked.
    
    const minus1 = ^uintptr(0)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:12:46 UTC 2024
    - 35.7K bytes
    - Viewed (0)
  5. src/encoding/asn1/marshal.go

    		// form. So we'll invert and subtract 1. If the
    		// most-significant-bit isn't set then we'll need to pad the
    		// beginning with 0xff in order to keep the number negative.
    		nMinus1 := new(big.Int).Neg(n)
    		nMinus1.Sub(nMinus1, bigOne)
    		bytes := nMinus1.Bytes()
    		for i := range bytes {
    			bytes[i] ^= 0xff
    		}
    		if len(bytes) == 0 || bytes[0]&0x80 == 0 {
    			return multiEncoder([]encoder{byteFFEncoder, bytesEncoder(bytes)}), nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableSet.java

       * _could_, so we could keep it as it is. Or we could convince ourselves that hash flooding is
       * unlikely in practice there, too.)
       */
    
      /**
       * Returns an immutable set containing the given elements, minus duplicates, in the order each was
       * first specified. That is, if multiple elements are {@linkplain Object#equals equal}, all except
       * the first are ignored.
       */
      public static <E> ImmutableSet<E> of(E e1, E e2) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 08 03:01:02 UTC 2024
    - 35.3K bytes
    - Viewed (0)
  7. src/runtime/msize.go

    //
    // See malloc.go for overview.
    // See also mksizeclasses.go for how we decide what size classes to use.
    
    package runtime
    
    // Returns size of the memory block that mallocgc will allocate if you ask for the size,
    // minus any inline space for metadata.
    func roundupsize(size uintptr, noscan bool) (reqSize uintptr) {
    	reqSize = size
    	if reqSize <= maxSmallSize-mallocHeaderSize {
    		// Small object.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 04:07:57 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  8. src/internal/poll/sendfile_windows.go

    		if _, err = syscall.Seek(o.handle, curpos, io.SeekStart); err != nil {
    			return
    		}
    	}
    
    	// TransmitFile can be invoked in one call with at most
    	// 2,147,483,646 bytes: the maximum value for a 32-bit integer minus 1.
    	// See https://docs.microsoft.com/en-us/windows/win32/api/mswsock/nf-mswsock-transmitfile
    	const maxChunkSizePerCall = int64(0x7fffffff - 1)
    
    	for n > 0 {
    		chunkSize := maxChunkSizePerCall
    		if chunkSize > n {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 18:12:56 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  9. platforms/core-runtime/logging/src/main/java/org/gradle/util/TextUtil.java

            }
        }
    
        /**
         * Same behavior as Groovy minus operator between Strings
         *
         * @param originalString original string
         * @param removeString string to remove
         * @return string with removeString removed or the original string if it did not contain removeString
         */
        public static String minus(String originalString, String removeString) {
            logDeprecation();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  10. src/crypto/ecdsa/ecdsa.go

    			}
    			return
    		}
    	}
    
    	// Calculate the inverse of s in GF(N) using Fermat's method
    	// (exponentiation modulo P - 2, per Euler's theorem)
    	kInv.Exp(k, c.nMinus2, c.N)
    }
    
    // hashToNat sets e to the left-most bits of hash, according to
    // SEC 1, Section 4.1.3, point 5 and Section 4.1.4, point 3.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:18 UTC 2024
    - 20.4K bytes
    - Viewed (0)
Back to top