Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 275 for encodedCh (0.07 seconds)

  1. cmd/admin-handlers.go

    				case <-ctx.Done():
    					return
    				case encodedCh <- append(grid.GetByteBuffer()[:0], buf.Bytes()...):
    				}
    			}
    		}
    	}()
    
    	// Collect from matching peers
    	for _, peer := range peers {
    		if peer == nil {
    			continue
    		}
    		if node == "" || strings.EqualFold(peer.host.Name, node) {
    			peer.ConsoleLog(ctx, logKind, encodedCh)
    		}
    	}
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 99.7K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/fscc/FsctlPipeWaitRequestTest.java

            byte[] buffer3 = new byte[100];
    
            int encoded1 = request.encode(buffer1, 0);
            int encoded2 = request.encode(buffer2, 0);
            int encoded3 = request.encode(buffer3, 0);
    
            // All should produce same result
            assertEquals(encoded1, encoded2);
            assertEquals(encoded2, encoded3);
    
            // Compare actual bytes (up to encoded length)
            for (int i = 0; i < encoded1; i++) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.1K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/storage/StorageItem.java

                final String encodedId) {
            this.name = name;
            this.path = path;
            this.directory = directory;
            this.size = size;
            this.lastModified = lastModified;
            this.encodedId = encodedId;
        }
    
        /**
         * Returns the name of the item.
         *
         * @return the item name
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 13 02:21:17 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/io/BaseEncodingTest.java

        assertThat(encoding.encode(decoded.getBytes(UTF_8), offset, len)).isEqualTo(encoded);
      }
    
      private static void testDecodes(BaseEncoding encoding, String encoded, String decoded) {
        assertThat(encoding.canDecode(encoded)).isTrue();
        assertThat(encoding.decode(encoded)).isEqualTo(decoded.getBytes(UTF_8));
      }
    
      private static void testDecodesByBytes(BaseEncoding encoding, String encoded, byte[] decoded) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 24.7K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/smb2/nego/EncryptionNegotiateContextTest.java

                int encoded = originalContext.encode(buffer, 0);
                assertEquals(2 + (2 * maxCiphers), encoded);
    
                EncryptionNegotiateContext decodedContext = new EncryptionNegotiateContext();
                int decoded = decodedContext.decode(buffer, 0, encoded);
    
                assertEquals(encoded, decoded);
                assertArrayEquals(ciphers, decodedContext.getCiphers());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.5K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/storage/StorageItemTest.java

            final long size = 1024L;
            final ZonedDateTime lastModified = ZonedDateTime.of(2025, 1, 15, 10, 30, 0, 0, ZoneId.systemDefault());
            final String encodedId = "dGVzdC1maWxlLnR4dA==";
    
            final StorageItem item = new StorageItem(name, path, directory, size, lastModified, encodedId);
    
            assertEquals(name, item.getName());
            assertEquals(path, item.getPath());
            assertFalse(item.isDirectory());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 12:58:11 GMT 2026
    - 4.6K bytes
    - Click Count (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/url/-Url.kt

     * transformations:
     *
     *  * Tabs, newlines, form feeds and carriage returns are skipped.
     *
     *  * In queries, ' ' is encoded to '+' and '+' is encoded to "%2B".
     *
     *  * Characters in `encodeSet` are percent-encoded.
     *
     *  * Control characters and non-ASCII characters are percent-encoded.
     *
     *  * All other characters are copied without transformation.
     *
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/util/FacetResponseTest.java

        @Test
        public void test_unicode_base64_encoding() {
            // Test that unicode strings are properly encoded/decoded
            String unicodeString = "日本語テスト";
            String encoded = BaseEncoding.base64().encode(unicodeString.getBytes(StandardCharsets.UTF_8));
            String decoded = new String(BaseEncoding.base64().decode(encoded), StandardCharsets.UTF_8);
    
            assertEquals(unicodeString, decoded);
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 6.7K bytes
    - Click Count (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/FormBody.kt

                encodeSet = FORM_ENCODE_SET,
                // Plus is encoded as `%2B`, space is encoded as plus.
                plusIsSpace = false,
                charset = charset,
              )
            values +=
              value.canonicalizeWithCharset(
                encodeSet = FORM_ENCODE_SET,
                // Plus is encoded as `%2B`, space is encoded as plus.
                plusIsSpace = false,
                charset = charset,
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/core/misc/Base64UtilTest.java

         */
        public void testEncode_SingleByte() throws Exception {
            final byte[] singleByte = new byte[] { 'A' };
            final String encoded = Base64Util.encode(singleByte);
            assertNotNull("Encoded result should not be null", encoded);
            final byte[] decoded = Base64Util.decode(encoded);
            assertEquals("Decoded should have same length", 1, decoded.length);
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Nov 22 11:21:59 GMT 2025
    - 6K bytes
    - Click Count (0)
Back to Top