Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 282 for Alimin (0.16 sec)

  1. android/guava-tests/test/com/google/common/base/SplitterTest.java

        String simple = "abcd";
        Iterable<String> letters = Splitter.fixedLength(1).limit(100).split(simple);
        assertThat(letters).containsExactly("a", "b", "c", "d").inOrder();
      }
    
      public void testLimitOne() {
        String simple = "abcd";
        Iterable<String> letters = Splitter.fixedLength(1).limit(1).split(simple);
        assertThat(letters).containsExactly("abcd").inOrder();
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 29.5K bytes
    - Viewed (0)
  2. cmd/handler-api.go

    const (
    	cgroupV1MemLimitFile = "/sys/fs/cgroup/memory/memory.limit_in_bytes"
    	cgroupV2MemLimitFile = "/sys/fs/cgroup/memory.max"
    	cgroupMemNoLimit     = 9223372036854771712
    )
    
    func cgroupMemLimit() (limit uint64) {
    	buf, err := os.ReadFile(cgroupV2MemLimitFile)
    	if err != nil {
    		buf, err = os.ReadFile(cgroupV1MemLimitFile)
    	}
    	if err != nil {
    		return 0
    	}
    	limit, err = strconv.ParseUint(strings.TrimSpace(string(buf)), 10, 64)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 10K bytes
    - Viewed (0)
  3. common-protos/k8s.io/api/flowcontrol/v1beta3/generated.proto

      // `borrowingLimitPercent`, if present, configures a limit on how many
      // seats this priority level can borrow from other priority levels.
      // The limit is known as this level's BorrowingConcurrencyLimit
      // (BorrowingCL) and is a limit on the total number of seats that this
      // level may borrow at any one time.
      // This field holds the ratio of that limit to the level's nominal
      // concurrency limit. When this field is non-nil, it must hold a
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/Splitter.java

      private final int limit;
    
      private Splitter(Strategy strategy) {
        this(strategy, false, CharMatcher.none(), Integer.MAX_VALUE);
      }
    
      private Splitter(Strategy strategy, boolean omitEmptyStrings, CharMatcher trimmer, int limit) {
        this.strategy = strategy;
        this.omitEmptyStrings = omitEmptyStrings;
        this.trimmer = trimmer;
        this.limit = limit;
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 23.7K bytes
    - Viewed (0)
  5. cmd/metacache-set.go

    	// used when o.Versioned is false
    	if !o.Versioned {
    		resolver.requestedVersions = 1
    	}
    	var limit int
    	if o.Limit > 0 && o.StopDiskAtLimit {
    		// Over-read by 4 + 1 for every 16 in limit to give some space for resolver,
    		// allow for truncating the list and know if we have more results.
    		limit = o.Limit + 4 + (o.Limit / 16)
    	}
    	ctxDone := ctx.Done()
    	return listPathRaw(ctx, listPathRawOptions{
    		disks:         disks,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:59:08 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  6. chainable_api.go

    				}},
    			})
    		}
    	}
    	return
    }
    
    // Limit specify the number of records to be retrieved
    //
    // Limit conditions can be cancelled by using `Limit(-1)`.
    //
    //	// retrieve 3 users
    //	db.Limit(3).Find(&users)
    //	// retrieve 3 users into users1, and all users into users2
    //	db.Limit(3).Find(&users1).Limit(-1).Find(&users2)
    func (db *DB) Limit(limit int) (tx *DB) {
    	tx = db.getInstance()
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Wed Apr 17 03:38:55 GMT 2024
    - 14.3K bytes
    - Viewed (1)
  7. cmd/metacache-walk.go

    	// Should never contain a slash.
    	FilterPrefix string
    
    	// ForwardTo will forward to the given object path.
    	ForwardTo string
    
    	// Limit the number of returned objects if > 0.
    	Limit int
    
    	// DiskID contains the disk ID of the disk.
    	// Leave empty to not check disk ID.
    	DiskID string
    }
    
    // supported FS for Nlink optimization in readdir.
    const (
    	xfs  = "XFS"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/graph/TraverserTest.java

        Iterable<Character> result = Traverser.forGraph(graph).breadthFirst('a');
    
        assertEqualCharNodes(Iterables.limit(result, 2), "ab");
        assertThat(graph.requestedNodes).containsExactly('a', 'a', 'b');
    
        // Iterate again to see if calculation is done again
        assertEqualCharNodes(Iterables.limit(result, 2), "ab");
        assertThat(graph.requestedNodes).containsExactly('a', 'a', 'a', 'b', 'b');
      }
    
      @Test
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 47.5K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/-HostnamesCommon.kt

    internal fun decodeIpv6(
      input: String,
      pos: Int,
      limit: Int,
    ): ByteArray? {
      val address = ByteArray(16)
      var b = 0
      var compress = -1
      var groupOffset = -1
    
      var i = pos
      while (i < limit) {
        if (b == address.size) return null // Too many groups.
    
        // Read a delimiter.
        if (i + 2 <= limit && input.startsWith("::", startIndex = i)) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.2K bytes
    - Viewed (0)
  10. common-protos/k8s.io/api/flowcontrol/v1beta2/generated.proto

      // `borrowingLimitPercent`, if present, configures a limit on how many
      // seats this priority level can borrow from other priority levels.
      // The limit is known as this level's BorrowingConcurrencyLimit
      // (BorrowingCL) and is a limit on the total number of seats that this
      // level may borrow at any one time.
      // This field holds the ratio of that limit to the level's nominal
      // concurrency limit. When this field is non-nil, it must hold a
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 19.4K bytes
    - Viewed (0)
Back to top