Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 290 of 403 for listFn (0.11 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

          List<String> list = Lists.newArrayList(elements);
          list.add("zzz");
          return ImmutableSortedSet.copyOf(list).headSet("zzy");
        }
      }
    
      public static class ImmutableSortedSetTailsetGenerator extends TestStringSortedSetGenerator {
        @Override
        protected SortedSet<String> create(String[] elements) {
          List<String> list = Lists.newArrayList(elements);
          list.add("\0");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  2. docs/fr/docs/python-types.md

    Pour déclarer ces types et les types internes, on utilise le module standard de Python `typing`.
    
    Il existe spécialement pour supporter ces annotations de types.
    
    #### `List`
    
    Par exemple, définissons une variable comme `list` de `str`.
    
    Importez `List` (avec un `L` majuscule) depuis `typing`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 15:21:34 UTC 2024
    - 10K bytes
    - Viewed (0)
  3. src/archive/zip/writer_test.go

    		{Name: "subfolder/another.go", Data: []byte("world"), Mode: 0644},
    		// Notably missing here is the "subfolder" directory. This makes sure even
    		// if we don't have a subfolder directory listed.
    	}
    	err := w.AddFS(writeTestsToFS(tests))
    	if err != nil {
    		t.Fatal(err)
    	}
    	if err := w.Close(); err != nil {
    		t.Fatal(err)
    	}
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Sep 23 14:32:33 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  4. cmd/bucket-listobjects-handlers.go

    	)
    
    	if r.Header.Get(xMinIOExtract) == "true" && strings.Contains(prefix, archivePattern) {
    		// Initiate a list objects operation inside a zip file based in the input params
    		listObjectsV2Info, err = listObjectsV2InArchive(ctx, objectAPI, bucket, prefix, token, delimiter, maxKeys, startAfter, r.Header)
    	} else {
    		// Initiate a list objects operation based on the input params.
    		// On success would return back ListObjectsInfo object to be
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  5. cni/pkg/nodeagent/podcgroupns.go

    	if fdable, ok := f.(interface{ Fd() uintptr }); ok {
    		return fdable.Fd(), nil
    	}
    
    	return 0, fmt.Errorf("unable to get fd")
    }
    
    /// mostly copy pasted from spire below:
    
    // regexes listed here have to exclusively match a cgroup path
    // the regexes must include two named groups "poduid" and "containerid"
    // if the regex needs to exclude certain substrings, the "mustnotmatch" group can be used
    // nolint: lll
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Apr 12 21:47:31 UTC 2024
    - 11K bytes
    - Viewed (0)
  6. internal/grid/muxclient.go

    		ticker := time.NewTicker(m.clientPingInterval)
    		defer ticker.Stop()
    		pingTimer = ticker.C
    		atomic.StoreInt64(&m.LastPong, time.Now().UnixNano())
    	}
    
    	// Listen for client messages.
    reqLoop:
    	for !errState {
    		select {
    		case <-m.ctx.Done():
    			if debugPrint {
    				fmt.Println("Client sending disconnect to mux", m.MuxID)
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  7. cmd/erasure-server-pool-rebalance.go

    				},
    			)
    			if err == nil || errors.Is(err, context.Canceled) {
    				return
    			}
    			setN := humanize.Ordinal(setIdx + 1)
    			rebalanceLogIf(ctx, fmt.Errorf("listing objects from %s set failed with %v", setN, err), "rebalance-listing-failed"+setN)
    		}(setIdx)
    	}
    
    	wk.Wait()
    	return nil
    }
    
    type rebalSaveOpts uint8
    
    const (
    	rebalSaveStats rebalSaveOpts = iota
    	rebalSaveStoppedAt
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 13:20:19 UTC 2024
    - 28.4K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

          List<String> list = Lists.newArrayList(elements);
          list.add("zzz");
          return ImmutableSortedSet.copyOf(list).headSet("zzy");
        }
      }
    
      public static class ImmutableSortedSetTailsetGenerator extends TestStringSortedSetGenerator {
        @Override
        protected SortedSet<String> create(String[] elements) {
          List<String> list = Lists.newArrayList(elements);
          list.add("\0");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  9. cmd/erasure-multipart.go

    			}
    			wait()
    			return nil
    		})
    	})
    }
    
    // ListMultipartUploads - lists all the pending multipart
    // uploads for a particular object in a bucket.
    //
    // Implements minimal S3 compatible ListMultipartUploads API. We do
    // not support prefix based listing, this is a deliberate attempt
    // towards simplification of multipart APIs.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 44.7K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/DuplexTest.kt

       */
      private fun enableProtocol(protocol: Protocol) {
        enableTls()
        client =
          client.newBuilder()
            .protocols(listOf(protocol, Protocol.HTTP_1_1))
            .build()
        server.protocols = client.protocols
      }
    
      private fun enableTls() {
        client =
          client.newBuilder()
            .sslSocketFactory(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 23.9K bytes
    - Viewed (0)
Back to top