Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 76 for arr2 (0.04 sec)

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

            Collection<Float> misleadingSize = Helpers.misleadingSizeCollection(delta);
            misleadingSize.addAll(list);
            float[] arr = Floats.toArray(misleadingSize);
            assertThat(arr.length).isEqualTo(i);
            for (int j = 0; j < i; j++) {
              assertThat(arr[j]).isEqualTo(VALUES[j]);
            }
          }
        }
      }
    
      public void testToArray_withNull() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/primitives/IntsTest.java

            Collection<Integer> misleadingSize = Helpers.misleadingSizeCollection(delta);
            misleadingSize.addAll(list);
            int[] arr = Ints.toArray(misleadingSize);
            assertThat(arr).hasLength(i);
            for (int j = 0; j < i; j++) {
              assertThat(arr[j]).isEqualTo(VALUES[j]);
            }
          }
        }
      }
    
      public void testToArray_withNull() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 29.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/primitives/DoublesTest.java

            Collection<Double> misleadingSize = Helpers.misleadingSizeCollection(delta);
            misleadingSize.addAll(list);
            double[] arr = Doubles.toArray(misleadingSize);
            assertThat(arr.length).isEqualTo(i);
            for (int j = 0; j < i; j++) {
              assertThat(arr[j]).isEqualTo(VALUES[j]);
            }
          }
        }
      }
    
      public void testToArray_withNull() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 32.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/primitives/FloatsTest.java

            Collection<Float> misleadingSize = Helpers.misleadingSizeCollection(delta);
            misleadingSize.addAll(list);
            float[] arr = Floats.toArray(misleadingSize);
            assertThat(arr.length).isEqualTo(i);
            for (int j = 0; j < i; j++) {
              assertThat(arr[j]).isEqualTo(VALUES[j]);
            }
          }
        }
      }
    
      public void testToArray_withNull() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/primitives/LongsTest.java

            Collection<Long> misleadingSize = Helpers.misleadingSizeCollection(delta);
            misleadingSize.addAll(list);
            long[] arr = Longs.toArray(misleadingSize);
            assertThat(arr).hasLength(i);
            for (int j = 0; j < i; j++) {
              assertThat(arr[j]).isEqualTo(VALUES[j]);
            }
          }
        }
      }
    
      public void testToArray_withNull() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  6. docs/debugging/xl-meta/main.go

    						if err != nil {
    							return err
    						}
    						// Fill padding...
    						padding := len(splitFilled[0])*k - len(m.filled)
    						for i := 0; i < padding; i++ {
    							arr := splitFilled[k-1]
    							arr[len(arr)-i-1] = 1
    						}
    
    						hasParity := 0
    						parityOK := make([]bool, m.shards)
    						for idx, sh := range v {
    							splitData[idx] = sh
    							if idx >= k && len(sh) > 0 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 05 11:57:44 UTC 2024
    - 40.3K bytes
    - Viewed (0)
  7. src/archive/zip/reader_test.go

    			path = tf
    		}
    		var rc *ReadCloser
    		rc, err = OpenReader(path)
    		if err == nil {
    			defer rc.Close()
    			z = &rc.Reader
    		}
    		var err2 error
    		raw, err2 = os.ReadFile(path)
    		if err2 != nil {
    			t.Errorf("ReadFile(%s) error=%v", path, err2)
    			return
    		}
    	}
    	if err != zt.Error {
    		t.Errorf("error=%v, want %v", err, zt.Error)
    		return
    	}
    
    	// bail if file is not zip
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jul 25 00:25:45 UTC 2024
    - 55.6K bytes
    - Viewed (0)
  8. src/cmd/cgo/doc.go

    	//export MyFunction
    	func MyFunction(arg1, arg2 int, arg3 string) int64 {...}
    
    	//export MyFunction2
    	func MyFunction2(arg1, arg2 int, arg3 string) (int64, *C.char) {...}
    
    They will be available in the C code as:
    
    	extern GoInt64 MyFunction(int arg1, int arg2, GoString arg3);
    	extern struct MyFunction2_return MyFunction2(int arg1, int arg2, GoString arg3);
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Oct 01 22:52:54 UTC 2024
    - 44K bytes
    - Viewed (0)
  9. cmd/bucket-replication-utils.go

    	ReplicationStatusInternal string                 // stringified representation of all replication activity
    	// VersionPurgeStatusInternal is internally in the format "arn1=PENDING;arn2=COMPLETED;"
    	VersionPurgeStatusInternal string                            // stringified representation of all version purge statuses
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  10. cmd/iam-store.go

    func (d *PolicyDoc) parseJSON(data []byte) error {
    	json := jsoniter.ConfigCompatibleWithStandardLibrary
    	var doc PolicyDoc
    	err := json.Unmarshal(data, &doc)
    	if err != nil {
    		err2 := json.Unmarshal(data, &doc.Policy)
    		if err2 != nil {
    			// Just return the first error.
    			return err
    		}
    		d.Policy = doc.Policy
    		return nil
    	}
    	*d = doc
    	return nil
    }
    
    // key options
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Oct 14 16:35:37 UTC 2024
    - 83.2K bytes
    - Viewed (0)
Back to top