Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 60 for Tilley (0.23 sec)

  1. android/guava-tests/test/com/google/common/io/ByteStreamsTest.java

        InputStream in = new ByteArrayInputStream(PRE_FILLED_100);
        byte[] b = ByteStreams.toByteArray(in, 100);
        assertThat(b).isEqualTo(PRE_FILLED_100);
      }
    
      public void testToByteArray_withSize_givenSmallerSize() throws IOException {
        InputStream in = new ByteArrayInputStream(PRE_FILLED_100);
        byte[] b = ByteStreams.toByteArray(in, 80);
        assertThat(b).isEqualTo(PRE_FILLED_100);
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/ByteStreamsTest.java

        InputStream in = new ByteArrayInputStream(PRE_FILLED_100);
        byte[] b = ByteStreams.toByteArray(in, 100);
        assertThat(b).isEqualTo(PRE_FILLED_100);
      }
    
      public void testToByteArray_withSize_givenSmallerSize() throws IOException {
        InputStream in = new ByteArrayInputStream(PRE_FILLED_100);
        byte[] b = ByteStreams.toByteArray(in, 80);
        assertThat(b).isEqualTo(PRE_FILLED_100);
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/MultimapsTest.java

        TreeMultimap<String, Integer> empty = TreeMultimap.create();
        TreeMultimap<String, Integer> filled = TreeMultimap.create();
        filled.put("a", 1);
        filled.put("a", 2);
        filled.put("b", 2);
        filled.put("c", 3);
        CollectorTester.of(collector, equivalence)
            .expectCollects(empty)
            .expectCollects(
                filled, mapEntry("a", 1), mapEntry("a", 2), mapEntry("b", 2), mapEntry("c", 3));
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 42.2K bytes
    - Viewed (0)
  4. docs/debugging/xl-meta/main.go

    		if start >= len(mapped) {
    			continue
    		}
    		copy(mapped[start:], b)
    		for j := range b {
    			if j+start >= len(filled) {
    				break
    			}
    			filled[j+start] = 1
    		}
    	}
    
    	lastValid := 0
    	missing := 0
    	for i := range filled {
    		if filled[i] == 1 {
    			lastValid = i
    		} else {
    			missing++
    		}
    	}
    	if missing > 0 && len(parityData) > 0 {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 24 17:56:22 GMT 2024
    - 20.2K bytes
    - Viewed (1)
  5. common-protos/k8s.io/api/authorization/v1/generated.proto

      // you made the request against.  If empty, it is defaulted.
      optional SubjectAccessReviewSpec spec = 2;
    
      // Status is filled in by the server and indicates whether the request is allowed or not
      // +optional
      optional SubjectAccessReviewStatus status = 3;
    }
    
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/RegularImmutableMap.java

          RegularImmutableMap<K, V> empty = (RegularImmutableMap<K, V>) EMPTY;
          return empty;
        } else if (n == 1) {
          // requireNonNull is safe because the first `2*n` elements have been filled in.
          checkEntryNotNull(
              requireNonNull(alternatingKeysAndValues[0]), requireNonNull(alternatingKeysAndValues[1]));
          return new RegularImmutableMap<K, V>(null, alternatingKeysAndValues, 1);
        }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 15 22:32:14 GMT 2024
    - 22.7K bytes
    - Viewed (0)
  7. common-protos/k8s.io/api/authorization/v1beta1/generated.proto

      // you made the request against.  If empty, it is defaulted.
      optional SubjectAccessReviewSpec spec = 2;
    
      // Status is filled in by the server and indicates whether the request is allowed or not
      // +optional
      optional SubjectAccessReviewStatus status = 3;
    }
    
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  8. cmd/storage-rest-server.go

    				// concurrently, check for it before we
    				// write the filler byte.
    				select {
    				case err := <-doneCh:
    					if err != nil {
    						write([]byte{1})
    						write([]byte(err.Error()))
    					} else {
    						write([]byte{0})
    					}
    					return
    				default:
    				}
    
    				// Response not ready, write a filler byte.
    				write([]byte{32})
    				if canWrite {
    					w.(http.Flusher).Flush()
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 44.8K bytes
    - Viewed (0)
  9. src/bufio/bufio.go

    			}
    			nr++
    		}
    		if nr == maxConsecutiveEmptyReads {
    			return n, io.ErrNoProgress
    		}
    		b.n += m
    		n += int64(m)
    		if err != nil {
    			break
    		}
    	}
    	if err == io.EOF {
    		// If we filled the buffer exactly, flush preemptively.
    		if b.Available() == 0 {
    			err = b.Flush()
    		} else {
    			err = nil
    		}
    	}
    	return n, err
    }
    
    // buffered input and output
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Oct 12 14:39:08 GMT 2023
    - 21.8K bytes
    - Viewed (0)
  10. istioctl/pkg/validate/validate.go

    func handleNamespace(istioNamespace string) string {
    	if istioNamespace == "" {
    		istioNamespace = constants.IstioSystemNamespace
    	}
    	return istioNamespace
    }
    
    // TODO(nmittler): Remove this once Pilot migrates to galley schema.
    func convertObjectFromUnstructured(schema resource.Schema, un *unstructured.Unstructured, domain string) (*config.Config, error) {
    	data, err := fromSchemaAndJSONMap(schema, un.Object["spec"])
    	if err != nil {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Jan 22 17:58:52 GMT 2024
    - 15K bytes
    - Viewed (0)
Back to top