Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 132 for bit_count (0.33 sec)

  1. pilot/pkg/networking/util/util_test.go

    		out string
    	}{
    		{1, "1B"},
    		{1000, "1.0kB"},
    		{1_000_000, "1.0MB"},
    		{1_500_000, "1.5MB"},
    	}
    	for _, tt := range cases {
    		t.Run(fmt.Sprint(tt.in), func(t *testing.T) {
    			if got := ByteCount(tt.in); got != tt.out {
    				t.Fatalf("got %v wanted %v", got, tt.out)
    			}
    		})
    	}
    }
    
    func TestIPv6Compliant(t *testing.T) {
    	tests := []struct {
    		host  string
    		match string
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 01:17:58 UTC 2024
    - 40K bytes
    - Viewed (0)
  2. src/encoding/gob/doc.go

    the initial type name, interface values are wrapped the same way; in effect, the
    interface value acts like a recursive invocation of Encode.
    
    In summary, a gob stream looks like
    
    	(byteCount (-type id, encoding of a wireType)* (type id, encoding of a value))*
    
    where * signifies zero or more repetitions and the type id of a value must
    be predefined or be defined before the value in the stream.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.cc

            loc, TypeRange({scalar_dim_ty, scalar_dim_ty}), out_size);
    
        auto out_y = split_out_size.getResult(0);
        auto out_x = split_out_size.getResult(1);
    
        auto out_count = rewriter.create<MulOp>(
            loc, tensorflow::GetTypeFromTFTensorShape({}, out_size_element_ty),
            out_y, out_x);
    
        // Generate what the final output shape will look like.
        auto out_shape = rewriter.create<PackOp>(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 74.9K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

                    var bytesWritten: Long = 0
                    while (bytesWritten < contentLength) {
                      val byteCount = Math.min(buffer.size.toLong(), contentLength - bytesWritten).toInt()
                      bytesWritten += byteCount.toLong()
                      sink.write(buffer, 0, byteCount)
                    }
                  }
                },
            ),
          )
        assertContent("", response)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 131.7K bytes
    - Viewed (0)
  5. okhttp/api/okhttp.api

    public final class okhttp3/Headers : java/lang/Iterable, kotlin/jvm/internal/markers/KMappedMarker {
    	public static final field Companion Lokhttp3/Headers$Companion;
    	public final fun -deprecated_size ()I
    	public final fun byteCount ()J
    	public fun equals (Ljava/lang/Object;)Z
    	public final fun get (Ljava/lang/String;)Ljava/lang/String;
    	public final fun getDate (Ljava/lang/String;)Ljava/util/Date;
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 15 13:41:01 UTC 2024
    - 70.2K bytes
    - Viewed (0)
  6. src/internal/trace/traceviewer/static/trace_viewer_full.html

    .extra_base,c=e.stat_desc.max_length,b=0;for(r=0;r<=K;r++)t.bl_count[r]=0;for(l[2*t.heap[t.heap_max]+1]=0,a=t.heap_max+1;a<j;a++)(r=l[2*l[2*(i=t.heap[a])+1]+1]+1)>c&&(r=c,b++),l[2*i+1]=r,i>h||(t.bl_count[r]++,s=0,i>=u&&(s=_[i-u]),o=l[2*i],t.opt_len+=o*(r+s),f&&(t.static_len+=o*(d[2*i+1]+s)));if(0!==b){do{for(r=c-1;0===t.bl_count[r];)r--;t.bl_count[r]--,t.bl_count[r+1]+=2,t.bl_count[c]--,b-=2}while(b>0);for(r=c;0!==r;r--)for(i=t.bl_count[r];0!==i;)(n=t.heap[--a])>h||(l[2*n+1]!==r&&(t.opt_len+=(r-...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 20:45:06 UTC 2023
    - 2.5M bytes
    - Viewed (1)
  7. android/guava/src/com/google/common/collect/Sets.java

              }
              remainingSetBits &= ~(1 << index);
              return elements.get(index);
            }
          };
        }
    
        @Override
        public int size() {
          return Integer.bitCount(mask);
        }
    
        @Override
        public boolean contains(@CheckForNull Object o) {
          Integer index = inputSet.get(o);
          return index != null && (mask & (1 << index)) != 0;
        }
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 77.3K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Sets.java

              }
              remainingSetBits &= ~(1 << index);
              return elements.get(index);
            }
          };
        }
    
        @Override
        public int size() {
          return Integer.bitCount(mask);
        }
    
        @Override
        public boolean contains(@CheckForNull Object o) {
          Integer index = inputSet.get(o);
          return index != null && (mask & (1 << index)) != 0;
        }
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/mark_for_compilation_pass.cc

    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 12:19:41 UTC 2024
    - 85.3K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/CallTest.kt

        val cancelClient =
          client.newBuilder()
            .eventListener(
              object : EventListener() {
                override fun responseBodyEnd(
                  call: Call,
                  byteCount: Long,
                ) {
                  call.cancel()
                }
              },
            )
            .build()
        val call = cancelClient.newCall(Request(server.url("/")))
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 142.5K bytes
    - Viewed (0)
Back to top