Search Options

Results per page
Sort
Preferred Languages
Advance

Results 291 - 300 of 455 for Unsafe (0.07 sec)

  1. guava/src/com/google/common/collect/MinMaxPriorityQueue.java

     * Unlike many other double-ended priority queues, it stores elements in a single array, as compact
     * as the traditional heap data structure used in {@link PriorityQueue}.
     *
     * <p>This class is not thread-safe, and does not accept null elements.
     *
     * <p><i>Performance notes:</i>
     *
     * <ul>
     *   <li>If you only access one end of the queue, and do use a maximum size, this class will perform
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  2. okhttp-tls/src/test/java/okhttp3/tls/HandshakeCertificatesTest.kt

            .build()
        val acceptedIssuers = handshakeCertificates.trustManager.acceptedIssuers
        val names =
          acceptedIssuers
            .map { it.subjectDN.name }
            .toSet()
    
        // It's safe to assume all platforms will have a major Internet certificate issuer.
        assertThat(names).matchesPredicate { strings ->
          strings.any { it.matches(Regex("[A-Z]+=Entrust.*")) }
        }
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/graph/StandardMutableNetwork.java

      public boolean removeEdge(E edge) {
        checkNotNull(edge, "edge");
    
        N nodeU = edgeToReferenceNode.get(edge);
        if (nodeU == null) {
          return false;
        }
    
        // requireNonNull is safe because of the edgeToReferenceNode check above.
        NetworkConnections<N, E> connectionsU = requireNonNull(nodeConnections.get(nodeU));
        N nodeV = connectionsU.adjacentNode(edge);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 5.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

     * Unlike many other double-ended priority queues, it stores elements in a single array, as compact
     * as the traditional heap data structure used in {@link PriorityQueue}.
     *
     * <p>This class is not thread-safe, and does not accept null elements.
     *
     * <p><i>Performance notes:</i>
     *
     * <ul>
     *   <li>If you only access one end of the queue, and do use a maximum size, this class will perform
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

       * #collectValueFromNonCancelledFuture}. As this is called after the subclass is constructed,
       * we're guaranteed to have properly initialized the subclass.
       */
      final void init() {
        /*
         * requireNonNull is safe because this is called from the constructor after `futures` is set but
         * before releaseResources could be called (because we have not yet set up any of the listeners
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ContiguousSet.java

          throw new IllegalArgumentException(e);
        }
    
        boolean empty;
        if (effectiveRange.isEmpty()) {
          empty = true;
        } else {
          /*
           * requireNonNull is safe because the effectiveRange operations above would have thrown or
           * effectiveRange.isEmpty() would have returned true.
           */
          C afterLower = requireNonNull(range.lowerBound.leastValueAbove(domain));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/ListenerCallQueue.java

            queue.add(event, label);
          }
        }
      }
    
      /**
       * Dispatches all events enqueued prior to this call, serially and in order, for every listener.
       *
       * <p>Note: this method is idempotent and safe to call from any thread
       */
      public void dispatch() {
        // iterate by index to avoid concurrent modification exceptions
        for (int i = 0; i < listeners.size(); i++) {
          listeners.get(i).dispatch();
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Dec 13 19:45:20 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  8. cni/pkg/nodeagent/cni-watcher.go

    	log.Debugf("netns: %s", addCmd.Netns)
    
    	// The CNI node plugin should have already checked the pod against the k8s API before forwarding us the event,
    	// but we have to invoke the K8S client anyway, so to be safe we check it again here to make sure we get the same result.
    	ambientPod, err := s.getPodWithRetry(log, addCmd.PodName, addCmd.PodNamespace)
    	if err != nil {
    		return err
    	}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Jul 02 18:48:50 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/math/LongMath.java

             *            sqrtFloor^2 <= x < (sqrtFloor + 1)^2
             * halfSquare - sqrtFloor <= x < halfSquare + sqrtFloor + 1
             * so |x - halfSquare| <= sqrtFloor.  Therefore, it's safe to treat x - halfSquare as a
             * signed long, so lessThanBranchFree is safe for use.
             */
            return sqrtFloor + lessThanBranchFree(halfSquare, x);
        }
        throw new AssertionError();
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 09 16:39:37 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  10. guava/src/com/google/common/io/BaseEncoding.java

       * href="http://tools.ietf.org/html/rfc4648#section-5">RFC 4648 section 5</a>, Base 64 Encoding
       * with URL and Filename Safe Alphabet, also sometimes referred to as the "web safe Base64." (This
       * is the same as the base 64 encoding with URL and filename safe alphabet from <a
       * href="http://tools.ietf.org/html/rfc3548#section-4">RFC 3548</a>.)
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 41.8K bytes
    - Viewed (0)
Back to top