Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 5,950 for i$ (0.08 sec)

  1. src/cmd/compile/internal/ssa/memcombine.go

    	shift0 := r[0].shift
    	isLittleEndian := true
    	for i := int64(0); i < n; i++ {
    		if r[i].shift != shift0+i*size*8 {
    			isLittleEndian = false
    			break
    		}
    	}
    	isBigEndian := true
    	for i := int64(0); i < n; i++ {
    		if r[i].shift != shift0-i*size*8 {
    			isBigEndian = false
    			break
    		}
    	}
    	if !isLittleEndian && !isBigEndian {
    		return false
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 19:45:41 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_layout_helper.cc

    namespace mlir {
    namespace TF {
    
    SmallVector<int64_t, 4> ReversePermutation(ArrayRef<int64_t> permutation) {
      SmallVector<int64_t, 4> reverse(permutation.size());
      for (size_t i = 0; i < permutation.size(); ++i) {
        reverse[permutation[i]] = i;
      }
      return reverse;
    }
    
    SmallVector<int64_t, 4> GetDataFormatPermutation(StringRef from, StringRef to) {
      if (from == "NHWC" && to == "NCHW") {
        return {0, 3, 1, 2};
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/misc/Base64Util.java

        private static final byte[] DECODE_TABLE = new byte[128];
        static {
            for (int i = 0; i < DECODE_TABLE.length; i++) {
                DECODE_TABLE[i] = Byte.MAX_VALUE;
            }
            for (int i = 0; i < ENCODE_TABLE.length; i++) {
                DECODE_TABLE[ENCODE_TABLE[i]] = (byte) i;
            }
        }
    
        /**
         * Base64でエンコードします。
         *
         * @param inData
         *            エンコードするデータ
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/-HeadersCommon.kt

      for (i in namesAndValues.indices) {
        require(namesAndValues[i] != null) { "Headers cannot be null" }
        namesAndValues[i] = inputNamesAndValues[i].trim()
      }
    
      // Check for malformed headers.
      for (i in namesAndValues.indices step 2) {
        val name = namesAndValues[i]
        val value = namesAndValues[i + 1]
        headersCheckName(name)
        headersCheckValue(value, name)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  5. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/DecoderExtensions.java

            readShorts(decoder, array);
            return array;
        }
    
        public static void readShorts(Decoder decoder, short[] array) throws IOException {
            for (int i = 0; i < array.length; i++) {
                array[i] = decoder.readShort();
            }
        }
    
        public static int[] readLengthPrefixedInts(Decoder decoder) throws IOException {
            int length = decoder.readInt();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  6. src/unicode/utf16/utf16_test.go

    	for i := 0; i < b.N; i++ {
    		Decode(data)
    	}
    }
    
    func BenchmarkDecodeRune(b *testing.B) {
    	rs := make([]rune, 10)
    	// U+1D4D0 to U+1D4D4: MATHEMATICAL BOLD SCRIPT CAPITAL LETTERS
    	for i, u := range []rune{'𝓐', '𝓑', '𝓒', '𝓓', '𝓔'} {
    		rs[2*i], rs[2*i+1] = EncodeRune(u)
    	}
    
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		for j := 0; j < 5; j++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 19:08:48 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/core/v1/generated.pb.go

    			i--
    			dAtA[i] = 0x2a
    		}
    	}
    	i -= len(m.FSType)
    	copy(dAtA[i:], m.FSType)
    	i = encodeVarintGenerated(dAtA, i, uint64(len(m.FSType)))
    	i--
    	dAtA[i] = 0x22
    	i--
    	if m.ReadOnly {
    		dAtA[i] = 1
    	} else {
    		dAtA[i] = 0
    	}
    	i--
    	dAtA[i] = 0x18
    	i -= len(m.VolumeHandle)
    	copy(dAtA[i:], m.VolumeHandle)
    	i = encodeVarintGenerated(dAtA, i, uint64(len(m.VolumeHandle)))
    	i--
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 1.8M bytes
    - Viewed (0)
  8. src/runtime/rwmutex_test.go

    	var cunlock atomic.Bool
    	cdone := make(chan bool)
    	for i := 0; i < numReaders; i++ {
    		go parallelReader(&m, clocked, &cunlock, cdone)
    	}
    	// Wait for all parallel RLock()s to succeed.
    	for i := 0; i < numReaders; i++ {
    		<-clocked
    	}
    	cunlock.Store(true)
    	// Wait for the goroutines to finish.
    	for i := 0; i < numReaders; i++ {
    		<-cdone
    	}
    }
    
    func TestParallelRWMutexReaders(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 15 22:00:45 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  9. src/maps/iter_test.go

    	"testing"
    )
    
    func TestAll(t *testing.T) {
    	for size := 0; size < 10; size++ {
    		m := make(map[int]int)
    		for i := range size {
    			m[i] = i
    		}
    		cnt := 0
    		for i, v := range All(m) {
    			v1, ok := m[i]
    			if !ok || v != v1 {
    				t.Errorf("at iteration %d got %d, %d want %d, %d", cnt, i, v, i, v1)
    			}
    			cnt++
    		}
    		if cnt != size {
    			t.Errorf("read %d values expected %d", cnt, size)
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:44:19 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  10. tensorflow/cc/ops/while_loop.cc

      for (size_t i = 0; i < num_loop_vars; ++i) {
        enter_outputs[i] = internal::Enter(scope, inputs[i], frame_name);
      }
      TF_RETURN_IF_ERROR(scope.status());
    
      std::vector<Output> merge_outputs(num_loop_vars);
      for (size_t i = 0; i < num_loop_vars; ++i) {
        TF_RETURN_IF_ERROR(
            CreateMerge(scope, i, enter_outputs[i], &merge_outputs[i]));
      }
    
      Output cond_out;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 26 01:01:21 UTC 2024
    - 9.5K bytes
    - Viewed (0)
Back to top