Search Options

Results per page
Sort
Preferred Languages
Advance

Results 461 - 470 of 1,655 for just (0.04 sec)

  1. guava-tests/test/com/google/common/primitives/FloatsTest.java

      @SuppressWarnings("EmptyList")
      public void testAsListEmpty() {
        assertThat(Floats.asList(EMPTY)).isSameInstanceAs(Collections.emptyList());
      }
    
      /**
       * A reference implementation for {@code tryParse} that just catches the exception from {@link
       * Float#valueOf}.
       */
      private static @Nullable Float referenceTryParse(String input) {
        if (input.trim().length() < input.length()) {
          return null;
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.4K bytes
    - Viewed (0)
  2. cmd/peer-rest-client.go

    	if err != nil {
    		return
    	}
    	st.Results(func(b []byte) error {
    		select {
    		case traceCh <- b:
    		default:
    			// Do not block on slow receivers.
    			// Just recycle the buffer.
    			grid.PutByteBuffer(b)
    		}
    		return nil
    	})
    }
    
    func (client *peerRESTClient) doListen(ctx context.Context, listenCh chan<- []byte, v url.Values) {
    	conn := client.gridConn()
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/net/InetAddresses.java

          } else if (c == ':') {
            if (hasDot) {
              return null; // Colons must not appear after dots.
            }
            hasColon = true;
          } else if (c == '%') {
            percentIndex = i;
            break;
          } else if (Character.digit(c, 16) == -1) {
            return null; // Everything else must be a decimal or hex digit.
          }
        }
    
        // Now decide which address family to parse.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 47.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Iterables.java

              return list.subList(toSkip, list.size()).iterator();
            }
            Iterator<T> iterator = iterable.iterator();
    
            Iterators.advance(iterator, numberToSkip);
    
            /*
             * We can't just return the iterator because an immediate call to its
             * remove() method would remove one of the skipped elements instead of
             * throwing an IllegalStateException.
             */
            return new Iterator<T>() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 43.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/CompactHashMap.java

          Object key = keys[srcIndex];
          keys[dstIndex] = key;
          values[dstIndex] = values[srcIndex];
          keys[srcIndex] = null;
          values[srcIndex] = null;
    
          // move the last entry to the removed spot, just like we moved the element
          entries[dstIndex] = entries[srcIndex];
          entries[srcIndex] = 0;
    
          // also need to update whoever's "next" pointer was pointing to the last entry place
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 35.7K bytes
    - Viewed (0)
  6. cmd/endpoint.go

    					endpoints[i].IsLocal = false
    				}
    			}
    		}
    
    		// All endpoints are pointing to local host
    		if len(endpoints) == localEndpointCount {
    			// If all endpoints have same port number, Just treat it as local erasure setup
    			// using URL style endpoints.
    			if len(localPortSet) == 1 {
    				if len(localServerHostSet) > 1 {
    					return nil, setupType,
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 34.4K bytes
    - Viewed (0)
  7. guava/src/com/google/common/net/MediaType.java

          builder.put(normalizedAttribute, normalizeParameterValue(normalizedAttribute, value));
        }
        MediaType mediaType = new MediaType(type, subtype, builder.build());
        // if the attribute isn't charset, we can just inherit the current parsedCharset
        if (!normalizedAttribute.equals(CHARSET_ATTRIBUTE)) {
          mediaType.parsedCharset = this.parsedCharset;
        }
        // Return one of the constants if the media type is a known type.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 48K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

            // "safe" edges which together form a cycle. Preventing this race
            // condition efficiently without _introducing_ deadlock is probably
            // tricky. For now, just accept the race condition---missing a warning
            // now and then is still better than having no deadlock detection.
            allowedPriorLocks.put(acquiredLock, new ExampleStackTrace(acquiredLock, this));
          } else {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 18 15:05:43 UTC 2025
    - 35.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

         * read operations anyway:
         *
         * - All (unsynchronized) read operations must first read the "count" field, and should not
         * look at table entries if it is 0.
         *
         * - All (synchronized) write operations should write to the "count" field after structurally
         * changing any bin. The operations must not take any action that could even momentarily
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 90K bytes
    - Viewed (0)
  10. helm-releases/minio-2.0.1.tgz

    begin), and set `networkPolicy.enabled` to `true`. For Kubernetes v1.5 & v1.6, you must also turn on NetworkPolicy by setting the DefaultDeny namespace annotation. Note: this will enforce policy for _all_ pods in the namespace: ``` kubectl annotate namespace default "net.beta.kubernetes.io/network-policy={\"ingress\":{\"isolation\":\"DefaultDeny\"}}" ``` With NetworkPolicy enabled, traffic will be limited to just port 9000. For more precise policy, set `networkPolicy.allowExternal=true`. This will...
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 31 09:09:09 UTC 2021
    - 13.6K bytes
    - Viewed (0)
Back to top