Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1711 - 1720 of 3,633 for typs (0.03 sec)

  1. internal/grid/debug.go

    import (
    	"context"
    	"fmt"
    	"net"
    	"net/http"
    	"net/http/httptest"
    	"sync"
    	"time"
    
    	"github.com/minio/mux"
    )
    
    //go:generate stringer -type=debugMsg $GOFILE
    
    // debugMsg is a debug message for testing purposes.
    // may only be used for tests.
    type debugMsg int
    
    const (
    	debugPrint = false
    	debugReqs  = false
    )
    
    const (
    	debugShutdown debugMsg = iota
    	debugKillInbound
    	debugKillOutbound
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/-RequestCommon.kt

          }
        }
        this.method = method
        this.body = body
      }
    
    fun <T : Any> Request.Builder.commonTag(
      type: KClass<T>,
      tag: T?,
    ) = apply {
      if (tag == null) {
        if (tags.isNotEmpty()) {
          (tags as MutableMap).remove(type)
        }
      } else {
        val mutableTags: MutableMap<KClass<*>, Any> =
          when {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  3. manifests/addons/dashboards/lib/lib-grid.libsonnet

        ],
      ),
      makeGrid(panels, panelHeight=8, startY=0):
        local sanitizePanels(ps, row) = std.map(
          function(p)
            local sanePanel = panelUtil.sanitizePanel(p);
            (
              if p.type == 'row'
              then sanePanel + {
                panels: sanitizePanels(sanePanel.panels, std.length(sanePanel.panels)),
              }
              else sanePanel + {
                gridPos+: {
                  h: panelHeight,
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Jun 04 18:05:06 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/graph/UndirectedMultiNetworkConnections.java

    import javax.annotation.CheckForNull;
    
    /**
     * An implementation of {@link NetworkConnections} for undirected networks with parallel edges.
     *
     * @author James Sexton
     * @param <N> Node parameter type
     * @param <E> Edge parameter type
     */
    @ElementTypesAreNonnullByDefault
    final class UndirectedMultiNetworkConnections<N, E>
        extends AbstractUndirectedNetworkConnections<N, E> {
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 06 00:47:57 UTC 2021
    - 3.7K bytes
    - Viewed (0)
  5. cmd/bitrot-whole.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"context"
    	"hash"
    	"io"
    )
    
    // Implementation to calculate bitrot for the whole file.
    type wholeBitrotWriter struct {
    	disk      StorageAPI
    	volume    string
    	filePath  string
    	shardSize int64 // This is the shard size of the erasure logic
    	hash.Hash       // For bitrot hash
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jan 31 02:11:45 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  6. internal/lock/lock.go

    // RLockedFile represents a read locked file, implements a special
    // closer which only closes the associated *os.File when the ref count.
    // has reached zero, i.e when all the readers have given up their locks.
    type RLockedFile struct {
    	*LockedFile
    	mutex sync.Mutex
    	refs  int // Holds read lock refs.
    }
    
    // IsClosed - Check if the rlocked file is already closed.
    func (r *RLockedFile) IsClosed() bool {
    	r.mutex.Lock()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  7. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt

          derWriter.writeOctetString("Jones".encodeUtf8())
        }
    
        assertThat(buffer.readByteString()).isEqualTo("1A054A6F6E6573".decodeHex())
      }
    
      @Test fun `decode implicit prefixed type`() {
        // Type1 ::= VisibleString
        // Type2 ::= [APPLICATION 3] IMPLICIT Type1
        val buffer =
          Buffer()
            .write("43054A6F6E6573".decodeHex())
    
        val derReader = DerReader(buffer)
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  8. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/AnyValue.kt

     * limitations under the License.
     */
    package okhttp3.tls.internal.der
    
    import okio.ByteString
    
    /**
     * A value whose type is not specified statically. Use this with [Adapters.any] which will attempt
     * to resolve a concrete type.
     */
    internal data class AnyValue(
      var tagClass: Int,
      var tag: Long,
      var constructed: Boolean = false,
      var length: Long = -1L,
      val bytes: ByteString,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  9. tests/test_starlette_urlconvertors.py

        assert app.url_path_for("int_convertor", param=5) == "/int/5"  # type: ignore
    
    
    def test_route_converters_float():
        # Test float conversion
        response = client.get("/float/25.5")
        assert response.status_code == 200, response.text
        assert response.json() == {"float": 25.5}
        assert app.url_path_for("float_convertor", param=25.5) == "/float/25.5"  # type: ignore
    
    
    def test_route_converters_path():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Nov 27 14:46:06 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionToArrayTester.java

       * identical in function to {@code toArray()}."
       *
       * <p>For maximum effect, the collection under test should be created from an element array of a
       * type other than {@code Object[]}.
       */
      public void testToArray_isPlainObjectArray() {
        Object[] array = collection.toArray();
        assertEquals(Object[].class, array.getClass());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.1K bytes
    - Viewed (0)
Back to top