Search Options

Results per page
Sort
Preferred Languages
Advance

Results 341 - 350 of 392 for wrappers (0.12 sec)

  1. misc/cgo/gmp/gmp.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    /*
    An example of wrapping a C library in Go. This is the GNU
    multiprecision library gmp's integer type mpz_t wrapped to look like
    the Go package big's integer type Int.
    
    This is a syntactically valid Go program—it can be parsed with the Go
    parser and processed by godoc—but it is not compiled directly by gc.
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 9.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/MultiChannelManager.java

        }
    
        private SmbTransportImpl createChannelTransport(InetAddress localAddress, InetAddress serverAddress) throws CIFSException {
            try {
                // Create Address wrapper for server address
                jcifs.netbios.UniAddress serverUniAddress = new jcifs.netbios.UniAddress(serverAddress);
    
                // Use default SMB port
                int port = 445;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  3. src/cmd/cgo/ast.go

    					}
    					f.Preamble += fmt.Sprintf("#line %d %q\n", sourceLine(cg), abspath)
    					f.Preamble += commentText(cg) + "\n"
    					f.Preamble += "#line 1 \"cgo-generated-wrapper\"\n"
    				}
    			}
    
    		case *ast.FuncDecl:
    			// Also, reject attempts to declare methods on C.T or *C.T.
    			// (The generated code would otherwise accept this
    			// invalid input; see issue #57926.)
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Oct 14 15:47:06 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/util/QueryStringBuilder.java

         */
        public QueryStringBuilder() {
            // Default constructor
        }
    
        /**
         * Quotes a string value if it contains spaces.
         * Multi-word values are wrapped in double quotes with internal quotes replaced by spaces.
         *
         * @param value the string value to quote
         * @return the quoted string if it contains spaces, otherwise the original value
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/query/BooleanQueryCommandTest.java

            assertTrue(boolResult.hasClauses());
            // FILTER should be ignored (default case in switch)
            assertEquals(1, boolResult.must().size());
        }
    
        // Test execute with MatchAllDocsQuery wrapped in BooleanQuery
        public void test_execute_withMatchAllDocsQuery() {
            BooleanQuery.Builder boolQueryBuilder = new BooleanQuery.Builder();
            MatchAllDocsQuery matchAllQuery = new MatchAllDocsQuery();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  6. cmd/xl-storage-disk-id-check.go

    	}
    	n, err := d.w.Write(p)
    	if err == nil && n == len(p) {
    		d.tracker.logSuccess()
    	}
    	return n, err
    }
    
    // diskHealthReader provides a wrapper that will update disk health on
    // ctx, on every successful read.
    // This should only be used directly at the os/syscall level,
    // otherwise buffered operations may return false health checks.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Apr 25 05:41:04 UTC 2025
    - 34.5K bytes
    - Viewed (0)
  7. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedMap.java

    import java.util.stream.Collector;
    import java.util.stream.Collectors;
    import org.jspecify.annotations.Nullable;
    
    /**
     * GWT emulated version of {@link com.google.common.collect.ImmutableSortedMap}. It's a thin wrapper
     * around a {@link java.util.TreeMap}.
     *
     * @author Hayward Chan
     */
    public final class ImmutableSortedMap<K, V> extends ForwardingImmutableMap<K, V>
        implements SortedMap<K, V> {
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  8. cmd/erasure-metadata.go

    	if fi.Deleted {
    		return fi.ReplicationState.CompositeReplicationStatus()
    	}
    	return replication.StatusType("")
    }
    
    // GetInternalReplicationState is a wrapper method to fetch internal replication state from the map m
    func GetInternalReplicationState(m map[string][]byte) ReplicationState {
    	m1 := make(map[string]string, len(m))
    	for k, v := range m {
    		m1[k] = string(v)
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 21.3K bytes
    - Viewed (0)
  9. internal/lru/lru.go

    func (l *LruList[K, V]) insert(e, at *Entry[K, V]) *Entry[K, V] {
    	e.prev = at
    	e.next = at.next
    	e.prev.next = e
    	e.next.prev = e
    	e.list = l
    	l.len++
    	return e
    }
    
    // insertValue is a convenience wrapper for insert(&Entry{Value: v, ExpiresAt: ExpiresAt}, at).
    func (l *LruList[K, V]) insertValue(k K, v V, expiresAt time.Time, at *Entry[K, V]) *Entry[K, V] {
    	return l.insert(&Entry[K, V]{Value: v, Key: k, ExpiresAt: expiresAt}, at)
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Apr 25 08:22:26 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  10. cmd/erasure-metadata-utils.go

    	errorCounts := make(map[error]int)
    	for _, err := range errs {
    		if IsErrIgnored(err, ignoredErrs...) {
    			continue
    		}
    		// Errors due to context cancellation may be wrapped - group them by context.Canceled.
    		if errors.Is(err, context.Canceled) {
    			errorCounts[context.Canceled]++
    			continue
    		}
    		errorCounts[err]++
    	}
    
    	maxCnt := 0
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 11.7K bytes
    - Viewed (0)
Back to top