Search Options

Results per page
Sort
Preferred Languages
Advance

Results 461 - 470 of 635 for encoder (0.11 sec)

  1. android/guava/src/com/google/common/io/Files.java

       * java.nio.file.Files#newBufferedWriter(java.nio.file.Path, Charset,
       * java.nio.file.OpenOption...)}.
       *
       * @param file the file to write to
       * @param charset the charset used to encode the output stream; see {@link StandardCharsets} for
       *     helpful predefined constants
       * @return the buffered writer
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jul 22 19:03:12 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  2. cmd/bucket-replication-handlers.go

    				st.CurrentBandwidthInBytesPerSecond = bw.CurrentBandwidthInBytesPerSecond
    				stats.ReplicationStats.Stats[arn] = st
    			}
    		}
    	}
    
    	if err := enc.Encode(stats.ReplicationStats); err != nil {
    		writeErrorResponseJSON(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    }
    
    // GetBucketReplicationMetricsV2Handler - GET Bucket replication metrics.
    // ----------
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  3. cmd/postpolicyform.go

    				if sset.Contains(kv.Key) {
    					// Reject duplicate conditions or expiration.
    					return nil, fmt.Errorf("input policy has multiple %s, please fix your client code", kv.Key)
    				}
    				sset.Add(kv.Key)
    			}
    			e.Encode(kvs)
    		}
    	}
    	return &buf, d.Err()
    }
    
    // parsePostPolicyForm - Parse JSON policy string into typed PostPolicyForm structure.
    func parsePostPolicyForm(r io.Reader) (PostPolicyForm, error) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  4. istioctl/pkg/admin/istiodconfig.go

    	}
    	return scopeInfos, nil
    }
    
    func (c *ControlzClient) PutScope(scope *ScopeInfo) error {
    	var jsonScopeInfo bytes.Buffer
    	err := json.NewEncoder(&jsonScopeInfo).Encode(scope)
    	if err != nil {
    		return fmt.Errorf("cannot serialize scope %+v", *scope)
    	}
    	req, err := http.NewRequest(http.MethodPut, c.baseURL.String()+"/"+scope.Name, &jsonScopeInfo)
    	if err != nil {
    		return err
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/DocumentHelper.java

                    }
                    return SIMILAR_DOC_HASH_PREFIX + Base64.getUrlEncoder().withoutPadding().encodeToString(baos.toByteArray());
                } catch (final IOException e) {
                    logger.warn("Failed to encode {}", hash, e);
                }
            }
            return hash;
        }
    
        public String appendLineNumber(final String prefix, final String content) {
            if (StringUtil.isBlank(content)) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 12K bytes
    - Viewed (0)
  6. docs/recipes.md

            }
          }
        ```
    
    ### Posting form parameters ([.kt][PostFormKotlin], [.java][PostFormJava])
    
    Use `FormBody.Builder` to build a request body that works like an HTML `<form>` tag. Names and values will be encoded using an HTML-compatible form URL encoding.
    
    === ":material-language-kotlin: Kotlin"
        ```kotlin
          private val client = OkHttpClient()
    
          fun run() {
            val formBody = FormBody.Builder()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Feb 18 08:52:22 UTC 2022
    - 40.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/net/InetAddresses.java

          return "[" + toAddrString(ip) + "]";
        }
        return toAddrString(ip);
      }
    
      /**
       * Returns an InetAddress representing the literal IPv4 or IPv6 host portion of a URL, encoded in
       * the format specified by RFC 3986 section 3.2.2.
       *
       * <p>This method is similar to {@link InetAddresses#forString(String)}, however, it requires that
       * IPv6 addresses are surrounded by square brackets.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java

                    dstIndex += cnBytes.length;
                    dstIndex += pad8(dstIndex);
    
                    SMBUtil.writeInt2(dstIndex - structStart, dst, dataOffsetOffset);
                    int len = createContext.encode(dst, dstIndex);
                    SMBUtil.writeInt4(len, dst, dataLengthOffset);
                    dstIndex += len;
    
                    int pad = pad8(dstIndex);
                    totalCreateContextLength += len + pad;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jun 01 09:52:11 UTC 2019
    - 14.3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/hash/BloomFilterStrategies.java

              data.length(),
              other.data.length());
          for (int i = 0; i < data.length(); i++) {
            putData(i, other.data.get(i));
          }
        }
    
        /**
         * ORs the bits encoded in the {@code i}th {@code long} in the underlying {@link
         * AtomicLongArray} with the given value.
         */
        void putData(int i, long longValue) {
          long ourLongOld;
          long ourLongNew;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 10.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/tests/PACTest.java

    import jcifs.pac.PacLogonInfo;
    import jcifs.pac.kerberos.KerberosEncData;
    import jcifs.pac.kerberos.KerberosPacAuthData;
    import jcifs.pac.kerberos.KerberosToken;
    import jcifs.spnego.NegTokenInit;
    import org.bouncycastle.util.encoders.Hex;
    import org.junit.Assert;
    import org.junit.Test;
    
    import jcifs.pac.PACDecodingException;
    import jcifs.pac.PacMac;
    import jcifs.util.Hexdump;
    
    
    /**
     * @author mbechler
     *
     */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Oct 01 12:01:17 UTC 2023
    - 22.3K bytes
    - Viewed (0)
Back to top