Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for nb (0.14 sec)

  1. src/main/java/org/codelibs/core/text/Tokenizer.java

            if ((peekct & CT_ALPHA) != 0) {
                int i = 0;
                do {
                    if (i >= buf.length) {
                        final char[] nb = new char[buf.length * 2];
                        System.arraycopy(buf, 0, nb, 0, buf.length);
                        buf = nb;
                    }
                    buf[i++] = (char) peekc;
                    peekc = read();
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  2. src/archive/tar/reader.go

    // special headers that contain no data section.
    func (tr *Reader) handleRegularFile(hdr *Header) error {
    	nb := hdr.Size
    	if isHeaderOnlyType(hdr.Typeflag) {
    		nb = 0
    	}
    	if nb < 0 {
    		return ErrHeader
    	}
    
    	tr.pad = blockPadding(nb)
    	tr.curr = &regFileReader{r: tr.r, nb: nb}
    	return nil
    }
    
    // handleSparseFile checks if the current file is a sparse format of any type
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 08 01:59:14 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/lang/StringUtilTest.java

            assertEquals("4", "a234a", StringUtil.replace("12341", "1", "a"));
            assertEquals("5", "ab234abab234ab", StringUtil.replace("1234112341", "1", "ab"));
            assertEquals("6", "a\\nb", StringUtil.replace("a\nb", "\n", "\\n"));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testSplit() throws Exception {
            final String[] array = StringUtil.split("aaa\nbbb", "\n");
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 12K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/BiMapPutTester.java

        assertTrue(getMap().inverse().containsKey(null));
        assertNull(getMap().get(k1()));
        assertEquals(k1(), getMap().inverse().get(null));
        assertEquals(1, getMap().size());
      }
    
      // nb: inverse is run through its own entire suite
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(ZERO)
      public void testInversePut() {
        getMap().put(k0(), v0());
        getMap().inverse().put(v1(), k1());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/google/BiMapPutTester.java

        assertTrue(getMap().inverse().containsKey(null));
        assertNull(getMap().get(k1()));
        assertEquals(k1(), getMap().inverse().get(null));
        assertEquals(1, getMap().size());
      }
    
      // nb: inverse is run through its own entire suite
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(ZERO)
      public void testInversePut() {
        getMap().put(k0(), v0());
        getMap().inverse().put(v1(), k1());
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  6. src/bytes/bytes.go

    		chunkMax = chunkLimit / len(b) * len(b)
    		if chunkMax == 0 {
    			chunkMax = len(b)
    		}
    	}
    	nb := bytealg.MakeNoZero(n)[:n:n]
    	bp := copy(nb, b)
    	for bp < n {
    		chunk := bp
    		if chunk > chunkMax {
    			chunk = chunkMax
    		}
    		bp += copy(nb[bp:], nb[:chunk])
    	}
    	return nb
    }
    
    // ToUpper returns a copy of the byte slice s with all Unicode letters mapped to
    // their upper case.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.8K bytes
    - Viewed (0)
  7. cmd/admin-handlers-pools.go

    	ctx := r.Context()
    
    	objectAPI, _ := validateAdminReq(ctx, w, r, policy.RebalanceAdminAction)
    	if objectAPI == nil {
    		return
    	}
    
    	// NB rebalance-start admin API is always coordinated from first pool's
    	// first node. The following is required to serialize (the effects of)
    	// concurrent rebalance-start commands.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 10.9K bytes
    - Viewed (0)
  8. cmd/erasure-metadata-utils.go

    			dataDir = ddir
    		}
    	}
    
    	if max >= writeQuorum {
    		return dataDir
    	}
    
    	return ""
    }
    
    // Returns number of errors that occurred the most (incl. nil) and the
    // corresponding error value. NB When there is more than one error value that
    // occurs maximum number of times, the error value returned depends on how
    // golang's map orders keys. This doesn't affect correctness as long as quorum
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  9. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/evaluate/FirCompileTimeConstantEvaluator.kt

            function: FirSimpleFunction,
            other: FirLiteralExpression<*>
        ): FirLiteralExpression<*>? {
            if (value == null || other.value == null) return null
            // NB: some utils accept very general types, and due to the way operation map works, we should up-cast rhs type.
            val rightType = when {
                function.symbol.callableId.isStringEquals -> CompileTimeType.ANY
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Wed Mar 20 14:53:27 GMT 2024
    - 16.5K bytes
    - Viewed (0)
  10. internal/bucket/lifecycle/lifecycle.go

    func (lc Lifecycle) eval(obj ObjectOpts, now time.Time) Event {
    	var events []Event
    	if obj.ModTime.IsZero() {
    		return Event{}
    	}
    
    	// Handle expiry of restored object; NB Restored Objects have expiry set on
    	// them as part of RestoreObject API. They aren't governed by lifecycle
    	// rules.
    	if !obj.RestoreExpires.IsZero() && now.After(obj.RestoreExpires) {
    		action := DeleteRestoredAction
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Mar 09 06:41:22 GMT 2024
    - 17K bytes
    - Viewed (0)
Back to top