Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1041 - 1050 of 1,520 for INDEX (0.03 seconds)

  1. src/bytes/example_test.go

    	fmt.Println(bytes.HasSuffix([]byte("Amigo"), []byte("")))
    	// Output:
    	// true
    	// false
    	// false
    	// true
    }
    
    func ExampleIndex() {
    	fmt.Println(bytes.Index([]byte("chicken"), []byte("ken")))
    	fmt.Println(bytes.Index([]byte("chicken"), []byte("dmr")))
    	// Output:
    	// 4
    	// -1
    }
    
    func ExampleIndexByte() {
    	fmt.Println(bytes.IndexByte([]byte("chicken"), byte('k')))
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Mon May 12 16:07:54 GMT 2025
    - 16.5K bytes
    - Click Count (0)
  2. docs/en/docs/contributing.md

    ///
    
    That command also created a dummy file `docs/la/index.md` for the main page, you can start by translating that one.
    
    You can continue with the previous instructions for an "Existing Language" for that process.
    
    You can make the first pull request with those two files, `docs/la/mkdocs.yml` and `docs/la/index.md`. 🎉
    
    #### Preview the result
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Sep 21 11:29:04 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  3. guava/src/com/google/common/base/Joiner.java

          public int size() {
            return rest.length + 2;
          }
    
          @Override
          public @Nullable Object get(int index) {
            switch (index) {
              case 0:
                return first;
              case 1:
                return second;
              default:
                return rest[index - 2];
            }
          }
        };
      }
    
      // cloned from ImmutableCollection
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Apr 14 15:16:19 GMT 2025
    - 21K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb1/com/SmbComTreeDisconnectTest.java

            // When & Then - test with maximum valid index
            assertEquals(0, smbComTreeDisconnect.writeParameterWordsWireFormat(buffer, 99));
            assertEquals(0, smbComTreeDisconnect.writeBytesWireFormat(buffer, 99));
            assertEquals(0, smbComTreeDisconnect.readParameterWordsWireFormat(buffer, 99));
            assertEquals(0, smbComTreeDisconnect.readBytesWireFormat(buffer, 99));
    
            // Test with index beyond buffer size
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.5K bytes
    - Click Count (0)
  5. src/archive/tar/strconv.go

    	n, perr := strconv.ParseInt(nStr, 10, 0) // Intentionally parse as native int
    	if perr != nil || n < 5 || n > int64(len(s)) {
    		return "", "", s, ErrHeader
    	}
    	n -= int64(len(nStr) + 1) // convert from index in s to index in rest
    	if n <= 0 {
    		return "", "", s, ErrHeader
    	}
    
    	// Extract everything between the space and the final newline.
    	rec, nl, rem := rest[:n-1], rest[n-1:n], rest[n:]
    	if nl != "\n" {
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Mon Sep 08 17:08:20 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/suggest/index/writer/SuggestWriterResultTest.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.suggest.index.writer;
    
    import static org.junit.Assert.assertEquals;
    import static org.junit.Assert.assertFalse;
    import static org.junit.Assert.assertNotNull;
    import static org.junit.Assert.assertTrue;
    
    import org.junit.Test;
    
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Thu Nov 13 00:40:54 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/opensearch/user/cbean/bs/BsRoleCB.java

    import org.codelibs.fess.opensearch.user.cbean.cq.bs.BsRoleCQ;
    import org.dbflute.cbean.ConditionQuery;
    import org.opensearch.action.search.SearchRequestBuilder;
    import org.opensearch.index.query.QueryBuilder;
    
    /**
     * @author ESFlute (using FreeGen)
     */
    public class BsRoleCB extends EsAbstractConditionBean {
    
        // ===================================================================================
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  8. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/PluginsMetadataGenerator.java

             * processes one artifact at a time and hence cannot associate the artifacts from the same project to use the
             * same version index. Allowing the caller to pass in metadata from a previous deployment allows to re-establish
             * the association between the artifacts of the same project.
             */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Mar 25 09:45:07 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  9. tests/test_ws_router.py

    from fastapi.testclient import TestClient
    
    router = APIRouter()
    prefix_router = APIRouter()
    native_prefix_route = APIRouter(prefix="/native")
    app = FastAPI()
    
    
    @app.websocket_route("/")
    async def index(websocket: WebSocket):
        await websocket.accept()
        await websocket.send_text("Hello, world!")
        await websocket.close()
    
    
    @router.websocket_route("/router")
    async def routerindex(websocket: WebSocket):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Jun 11 19:08:14 GMT 2023
    - 7.5K bytes
    - Click Count (0)
  10. internal/handlers/proxy.go

    			// Only grab the first (client) address. Note that '192.168.0.1,
    			// 10.1.1.1' is a valid key for X-Forwarded-For where addresses after
    			// the first may represent forwarding proxies earlier in the chain.
    			s := strings.Index(fwd, ", ")
    			if s == -1 {
    				s = len(fwd)
    			}
    			addr = fwd[:s]
    		}
    	}
    
    	if addr == "" {
    		if fwd := r.Header.Get(xRealIP); fwd != "" {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Feb 26 19:25:49 GMT 2025
    - 5.4K bytes
    - Click Count (0)
Back to Top