Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 120 for foo$index (0.22 sec)

  1. platforms/native/language-native/src/integTest/groovy/org/gradle/language/fixtures/app/DuplicateObjectiveCBaseNamesTestApp.groovy

            ]
        }
    
        SourceFile fooSource(int index) {
            sourceFile("objc/foo$index", "foo.m", """
                #import <Foundation/Foundation.h>
                #import "foo.h"
    
                void sayFoo$index()
                {
                    NSFileHandle *stdout = [NSFileHandle fileHandleWithStandardOutput];
                    NSData *strData = [@"foo$index" dataUsingEncoding: NSASCIIStringEncoding];
                    [stdout writeData: strData];
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  2. pkg/scheduler/internal/heap/heap_test.go

    		t.Fatalf("expected %d, got %d", e, a)
    	}
    	// Update bar to push it farther back in the queue.
    	h.Update(mkHeapObj("bar", 100))
    	if h.data.queue[0] != "foo" || h.data.items["foo"].index != 0 {
    		t.Fatalf("expected foo to be at the head")
    	}
    }
    
    // TestHeap_Get tests Heap.Get.
    func TestHeap_Get(t *testing.T) {
    	h := New(testHeapObjectKeyFunc, compareInts)
    	h.Add(mkHeapObj("foo", 10))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 05 02:24:38 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/verification/DependencyVerificationSignatureWriteIntegTest.groovy

            }
    
            given:
            javaLibrary()
            def dependencies = new StringBuilder()
            keyrings.eachWithIndex { keyring, index ->
                uncheckedModule("org", "foo-$index", "1.0") {
                    withSignature {
                        keyring.sign(it, [(SigningFixtures.validSecretKey): SigningFixtures.validPassword])
                    }
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 07:31:22 UTC 2024
    - 29.5K bytes
    - Viewed (0)
  4. src/mdo/java/ImmutableCollections.java

            }
    
            @Override
            public List<E> subList(int fromIndex, int toIndex) {
                if (fromIndex < 0) {
                    throw new IndexOutOfBoundsException("fromIndex = " + fromIndex);
                }
                if (toIndex > size()) {
                    throw new IndexOutOfBoundsException("toIndex = " + toIndex);
                }
                if (fromIndex > toIndex) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Jan 22 17:27:48 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/primitives/Ints.java

       * Sorts the elements of {@code array} between {@code fromIndex} inclusive and {@code toIndex}
       * exclusive in descending order.
       *
       * @since 23.1
       */
      public static void sortDescending(int[] array, int fromIndex, int toIndex) {
        checkNotNull(array);
        checkPositionIndexes(fromIndex, toIndex, array.length);
        Arrays.sort(array, fromIndex, toIndex);
        reverse(array, fromIndex, toIndex);
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 29.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/SingletonImmutableList.java

      }
    
      @Override
      public int size() {
        return 1;
      }
    
      @Override
      public ImmutableList<E> subList(int fromIndex, int toIndex) {
        Preconditions.checkPositionIndexes(fromIndex, toIndex, 1);
        return (fromIndex == toIndex) ? ImmutableList.<E>of() : this;
      }
    
      @Override
      public String toString() {
        return '[' + element.toString() + ']';
      }
    
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  7. guava/src/com/google/common/primitives/UnsignedBytes.java

      }
    
      /**
       * Sorts the array between {@code fromIndex} inclusive and {@code toIndex} exclusive, treating its
       * elements as unsigned bytes.
       *
       * @since 23.1
       */
      public static void sort(byte[] array, int fromIndex, int toIndex) {
        checkNotNull(array);
        checkPositionIndexes(fromIndex, toIndex, array.length);
        for (int i = fromIndex; i < toIndex; i++) {
          array[i] = flip(array[i]);
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  8. guava/src/com/google/common/primitives/Bytes.java

          return oldValue;
        }
    
        @Override
        public List<Byte> subList(int fromIndex, int toIndex) {
          int size = size();
          checkPositionIndexes(fromIndex, toIndex, size);
          if (fromIndex == toIndex) {
            return Collections.emptyList();
          }
          return new ByteArrayAsList(array, start + fromIndex, start + toIndex);
        }
    
        @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/primitives/Bytes.java

          return oldValue;
        }
    
        @Override
        public List<Byte> subList(int fromIndex, int toIndex) {
          int size = size();
          checkPositionIndexes(fromIndex, toIndex, size);
          if (fromIndex == toIndex) {
            return Collections.emptyList();
          }
          return new ByteArrayAsList(array, start + fromIndex, start + toIndex);
        }
    
        @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  10. cmd/notification-summary.go

    	for _, disk := range diskInfo {
    		// Ignore invalid.
    		if disk.PoolIndex < 0 || len(s.Backend.StandardSCData) <= disk.PoolIndex {
    			// https://github.com/minio/minio/issues/16500
    			continue
    		}
    		// Ignore parity disks
    		if disk.DiskIndex < s.Backend.StandardSCData[disk.PoolIndex] {
    			capacity += disk.TotalSpace
    		}
    	}
    	return
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 20 00:53:08 UTC 2023
    - 2.2K bytes
    - Viewed (0)
Back to top